()
| 949 | } |
| 950 | |
| 951 | function seqTriple() { |
| 952 | const shellType = randomFastShell(); |
| 953 | const baseSize = shellSizeSelector(); |
| 954 | const smallSize = Math.max(0, baseSize - 1.25); |
| 955 | |
| 956 | const offset = Math.random() * 0.08 - 0.04; |
| 957 | const shell1 = new Shell(shellType(baseSize)); |
| 958 | shell1.launch(0.5 + offset, 0.7); |
| 959 | |
| 960 | const leftDelay = 1000 + Math.random() * 400; |
| 961 | const rightDelay = 1000 + Math.random() * 400; |
| 962 | |
| 963 | setTimeout(() => { |
| 964 | const offset = Math.random() * 0.08 - 0.04; |
| 965 | const shell2 = new Shell(shellType(smallSize)); |
| 966 | shell2.launch(0.2 + offset, 0.1); |
| 967 | }, leftDelay); |
| 968 | |
| 969 | setTimeout(() => { |
| 970 | const offset = Math.random() * 0.08 - 0.04; |
| 971 | const shell3 = new Shell(shellType(smallSize)); |
| 972 | shell3.launch(0.8 + offset, 0.1); |
| 973 | }, rightDelay); |
| 974 | |
| 975 | return 4000; |
| 976 | } |
| 977 | |
| 978 | function seqPyramid() { |
| 979 | const barrageCountHalf = IS_DESKTOP ? 7 : 4; |
no test coverage detected