- Joined
- Jun 10, 2013
- Messages
- 472
hey all I need help with the above ability basically the hero with the growth ability will be given a tome of strength every minute which increases its strength by the set value in the OB data the tome also has 100 levels which all works how ever I want to make it so when the growth ability's level is increased to 2 and 3 the strength bonus every minute is increased to 2/3 I've made the other tome items I just don't know how to trigger it to use the level 2 and 3 tomes instead of the level 1 version when growth is upgraded to the respective level, not sure If I explained this well so sorry if I did not
-
Growth Copy
-

Events
-


Time - Every 60.00 seconds of game time
-
-

Conditions
-

Actions
-


Set temp_group = (Units in (Playable map area) matching (((Unit-type of (Matching unit)) Equal to |cff008000Treant Warrior|r) and (((Matching unit) is alive) Equal to True)))
-


Unit Group - Pick every unit in temp_group and do (Actions)
-



Loop - Actions
-




Set ability_level = ((Custom value of (Picked unit)) + 1)
-




Unit - Add Growthstrengthincrease1 to (Picked unit)
-




Unit - Set level of Growthstrengthincrease1 for (Picked unit) to ability_level
-




Unit - Remove Growthstrengthincrease1 from (Picked unit)
-




Unit - Set the custom value of (Picked unit) to ability_level
-
-
-


Custom script: call DestroyGroup(udg_temp_group)
-
-





