MV YEP_CriticalControl

Hi, I'm trying to make it so that PHYSICAL attacks utilize formula A while MAGICAL attacks utilize formula B. I simply need something to go in the [???] in the screenshot below. Maybe Game_Action perhaps? Though I'm not really sure...

Formula A
value *= 1.5 + (user.atk / 100) + bonus

Formula B
value *= 2.0 + bonus

1656170431359.png


EDIT: Nvm, solved! The solution was simply this.isPhysical() lol.
guess you beat me to it, i wanted to say 'this' too

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/yep_criticalcontrol.148877/