- Joined
- Jul 24, 2008
- Messages
- 180
I have created an ability to increase mana cap for a hero. There is Energy Pack, the hero ability, and Mana+, the item ability.
-
Events
-
Unit - Unit learns a skill
-
Conditions
-
(Learned Hero Skill) Equal to Energy Pack
-
Actions
-
Unit - Add Mana+ to (Learning Hero)
-
Events
-
Time - Every 0.10 seconds of game time
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (units of type SPELL TESTER and do (Actions)
-
Loop - Actions
-
Unit - Set level of Mana+ for (Picked Unit) to (Level of Energy Pack for (Picked Units))
-
If ((Level of Mana+ for (Picked Unit)) Equal to 5) then do (Trigger - Turn off (This trigger)) else (Do nothing)