State-Conditional Skill Bonus Help?

I've been using the following formula to try to give a 2.5x bonus if state #11 is applied, however, nothing but 0's is coming up whether the state is applied to the enemy or not. Should this not be going in the damage formula box? Do I have the actual formula wrong?

b.state(11) ? 2.5 * (a.atk * 3 - b.def * 2) : a.atk * 3 - b.def * 2

Thanks for your time & help!
Try this.
b.state?(11); 2.5 * (a.atk * 3 - b.def * 2):a.atk * 3 - b.def * 2

The differences there are the position of the ? and the inclusion of a semi-colon after the state id.

EDIT
Oops, just seen that this is MV, not Ace, so I'm not sure if that will work. It might be worth trying anyway.
This should work:

b.isStateAffected(11) ? 2.5 * (a.atk * 3 - b.def * 2) : a.atk * 3 - b.def * 2;
This should work:

b.isStateAffected(11) ? 2.5 * (a.atk * 3 - b.def * 2) : a.atk * 3 - b.def * 2;

That did it. Thank you very much! And to you as well, Kes, for the effort. You guys are awesome, as usual.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/state-conditional-skill-bonus-help.104038/