Long story short: "if(b.isStateAffected(4)){$gameVariables.setValue(27, 200);}(a.atk * 4 - b.def * 2 + v[27])"
This doesn't work because of the last part "+ v[27]". I do have no idea why. That the correct way to write variables in battle formulas right? I haven't found much examples but I see it in every explanation, so why?!?!?
This doesn't work because of the last part "+ v[27]". I do have no idea why. That the correct way to write variables in battle formulas right? I haven't found much examples but I see it in every explanation, so why?!?!?