You could trigger it, unless you're the type of purist who hates using triggers ever.
Say Buff lasts 30 seconds. Instead of making the behavior last 30 seconds in the modifications + in data, make it set a Real to 30 which, through triggers, is decreased by 1 every second. (In terms of data, make the behavior last forever.)
Then make a trigger that when Real = 0, remove behavior.
Then make another trigger that when Behavior changes (increases), increase Real by 30.
How about a behavior with no stacks (limit=1) and the "extends duration" flag set to true, this of course would only works with behaviors that don't need to be increased in power with each stack.
See the Refresh Stacks and Extend flags in Buff Flags
This is what I suggested to him in Genesis chat. After seeing all of the comments on here, I thought I was missing something. Glad to see I am not alone.
See the Refresh Stacks and Extend flags in Buff Flags
i got extend and refresh stacks flags on, but its not increasing duration time from each stack :/ and i cant use 1 stack one because each stack of my behavior decreases attack speed, movement speed and doing periodic damage effect from each stack. Well mixing trigger and data is not working for me asswell because I'm using visuals for debuff duration, its like indicator igame, and to change duration thru triggers i have to set maximum value in data, and when i decrease duration value thru triggers my visuals looks like half filled.
Title says what I'm looking for, i haven't found such option in modification, how it can be done?
You could trigger it, unless you're the type of purist who hates using triggers ever.
Say Buff lasts 30 seconds. Instead of making the behavior last 30 seconds in the modifications + in data, make it set a Real to 30 which, through triggers, is decreased by 1 every second. (In terms of data, make the behavior last forever.)
Then make a trigger that when Real = 0, remove behavior.
Then make another trigger that when Behavior changes (increases), increase Real by 30.
Done!
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go
Data/Trigger hybrids are pretty fun, though sometimes I feel dirty using them o:
How about a behavior with no stacks (limit=1) and the "extends duration" flag set to true, this of course would only works with behaviors that don't need to be increased in power with each stack.
See the Refresh Stacks and Extend flags in Buff Flags
This is what I suggested to him in Genesis chat. After seeing all of the comments on here, I thought I was missing something. Glad to see I am not alone.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
i got extend and refresh stacks flags on, but its not increasing duration time from each stack :/ and i cant use 1 stack one because each stack of my behavior decreases attack speed, movement speed and doing periodic damage effect from each stack. Well mixing trigger and data is not working for me asswell because I'm using visuals for debuff duration, its like indicator igame, and to change duration thru triggers i have to set maximum value in data, and when i decrease duration value thru triggers my visuals looks like half filled.
Heres my best shot, trigger way
but my ui indicator looks bad because it changes remaining duration, not maximum duration