Why is it deactivating when I unpause my hero?
I have another spell for my hero that involves pausing but it does not deactivate immolation.
Here's the spell that deactivates immo:
I have another spell for my hero that involves pausing but it does not deactivate immolation.
Here's the spell that deactivates immo:
Code:
Cast Goukakyuu
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Katon Goukakyuu no Jutsu
Actions
Unit Group - Remove all units from GoukakyuuVictim
Set GoukakyuuCaster = (Triggering unit)
Set TempPoint = (Position of (Triggering unit))
Set TempPoint2 = (Target point of ability being cast)
Unit - Pause (Triggering unit)
Unit - Make (Triggering unit) Invulnerable
Custom script: call SetUnitAnimationByIndex(GetTriggerUnit(),9)
Wait 1.00 seconds
Animation - Play (Triggering unit)'s stand animation
Set GoukakyuuPoint = (TempPoint offset by 100.00 towards (Angle from TempPoint to TempPoint2) degrees)
Unit - Create 1 Dummy Unit (Goukakyuu) for (Owner of (Triggering unit)) at GoukakyuuPoint facing Default building facing degrees
Set GoukakyuuDummy = (Last created unit)
Unit - Turn collision for (Last created unit) Off
Unit - Move (Last created unit) instantly to GoukakyuuPoint
Custom script: call RemoveLocation(udg_GoukakyuuPoint)
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
Set GoukakyuuPoint = (TempPoint2 offset by 1000.00 towards (Angle from TempPoint to TempPoint2) degrees)
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: call RemoveLocation(udg_TempPoint2)
Unit - Unpause GoukakyuuCaster
Unit - Make GoukakyuuCaster Vulnerable
Trigger - Turn on Goukakyuu ON <gen>
Wait 3.00 seconds
Trigger - Turn off Goukakyuu ON <gen>