I tried searching but couldn't find exactly what I'm looking for. Is there a way to force a critical hit within a skill's damage formula? I assume you'd still need to define the damage formula as well.
Thanks in advance
Thanks in advance
b.result().critical = true; this.applyCritical(a.atk * 4 - b.def * 2)a.atk * 4 - b.def * 2 scaled by the crit multiplier.a.atk * 4 - b.def * 2 with whatever is appropriate for your skill~target.result() with b.result(). Technically the core scripts allow target to be used interchangeably with b in the damage formula, but plugins might affect that, b is shorter, and it's good to be consistent. 😮💨]Awesome, that works perfectly. Thank you!
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/critical-hit-skil.176264/