Yes, I am making a Dota's Blademail. What it does in the game is
http://www.playdota.com/items
The Return Damage is an active skill, and the Returned Damage works on Spell
I was thinking of using a skill that gives the Blademail Buff to the Caster
and use a Damage Detection system to Detect any damage deal to the unit with the Blademail buff, and Return that Damage back to the person that deal the damage to the unit with buff
Now, I can trigger all this
...but with one problem, if a unit were to Activate a blademail, and the Attacker also activate a blademail, both unit will have the blademail buff and the damage would be return until both dies.
Can somebody tell me how to prevent this from happening?
Damage Return
Returns any damage you take (after reductions) to the unit that dealt the damage (you still take the damage as well)
Damage is returned as pure damage
Lasts 4 seconds, costs 25 mana, and has a 22 second cooldown
Does not return damage that was caused by another Blademail
http://www.playdota.com/items
The Return Damage is an active skill, and the Returned Damage works on Spell
I was thinking of using a skill that gives the Blademail Buff to the Caster
and use a Damage Detection system to Detect any damage deal to the unit with the Blademail buff, and Return that Damage back to the person that deal the damage to the unit with buff
Now, I can trigger all this
...but with one problem, if a unit were to Activate a blademail, and the Attacker also activate a blademail, both unit will have the blademail buff and the damage would be return until both dies.
Can somebody tell me how to prevent this from happening?