Critical hit variable

I would honestly rather do this without new scripts, and just make one simple tweak to the existing scripts to achieve this. though i know that isn't exactly possible. How would I make the critical hit multiplier a variable between 1.5 and 3? because honestly... In my opinion *3 damage every-time a critical hit is achieved just seems too overpowered to me.

How would i go about this? Can I add variables to the part of the script in the game that talks about critical hits?

(In the section "Game_objects" it's line 381 of "game battler"
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


lol - you asked me about this, and I told you two forums that would be appropriate to post it in, depending on whether you wanted someone to write it for you, or just point you in the right direction, and you still posted in a different forum altogether 😉


Don't worry - mods don't get annoyed when you post in the wrong place - unless it's really obvious that it's got nothing to do with that forum and you do it repeatedly after being told to look more closely.
So instead of damage * 3 you would make the line something like damage * (1.50 + rand(1.50)) to have a random multiplier between 1.50 and 3.00.

Or do whatever you want with a variable: the syntax is $game_variables[N] to reference Variable Number N, and you can use this anywhere where you'd normally type in a value (such as 1.50).
The first one. Thank you. I honestly didn't know how to do that. A few of my characters have skills that can up CRT, so i also needed a balancer

Original thread: https://forums.rpgmakerweb.com/threads/critical-hit-variable.35997/