- Joined
- May 16, 2009
- Messages
- 11
-
Wrath Scourge
- Events
- Conditions
-
Actions
- Set counter = 0
-
Unit Group - Pick every unit in (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Hero - Disable experience gain for (Picked unit)
- Set code_Unit = (Picked unit)
- Set cv_Ability_AGI[counter] = (Strength of (Picked unit) (Exclude bonuses))
- Set cv_Ability_INT[counter] = (Strength of (Picked unit) (Exclude bonuses))
- Set cv_Ability_STR[counter] = (Strength of (Picked unit) (Exclude bonuses))
- Set counter = (counter + 1)
- Hero - Modify Strength of (Picked unit): Set to 0
- Hero - Modify Agility of (Picked unit): Set to 0
- Hero - Modify Intelligence of (Picked unit): Set to 0
-
Loop - Actions
- Wait 600.00 seconds
-
For each (Integer A) from 0 to counter, do (Actions)
-
Loop - Actions
- Hero - Modify Strength of (Picked unit): Set to cv_Ability_AGI[(Integer A)]
- Hero - Modify Agility of (Picked unit): Set to cv_Ability_STR[(Integer A)]
- Hero - Modify Intelligence of (Picked unit): Set to cv_Ability_INT[(Integer A)]
- Hero - Enable experience gain for (Picked unit)
-
Loop - Actions
- Trigger - Turn off (This trigger)
How do i have it select the unit stored in code_unit??
Last edited: