I'm using the YEP_BuffStateCore, and I set a skill to add state(11) to the enemy, and when the Counters of state(11) is higher than enemy's def, the enemy will be defeat.
Let's say the player's def = 4. So when the player is affected by the state, and state's counter > 4, the player is dead.
The PROBLEM is:
After an enemy uses the skill to make the player dead. The state's counter is not clear.
When the player meets a new enemy, and the enemy just cast the skill ONCE. the player will die again.
So how to clear the StateCounter when the battle is end, or when the enemy is dead?
Below is the state's notetag:
Let's say the player's def = 4. So when the player is affected by the state, and state's counter > 4, the player is dead.
The PROBLEM is:
After an enemy uses the skill to make the player dead. The state's counter is not clear.
When the player meets a new enemy, and the enemy just cast the skill ONCE. the player will die again.
So how to clear the StateCounter when the battle is end, or when the enemy is dead?
Below is the state's notetag: