Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raidboss: avoid multiple callouts during r2s cone tankbuster (#339)
The cone tankbuster during r2s appears on both tanks. This results in the callout for the tankbuster triggering twice, with an overlapping sound effect and multiple messages on screen. Setting suppressSeconds would resolve the multiple callouts, but prevents correctly calling out "tank cleave on YOU". All of the tank buster cleaves happen simultaneously. Add a collector trigger to collect the targets of the tank buster. Add delaySeconds to the tankbuster trigger to give time for the collector to execute. Replace the check against the target with a check on whether the collected targets includes the active player. This ensures that the correct message is displayed, and prevents the overlapping of simultaneous triggers. I chose not to add a check on the size of the laser collect, as this will at least allow it to make some noise if for some reason the log didn't include all of the expected tank busters. Signed-off-by: Jacob Keller <[email protected]>
- Loading branch information