Hi All,
Thanks in advance for the help.
I made a Bless spell which gives different benefits depending on which hero you cast it on.
I gave each hero a Disabled Spellbook with the appropriate auras inside of it. Each aura has Techtree requirement of a different unit, which is triggered to switch to the appropriate player when Bless is cast.
The problem is this: everything works, but when the hero gets his aura, he gets the correct aura and then about a second later he gets the same benefit again. +10 damage becomes +20. +3 armor becomes +6.
When the spell ends, and the techtree required unit is given back to neutral passive, the bonus drops down to the correct amount (+10/+3) and then a second later goes back to 0.
I could just have all the auras give half the intended amount to compensate, but I'd like to know what is going on.
Any ideas?
Thanks!
EDIT: by the way, before I used auras, I used damage item abilities like orb of fire and armor bonus. The same bug happened.
Thanks in advance for the help.
I made a Bless spell which gives different benefits depending on which hero you cast it on.
I gave each hero a Disabled Spellbook with the appropriate auras inside of it. Each aura has Techtree requirement of a different unit, which is triggered to switch to the appropriate player when Bless is cast.
The problem is this: everything works, but when the hero gets his aura, he gets the correct aura and then about a second later he gets the same benefit again. +10 damage becomes +20. +3 armor becomes +6.
When the spell ends, and the techtree required unit is given back to neutral passive, the bonus drops down to the correct amount (+10/+3) and then a second later goes back to 0.
I could just have all the auras give half the intended amount to compensate, but I'd like to know what is going on.
Any ideas?
Thanks!
EDIT: by the way, before I used auras, I used damage item abilities like orb of fire and armor bonus. The same bug happened.