CuteCumber
Member
- Reaction score
- 4
The skill is about a hero channeling in the middle, calling waves that deal 50 damage in a line at all direction for up to 6 waves. There is movement speed reduction upon casting, but the waves did not came out? Please help me. Thank you. Triggers:
Trigger:
- Tsunami
- Events
- Unit - A unit Begins channeling an ability
- Conditions
- (Ability being cast) Equal to (==) Tsunami
- Actions
- Set TsunamiUnit = (Triggering unit)
- Set TsunamiUnitPoint = (Position of TsunamiUnit)
- Unit Group - Pick every unit in (Units within 500.00 of TsunamiUnitPoint matching ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True) and (((Matching unit) is A structure) Equal to (==) False))) and do (Actions)
- Loop - Actions
- Set TsunamiSlowUnit = (Picked unit)
- Set TsunamiSlowUnitPoint = (Position of TsunamiSlowUnit)
- Unit - Create 1 Dummy for (Owner of (Triggering unit)) at TsunamiSlowUnitPoint facing Default building facing (270.0) degrees
- Unit - Add Slow (Tsunami) to (Last created unit)
- Unit - Set level of Slow (Tsunami) for (Last created unit) to (Level of Tsunami for (Triggering unit))
- Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit)
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Trigger - Turn on Tsunami Effect <gen>
- Wait 3.10 seconds
- Trigger - Turn off Tsunami Effect <gen>
- Custom script: call RemoveLocation (udg_TsunamiPoint)
- Custom script: call RemoveLocation (udg_TsunamiUnitPoint)
- Custom script: call RemoveLocation (udg_TsunamiSlowUnitPoint)
- Set TsunamiSlowUnit = No unit
- Set TsunamiUnit = No unit
- Events
Trigger:
- Tsunami Effect
- Events
- Time - Every 0.50 seconds of game time
- Conditions
- (TsunamiUnit is alive) Equal to (==) True
- (TsunamiUnit has buff Stunned (Pause)) Equal to (==) False
- Actions
- Do Multiple ActionsFor each (Integer A) from 0 to 8, do (Actions)
- Loop - Actions
- Unit - Create 1 Dummy for (Owner of TsunamiUnit) at (TsunamiPoint offset by 50.00 towards ((Real((Integer A))) x 45.00) degrees) facing ((Real((Integer A))) x 45.00) degrees
- Set TsunamiWaveUnitPoint = (Position of (Last created unit))
- Unit - Add Carrion Swarm (Tsunami) to (Last created unit)
- Unit - Set level of Carrion Swarm (Tsunami) for (Last created unit) to (Level of Tsunami for TsunamiUnit)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm TsunamiWaveUnitPoint
- Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
- Loop - Actions
- Custom script: call RemoveLocation (udg_TsunamiWaveUnitPoint)
- Do Multiple ActionsFor each (Integer A) from 0 to 8, do (Actions)
- Events
Trigger:
- Tsunami Stop
- Events
- Unit - A unit Stops casting an ability
- Conditions
- (Ability being cast) Equal to (==) Tsunami
- Actions
- Trigger - Turn off Tsunami Effect <gen>
- Events