- Joined
- Jun 13, 2008
- Messages
- 132
Hi there, I am developing my map and I need to do a trigger to remove the buffs-debuffs of the units (they are actually abilities).
When one hero ability is used I add an invisible ability to it (like devotion aura with negative values hidden in a book), and at the same time, I create a dummy unit with that ability and I add a timer to it, when this dummy unit dies I remove the ability for all the units that have that ability, so, I remove the buff-debuff, and, what I need is, a better way to do this, hope you understand what I need. Thanks in advance.
When one hero ability is used I add an invisible ability to it (like devotion aura with negative values hidden in a book), and at the same time, I create a dummy unit with that ability and I add a timer to it, when this dummy unit dies I remove the ability for all the units that have that ability, so, I remove the buff-debuff, and, what I need is, a better way to do this, hope you understand what I need. Thanks in advance.