Is it possible to add or subtract from a variable through script calling? I am using Yanfly's Buff and States Core plugin to try and count how many characters in a battle have the state isDead. I found the script call $gameVariables.setValue(var, value); but it only seems to set the vaariable to a specific number or another variable which if I use another variable then I end up in an infinite loop causing my game to freeze.

Long story short is there a way to add to a variable through script call instead of just setting it?
Yanfly's Buff and States Core: http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/

Long story short is there a way to add to a variable through script call instead of just setting it?
Yanfly's Buff and States Core: http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/