I'm trying to use an ability that can toggle on and off, although i've heard you can do the same thing with instant - effect and with requirements, I thought i would do it using ability behavior. Not sure where I'm failing, but whenever I press one button to toggle off, it disappears and the other button to toggle on doesn't appears. Also, when I toggle the off button, the behavior should switch to another one. Hope this helps for anyone willing to help me with this problem.
Ability: Behavior with the Toggle flag enabled can only control a single buff. Press one button, buff is applied, press the other, it's removed. Buttons automatically toggle even if the buff is applied through outside sources.
Keeping that setup you'd need to apply the second buff via Effect: Final on the toggled one, with a Remove validator that checks for NOT having the first buff (if this returns FALSE, the second buff is removed)
Probably easier in that case to just make two Effect-Instant each applying one buff and removing the other.
I'm trying to use an ability that can toggle on and off, although i've heard you can do the same thing with instant - effect and with requirements, I thought i would do it using ability behavior. Not sure where I'm failing, but whenever I press one button to toggle off, it disappears and the other button to toggle on doesn't appears. Also, when I toggle the off button, the behavior should switch to another one. Hope this helps for anyone willing to help me with this problem.
look at how the ghost has its stealth system
Ability: Behavior with the Toggle flag enabled can only control a single buff. Press one button, buff is applied, press the other, it's removed. Buttons automatically toggle even if the buff is applied through outside sources.
Keeping that setup you'd need to apply the second buff via Effect: Final on the toggled one, with a Remove validator that checks for NOT having the first buff (if this returns FALSE, the second buff is removed)
Probably easier in that case to just make two Effect-Instant each applying one buff and removing the other.
Uncheck Disable while Dead, and the Buff will Play Forever even when Dead, once toggled on. :)
@joemart06: Go
Put marks/checks on behavior ability stats flag field to Toogle, Transient. Set the toggle off and toggle on icons.