A forumer once asked for a script (or anything else) that could allow the heroes to lose a state ONLY if it had been predefined by game developer to do that. The default option of relying on the Damage Chance did not satisfy the game's particular needs.
Well, here's a solution that uses a very simple Note Tag to make it happen IF & ONLY IF the Note Tag is present in that State's Note Box.
To make sure that just a FEW states will be removed by physical damage, just leave the following Note in the State Note Box:
Ruby:
<damage deletes state>
复制代码
To keep a State even if it should be removed by walking until a certain Level has been reached, go leave this other Note. Level is Customizable!