I'm working on a game that is very state-heavy. In an effort to create a more dynamic combat system, the database is filled with states that apply to the user, target, ect to modify the gameplay of individual classes and boss battles. The problem, however, is Dispel abilities. Because there are so many states in the game, it's become tricky to create Dispel abilities for individual classes because they have to have a list of about 30 or 40 states they can remove.
Is there a way to add types to individual states, like Magic, Poison, Curse, Disease, ect. That way I can simply have the Dispel ability try to remove a given type instead of every state in the game?
Is there a way to add types to individual states, like Magic, Poison, Curse, Disease, ect. That way I can simply have the Dispel ability try to remove a given type instead of every state in the game?