I have a speed upgrade tower in my map with 3 different levels, 25% 50% and 100%.
several towers at the same level don't stack but when i have all 3 next to another i have all 3 auras active.
what do i have to change to fix this problem, so that only the highest buff applies?
One possibility is to make all three speed buffs use the same behavior, and just make the behavior stackable. Each tower then applies to correct number of stacks to a unit, but you can set it up so that the behavior can't be stacked by different sources. I'm not completely sure it will work, but it might.
I guess you could also make the 100%-behavior periodically remove the 50%- and 25%-behaviors.
Or you can add validators that add the 25%-behavior only when there's no 50%- or 100%-behavior on the unit.
I can't sample it though, as I'm not very knowledgable with the data editor yet.
I found a way around.
the higher level towers include the lower buffs. so i had just to adjust the "strength" of the higher buffs. fyi the buffs are additive, not multiplicative
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a speed upgrade tower in my map with 3 different levels, 25% 50% and 100%. several towers at the same level don't stack but when i have all 3 next to another i have all 3 auras active. what do i have to change to fix this problem, so that only the highest buff applies?
@Fropper: Go
One possibility is to make all three speed buffs use the same behavior, and just make the behavior stackable. Each tower then applies to correct number of stacks to a unit, but you can set it up so that the behavior can't be stacked by different sources. I'm not completely sure it will work, but it might.
I guess you could also make the 100%-behavior periodically remove the 50%- and 25%-behaviors.
Or you can add validators that add the 25%-behavior only when there's no 50%- or 100%-behavior on the unit.
I can't sample it though, as I'm not very knowledgable with the data editor yet.
I found a way around. the higher level towers include the lower buffs. so i had just to adjust the "strength" of the higher buffs. fyi the buffs are additive, not multiplicative