- Joined
- Sep 13, 2013
- Messages
- 155
So I created a spell which it should do as the following :
It does 300/370/440/510 damage to the target, (type is magical damage) and the hero itself has an ultimate ability which is based on Metamorphosis (it gets into a form and...) and if you get in the form and you cast this spell, it deals pure damage to the target plus IF your hero kills the targeted hero with this spell, it will heal your hero by the same amount .
The point is how to check after dealing damage that the target is dead or not ? what I did in my trigger is that after dealing damage I checked the life of target unit of ability being cast equal to 0.00, if yes then heal the hero, if not do nothing. but it doesn't work...
It does 300/370/440/510 damage to the target, (type is magical damage) and the hero itself has an ultimate ability which is based on Metamorphosis (it gets into a form and...) and if you get in the form and you cast this spell, it deals pure damage to the target plus IF your hero kills the targeted hero with this spell, it will heal your hero by the same amount .
The point is how to check after dealing damage that the target is dead or not ? what I did in my trigger is that after dealing damage I checked the life of target unit of ability being cast equal to 0.00, if yes then heal the hero, if not do nothing. but it doesn't work...