Well, is he in the map by default? i mean, is he created by triggers, or have you put him out on the terrain i the WE ?? For this to work, you'll have to put him out by triggers
Look, my unit is based off Spell Breaker.
Heres the trigger for the mana thing.
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Fire Magic Panda Warrior
((Owner of (Attacked unit)) is an enemy of (Owner of (Attacking unit))) Equal to True
Actions
Unit - Set mana of (Attacking unit) to ((Mana of (Attacking unit)) + 25.00)
Also, he is not initially on the game, he is a trained unit.
event - a unit attacked is an event that will be trigger whenever a unit begins its attack animation.
to make it simple: look at phantom lancer from dota
his passive skill is 1 of the easy abuse skill,
for example,
if both unit is in the close range, continues fast right clicking will trigger the event even if the unit DIDNT truthly hit the target.
unlike phantom lancer which the image is created based on percentage,
yours however, to reach full mana of 400 only requires 10 fast clicks that can be archieve within 2 seconds. so every time the skill wear off, within 2 sec, it can be use again,
if no one knows this than obviously it wont hurt, but for those who know how to abuse, this may cause total imbalance.
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.