I am looking for a way to store the character targeted by a skill in a switch or variable. Then when conditions are met via a common event it could turn the switch off and remove a state from a character that was targeted.
Like having a state that adds a debuff and calls a common event that adds Disease counters = to the enemies level + difficulty rating that are stored in to variable ; Disease Power.
Then have the priest cast cleanse that removes X counter = to priests level and mdf which are stored in a variable. then if the disease counters are reduced to 0 or lower it will remove the state from the player that was cleansed.
When trying to event this in the change actor state it only lets me choose entire party or a specific actor. If I could have a variable or something that i could reference to accurately have it affect the target of the spell and store the variable under that actor only.
Like having a state that adds a debuff and calls a common event that adds Disease counters = to the enemies level + difficulty rating that are stored in to variable ; Disease Power.
Then have the priest cast cleanse that removes X counter = to priests level and mdf which are stored in a variable. then if the disease counters are reduced to 0 or lower it will remove the state from the player that was cleansed.
When trying to event this in the change actor state it only lets me choose entire party or a specific actor. If I could have a variable or something that i could reference to accurately have it affect the target of the spell and store the variable under that actor only.