In rpg maker vx ace thier was a formula you could put in the damage formula bar thing that could let you add a specific crit chance to the skill. is thier something like this in MZ?
Thank you in advance
Thank you in advance
let r = a.atk * 4 - b.def * 2; if (Math.random() < 0.2) { b.result().critical = true; r = this.applyCritical(r); }; rr;Math.random() < 0.2 should be true 20% of the time;b.result().critical = true triggers the crit visual effects/message;r = this.applyCritical(r) applies the normal critical multiplier to r.r *= 3 here (i.e. "multiply r by 3") instead if you want.r.makeDamageValue as a fixed value, before the formula gets evaluated.Just because it was decided doesn't mean it can't be changed, as caethyril did.
Original thread: https://forums.rpgmakerweb.com/threads/crit-chance-in-damage-formula.140516/