GFreak45
I didnt slap you, i high 5'd your face.
- Reaction score
- 130
I have a passive aura that applies a stacking buff to nearby units every 2 seconds, but i want to remove these stacks when the unit takes damage, therefore i created a damage response added onto the buff that removes that buff via a behavior removal effect, however, it removes the original passive as well. The behavior removal effect is set to remove the buff x1, so if the unit has 5 stacks, this effect should fire 5 times, and all of these buffs are removed. However, the original buff is removed as well, the one providing the aura. Because of this i wanted to see if it would be due to the targeting? i have the effect removing the buff behavior set to target the source, because when it is set to caster it appears to remove the buff from the original casting unit, but when i set it to source it removes the buff from the caster if it is hit.
This is how it is structured at the moment:
this works but i wanted to see if there is an explanation for why the original buff is removed along with the applied buff, but if none is available i will continue to reapply upon removal.
This is how it is structured at the moment:
Trigger:
- Behavior based ability
- Main behavior, giving the aura
- Final Effect apply behavior
- Validator: Unit health > 0
- reapply Passive main behavior //note the behavior is reapplied
- Search effect for nearby allied units
- Apply Buff effect
- Buff behavior
- Damage response as defender when damage is handled
- Remove Behavior effect
- Remove 1x buff behavior
- Remove Behavior effect
- Damage response as defender when damage is handled
- Buff behavior
- Apply Buff effect
- Final Effect apply behavior
- Main behavior, giving the aura
this works but i wanted to see if there is an explanation for why the original buff is removed along with the applied buff, but if none is available i will continue to reapply upon removal.