I am creating a stackable buff where a player purchases a stat point via an ability. It works other than the fact that the button disappears after the first use. The ability is set to buff, with a behavior that adds one stamina upon use.
Anyone know why the button disappears on the first use?
I'm kind of new to the data editor myself but I think your problem is that you should be using an Effect - Instant ability instead of a Behavior ability. Behavior abilities seem to be used for passives or toggles. You don't want a passive or toggle, what you want is for the ability to permanently apply a behavior.
Instead, I would do this:
Stat Buff Behavior
Apply Stat Buff Effect (Apply Behavior), set behavior to Stat Buff Behavior, set target to Caster
Raise Stat Ability (Effect - Instant), set effect to Apply Stat Buff Effect
I am creating a stackable buff where a player purchases a stat point via an ability. It works other than the fact that the button disappears after the first use. The ability is set to buff, with a behavior that adds one stamina upon use.
Anyone know why the button disappears on the first use?
@iHaveReturnd: Go
What kind of ability is it?
@Soma2035: Go
The ability type is behavior, the behavior type is a buff.
@iHaveReturnd: Go
I'm kind of new to the data editor myself but I think your problem is that you should be using an Effect - Instant ability instead of a Behavior ability. Behavior abilities seem to be used for passives or toggles. You don't want a passive or toggle, what you want is for the ability to permanently apply a behavior.
Instead, I would do this:
Stat Buff Behavior Apply Stat Buff Effect (Apply Behavior), set behavior to Stat Buff Behavior, set target to Caster Raise Stat Ability (Effect - Instant), set effect to Apply Stat Buff Effect
@Soma2035: Go
Awesome! That fixed it, thank you so much :)