Hey all just a question regarding states.
In the game I'm making, the party can execute skills in a certain order to provide party-wide buffs.
I've been using states to create these, however in my design, I don't want more than one of these to be able to be active at any given time. Other buffs/debuffs are fine but these bigger party-wide boosts...I'd like them to overwrite one another.
So for example if I cast the attack buff, but then see the boss is charging for a big attack, I would cast the defense buff which ideally would cancel the attack buff. I just haven't been able to figure out a way to do this.
If anyone could point me in the right direction on how to solve this dilemma I'd be thrilled!
In the game I'm making, the party can execute skills in a certain order to provide party-wide buffs.
I've been using states to create these, however in my design, I don't want more than one of these to be able to be active at any given time. Other buffs/debuffs are fine but these bigger party-wide boosts...I'd like them to overwrite one another.
So for example if I cast the attack buff, but then see the boss is charging for a big attack, I would cast the defense buff which ideally would cancel the attack buff. I just haven't been able to figure out a way to do this.
If anyone could point me in the right direction on how to solve this dilemma I'd be thrilled!