Tottle is your last pet alive (dunno if it matters how many pets the opponent has alive but I think not)
Tottle must have [ability]Shell Rush[/ability] as his second move.
Now you use Shell Rush and get kicked out of the game with
Code: Select all
Message: [string "Humanoid - Whirlwind"]:34: attempt to index local 'target' (a nil value)
Time: 02/17/18 18:55:23
Count: 1
Stack: [string "Humanoid - Whirlwind"]:34: attempt to index local 'target' (a nil value)
[C]: ?
[string "Humanoid - Whirlwind"]:34: in function `Whirlwind'
[string "Humanoid - Whirlwind"]:117: in function <[string "Humanoid - Whirlwind"]:1>
(tail call): ?
[string "return function(...)..."]:5: in function `scriptFunction'
[string "Core - Handle Turn"]:22: in function `Dispatcher_HandleSpellVisualPackage'
[string "Core - Handle Turn"]:6: in function `Dispatcher_HandleTurn'
[string "PetBattle - 4. Playback Turn"]:13: in function `PlaybackAllTurns'
[string "PetBattle - 2. Pre-Playback Processing"]:207: in function `ProcessAllRoundResults'
[string "PetBattle - 1. Handle Event"]:84: in function `ProcessEvent'
[string "PetBattle - 0. Init and Main Loop"]:94: in main chunk
Locals:
("Deals xyz Aquatic damage to the enemy team and swaps the user with your highest health pet.")
BUT there are no pets to be swept in so the game "crashes".
Anyone can reproduce that?
PS: the same happens with Haunt and Lauch Rocket when the haunt goes first.