nabbig2
New Member
- Reaction score
- 43
I have this move that basically casts Avatar, and it usually works fine. However, when the hero casts the move on himself, the cooldown is completely ignored and set back to 0. I have 1 trigger for each level, just with increasing the duration.
Code:
shamanistic rage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Shamanistic Rage
(Level of Shamanistic Rage for (Casting unit)) Equal to 1
Actions
Set avatartarget = (Target unit of ability being cast)
Unit - Add Avatar 2 to avatartarget
Unit - Set level of Avatar 2 for avatartarget to (Level of Shamanistic Rage for (Casting unit))
Unit - Order avatartarget to Human Mountain King - Activate Avatar
Unit - Pause (Casting unit)
Unit - Unpause (Casting unit)
Wait 6.00 game-time seconds
Unit - Remove Avatar 2 from avatartarget