I have a quest where the player needs to kill 10 slimes and 5 rats. So I set up two variables one for slimes and one for rats. I've seen another thread where they said you can't make it dependent on if the enemy dies, so I put in the troop tab to increase the variable by a specific number at the start of the battle. The problem is that the variables don't seem to be changing. I use a yanfly plugin to debug, so I can see that the variables aren't changing.