A friend of mine asked me how to customize the success rate of skills. I tried to modify data. It didn't seem to work. I was in rpg_objects.js didn't find what he needed. He wanted to make a successrate = user Hprate, I don't know if anyone knows how to solve it
MV How to customize skill success rate
Javascript/Plugin Supportis your friend talking about skill success rate or skill hit probability?
those are NOT the same.
I suggest you check this flowchart of skill calculatios to see what he really meant.
forums.rpgmakerweb.com
those are NOT the same.
I suggest you check this flowchart of skill calculatios to see what he really meant.
RPG Maker VXA/MV/MZ Damage Flow
An infographic to teach people how the damage/recovery is calculated in vxace! This infographic is made by @Archeia and @rhyme. Thank you to these people for helping me figure out the EXACT flow and formulas :D Recommended that you open this image in another tab or click on it over here if...
forums.rpgmakerweb.com
skill success rate
Code:
Game_Action.prototype.itemHit = function(target) {
if (this.isPhysical()) {
return this.item().successRate * 0.01 * this.subject().hit;
} else {
return this.item().successRate * 0.01;
}
};
If you know any JavaScript, it should be pretty straightforward to use the eval of a notetag there.
If you're not sure how to do that, just ask.
Edit: Also, I just Googled "RPG Maker MV hit rate plugin" and Victor Engine has a Hit Formula plugin that allows you to put custom hit rates into individual skills.
I'm talking about the success rate of skill use, not the hit rate of skills. In fact, I've thought about changing the success rate of some specific skills because of players' factors before
yes, but that is exactly what you have been given.
there is a reason why I linked you to the flowchart: success rate and hit rate are handled in specific ways.
the default success rate is a fixed value of the skill, and the code you were given is exactly the place where that fixed value is used in the process.
if you want more help, you have to explain how you would use the success rate in the damage flow - where do you want to check it, and for what results?
thank you
Original thread: https://forums.rpgmakerweb.com/threads/how-to-customize-skill-success-rate.147842/