Energy Feast:
So, I want to make an ability (GUI) where, when the hero insta-casts the ability:
1. All enemy units within 700 range of the hero lose 25 mana (25 when at ability level is 1; more at levels 2 and 3)
AND
2. At the same time, the hero gains life equal to (all of the mana lost this way / [divided by] 3) (and divided by less as the hero increases level of the ability).
It'd be even better if both the subtraction of mana from enemy units and the addition of life to the hero happened over a few seconds (a drain).
Anyone know how to make this? I'm getting nowhere. Thx
So, I want to make an ability (GUI) where, when the hero insta-casts the ability:
1. All enemy units within 700 range of the hero lose 25 mana (25 when at ability level is 1; more at levels 2 and 3)
AND
2. At the same time, the hero gains life equal to (all of the mana lost this way / [divided by] 3) (and divided by less as the hero increases level of the ability).
It'd be even better if both the subtraction of mana from enemy units and the addition of life to the hero happened over a few seconds (a drain).
Anyone know how to make this? I'm getting nowhere. Thx