^Title
-
Hail of arrows
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Hail of Arrows
-
Actions
- Unit - Create 1 Dummy Rain of arrows for Player 1 (Red) at (Target point of ability being cast) facing Default building facing degrees
- Set HailOfArrows = (Units within 300.00 of (Position of (Last created unit)) matching ((((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False) and (((Matching unit) is alive) Equal to True)))
-
Unit Group - Pick every unit in HailOfArrows and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ranger has buff Focus Max ) Equal to True
- (Level of Hail of Arrows for (Triggering unit)) Equal to 1
- Then - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ranger has buff Focus Max ) Equal to True
- (Level of Hail of Arrows for (Triggering unit)) Equal to 2
- Then - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ranger has buff Focus Max ) Equal to True
- (Level of Hail of Arrows for (Triggering unit)) Equal to 3
- Then - Actions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Ranger has buff Focus Max ) Equal to True
- (Level of Hail of Arrows for (Triggering unit)) Equal to 4
-
Then - Actions
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\Starfall\StarfallTarget.mdl
- Wait 3.00 seconds
- Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\FrostArmor\FrostArmorDamage.mdl
- Unit - Cause (Triggering unit) to damage (Picked unit), dealing 9999999.00 damage of attack type Spells and damage type Normal
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Unit - Remove (Last created unit) from the game
- Custom script: call DestroyGroup(udg_HailOfArrows)
-
Events
- [trigger]