i make an ability that suppose to completely restore target unit's hp and mana, clear all negative buff, and reset target unit's ability cooldown, base on purge (but has no effect at all, and the target has changed), with this trigger
(let me try the code function)
but it won't work, i tried once base from slam ability (no effect) and change all (ability being cast) to (casting unit), and it worked, but i want this skill to be able to casted to ally unit
can anyone help me?? pleaseee
(let me try the code function)
Code:
Divine Purification
event
a unit finishes casting a spell
condition
ability being cast equal to Divine Purification
action
unit - set target unit of ability being cast hit point to 100.00%
unit - set target unit of ability being cast mana to 100.00%
unit - reset ability cooldown for target unit of ability being cast
unit - remove negative buff from target unit of ability being cast
but it won't work, i tried once base from slam ability (no effect) and change all (ability being cast) to (casting unit), and it worked, but i want this skill to be able to casted to ally unit
can anyone help me?? pleaseee