- Joined
- Dec 19, 2011
- Messages
- 29
Hello there,
I made a trigger which would increase life regeneration for my enemy creeps by 0.3% per sec
Is it better to keep it that way or to do this
I made a trigger which would increase life regeneration for my enemy creeps by 0.3% per sec
-
Life Aura Team 1
-
Events
-
Conditions
-
Actions
-
Set Temp_Group_Team1 = (Units in (Playable map area) matching ((Owner of (Matching unit)) Equal to Player 11 (Dark Green)))
-
Unit Group - Pick every unit in Temp_Group_Team1 and do (Actions)
-
Loop - Actions
-
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Max life of (Picked unit)) x (0.1 x 0.03)))
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group_Team1)
-
Wait 1.00 seconds
-
Trigger - Run (This trigger) (checking conditions)
-
-
Is it better to keep it that way or to do this
-
Life Aura Team 1
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Set Temp_Group_Team1 = (Units in (Playable map area) matching ((Owner of (Matching unit)) Equal to Player 11 (Dark Green)))
-
Unit Group - Pick every unit in Temp_Group_Team1 and do (Actions)
-
Loop - Actions
-
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) + ((Max life of (Picked unit)) x (0.1 x 0.03)))
-
-
-
Custom script: call DestroyGroup (udg_Temp_Group_Team1)
-
-