- Joined
- Nov 20, 2016
- Messages
- 75
I'm trying to make an ability that works the following way:
Heroe targets an enemy unit
Enemy unit gains ability based on disease cloud, that affects irself and other nearby units.
Everything is fine up to this point... but the damage dealt is multiplying itself for no reason. I set the damage to 2 per second, and that's what it does... but then it starts to stack onto itself, it does 2, 4, 6, 8 etc. (up to 30 or 40 before the hp emptied and the unit remained at 2hp)
The trigger has nothing to do with the damage itself, it only adds the "Disease Cloud" ability. I only changed the damage, duration, and allowed targets in the object editor. As far as I know the default ability does not stack like this. Anybody encountered this problem before? It's probably something really dumb, but I can't think of any way in which I could've broken the ability.
EDIT: Apparently it damages just by standing next to the source but that still doesn't add up to infinity, does it?
EDIT2: I've been googling a bit more and It appears to stack when you use a custom buff. That is kinda weird. I'll leave the topic up in case there's a solution for using a custom buff.
Heroe targets an enemy unit
Enemy unit gains ability based on disease cloud, that affects irself and other nearby units.
Everything is fine up to this point... but the damage dealt is multiplying itself for no reason. I set the damage to 2 per second, and that's what it does... but then it starts to stack onto itself, it does 2, 4, 6, 8 etc. (up to 30 or 40 before the hp emptied and the unit remained at 2hp)
The trigger has nothing to do with the damage itself, it only adds the "Disease Cloud" ability. I only changed the damage, duration, and allowed targets in the object editor. As far as I know the default ability does not stack like this. Anybody encountered this problem before? It's probably something really dumb, but I can't think of any way in which I could've broken the ability.
EDIT: Apparently it damages just by standing next to the source but that still doesn't add up to infinity, does it?
EDIT2: I've been googling a bit more and It appears to stack when you use a custom buff. That is kinda weird. I'll leave the topic up in case there's a solution for using a custom buff.
Last edited: