[Spell] Need help making a spell

Status
Not open for further replies.
Level 12
Joined
Jun 27, 2010
Messages
638
Hey guys, I was wondering if anyone can help me make a passive spell for a hero I'm making for a map. In short, the hero has 100 mana, and his abilities use 25, 50 and 75 mana, respectively. He won't have mana regen, so that's where this spell comes in. Basically, I want to make a spell which makes him gain 5 mana for every basic attack he makes, and 10 mana for each attack taken.

Could anyone help me accomplish this? Thanks a bunch :cute:
 
You have 2 options really.

You can use the event "Unit is attacked" But this can abused because it triggers at the beginning of the attack rather than when it finishes/does damage

Your better choice is to use a DDS

I recommend https://www.hiveworkshop.com/forums...1-2-0-1-a-231846/?prev=search=DDS&d=list&r=20
this one.

You would just need to check when the damage source is your unit then add+5 to current mana, or when he is the damage receiver add +10 to current mana.
 
Status
Not open for further replies.
Back
Top