junicobakura
Member
- Reaction score
- 3
If you may... Please check if there are leaks in my trigger
Trigger:
- Getsuga Tenshou
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Getsuga Tenshou
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) has buff Tensa Zangetsu ) Equal to False
- Then - Actions
- Set TenshouCastLoc = (Position of (Triggering unit))
- Set TenshouTargLoc = (Target point of ability being cast)
- Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TenshouCastLoc facing TenshouTargLoc
- Unit - Add Getsuga Tenshou (Normal) to (Last created unit)
- Unit - Set level of Getsuga Tenshou (Normal) for (Last created unit) to (Level of Getsuga Tenshou for (Triggering unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TenshouTargLoc
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) has buff Hollowfication ) Equal to False
- Then - Actions
- Set TenshouCastLoc = (Position of (Triggering unit))
- Set TenshouTargLoc = (Target point of ability being cast)
- Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TenshouCastLoc facing TenshouTargLoc
- Unit - Add Getsuga Tenshou (Bankai) to (Last created unit)
- Unit - Set level of Getsuga Tenshou (Bankai) for (Last created unit) to (Level of Getsuga Tenshou for (Triggering unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TenshouTargLoc
- Else - Actions
- Set TenshouCastLoc = (Position of (Triggering unit))
- Set TenshouTargLoc = (Target point of ability being cast)
- Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TenshouCastLoc facing TenshouTargLoc
- Unit - Add Getsuga Tenshou (Bankai) to (Last created unit)
- Unit - Set level of Getsuga Tenshou (Bankai) for (Last created unit) to (Level of Getsuga Tenshou for (Triggering unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TenshouTargLoc
- Unit - Create 1 Dummy Caster for (Owner of (Triggering unit)) at TenshouCastLoc facing TenshouTargLoc
- Unit - Add Getsuga Tenshou (Hollow Bonus) to (Last created unit)
- Unit - Set level of Getsuga Tenshou (Hollow Bonus) for (Last created unit) to (Level of Getsuga Tenshou for (Triggering unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave TenshouTargLoc
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Custom script: call RemoveLocation(udg_TenshouCastLoc)
- Custom script: call RemoveLocation(udg_TenshouTargLoc)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events