- Joined
- Sep 14, 2009
- Messages
- 284
Kind of an long title right? Anyways, in my map I have a custom floating damage text system that displays physical and magic damage and healing.
I use a custom stat called Spell Vamp that works like Life Steal but for magic damage.
Everything works correctly, but I want to improve something.
When AoE spells does damage, the source gets healed for each unit hit, resulting in an amount of floating texts equal to the number of units hit.
I want it so that even if the AoE spell hits numerous units, the Spell Vamp amount displayed will only be displayed as a single floating text the dispays the sum of all units hit.
I use various boolean flags like "AbilityMagic", "AbilityAoE" etc, so you should get a picture of how it works.
Anyone got any ideas?
I use a custom stat called Spell Vamp that works like Life Steal but for magic damage.
Everything works correctly, but I want to improve something.
When AoE spells does damage, the source gets healed for each unit hit, resulting in an amount of floating texts equal to the number of units hit.
I want it so that even if the AoE spell hits numerous units, the Spell Vamp amount displayed will only be displayed as a single floating text the dispays the sum of all units hit.
I use various boolean flags like "AbilityMagic", "AbilityAoE" etc, so you should get a picture of how it works.
Anyone got any ideas?