- Joined
- Feb 1, 2009
- Messages
- 111
Trigger 1:
-
Heroic Slam Initialize
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to (==) Heroic Slam
-
Actions
- Unit Group - Remove all units from HeroicSlam_EnemyGroup[(Player number of (Owner of (Triggering unit)))]
- Set HeroicSlam_Loc[(Player number of (Owner of (Triggering unit)))] = (Position of (Triggering unit))
- Set HeroicSlam_Damage[(Player number of (Owner of (Triggering unit)))] = (2.00 + (0.10 x (Real((Agility of (Triggering unit) (Include bonuses))))))
- Set HeroicSlam_EnemyGroup[(Player number of (Owner of (Triggering unit)))] = (Units within 400.00 of HeroicSlam_Loc[(Player number of (Owner of (Triggering unit)))] matching ((((Matching unit) is alive) Equal to (==) True) and (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to (==) True)))
- Custom script: call RemoveLocation (udg_HeroicSlam_Loc[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
- Trigger - Turn on Heroic Slam Damage <gen>
-
Events
-
Heroic Slam Damage
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in HeroicSlam_EnemyGroup[1] and do (Actions)
-
Loop - Actions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Heroic Slam ) Equal to (==) True
-
Then - Actions
- Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - HeroicSlam_Damage[1])
-
Else - Actions
- Custom script: call DestroyGroup(udg_HeroicSlam_EnemyGroup[1])
- Trigger - Turn on (This trigger)
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in HeroicSlam_EnemyGroup[1] and do (Actions)
-
Events