Yep! I always playtest from a fresh, brand new save file. Honestly, I am at loss. I can only imagine some plugin is interfering somehow.
Here is a little recording I just made. In turn zero, the enemy uses the skill that applies the 'counter' STATE (the one with the code). You can see the STATE is applied because of the pink icon in the STATE icon column, to the left of the enemy. Then, the actor attacks, and deals 8 damage. If my understanding is correct, the STATE should store the 8 as the value of variable 501, right? But, in the next turn, the enemy uses its attack (the formula for the enemy attack is v[501]), and it does no damage. Then, the message shows the value of the variable, which is still 0.
