I'm looking to create a set of skills that add states(buffs) for a character in my game, but I don't want these states to be able to be active together.
Example: Adding a fire buff state to Actor 1 should prevent them from being able to add a water buff state.
Ideally, you would have to remove the first buff before adding the second using a separate skill. These are all based on elements, five in total, with the elements having different levels.
Example: Fire buff 1 - +25% atk, Fire buff 2 +30% atk
Earth buff 1 - +25% def, Fire buff 2 +30% def
The problem I'm having is figure out how to get the game to tell what state/buff the actor already has on, if any, and either prevent them from adding another or add it if they have none. I'm not sure how best to do this short of making separate common events for all 15 of the planed states. Any help or guidance would be much appreciated.
Example: Adding a fire buff state to Actor 1 should prevent them from being able to add a water buff state.
Ideally, you would have to remove the first buff before adding the second using a separate skill. These are all based on elements, five in total, with the elements having different levels.
Example: Fire buff 1 - +25% atk, Fire buff 2 +30% atk
Earth buff 1 - +25% def, Fire buff 2 +30% def
The problem I'm having is figure out how to get the game to tell what state/buff the actor already has on, if any, and either prevent them from adding another or add it if they have none. I'm not sure how best to do this short of making separate common events for all 15 of the planed states. Any help or guidance would be much appreciated.

