MV Escape rate MV

Anyone know of a plugin/script that changes the escape chance of a battle? 50% imo is too high.
I know Yanfly battle plugin has this but I just need this one single function in the game.
Is it possible to strip away everything in that plugin and just leave the escape script in?
Are you sure this needs its own plugin? In Ace it is possible to change the escape rate directly (in the default script BattleManager), so I would be surprised if this could not be done in MV. Maybe check the default plugins and see where it is specified?
I'm pretty sure Yanfly's battle engine can do what you want.

@Kes Editing core scripts can be done with MV but it is (IMO) better to override them with plugins, especially since JS lets you overwrite functions.
I'm pretty sure Yanfly's battle engine can do what you want.

@Kes Editing core scripts can be done with MV but it is (IMO) better to override them with plugins, especially since JS lets you overwrite functions.
where are the core scripts for MV, and does it include the escape rate?
I cannot use Yanfly's battle engine because it's not compatible with some of my other plugins.
where are the core scripts for MV, and does it include the escape rate?
I cannot use Yanfly's battle engine because it's not compatible with some of my other plugins.

Open your project folder, and there should be a folder called js. In there will be the core scripts, and a folder called plugins.
The escape ratio is in the rpg_managers.js file. Like @Windows i7 said, it's better to overwrite the function in a plugin rather than directly update the core scripts.

Here is the default function:
Code:
BattleManager.makeEscapeRatio = function() {
    this._escapeRatio = 0.5 * $gameParty.agility() / $gameTroop.agility();
};
The escape ratio is in the rpg_managers.js file. Like @Windows i7 said, it's better to overwrite the function in a plugin rather than directly update the core scripts.

Here is the default function:
Code:
BattleManager.makeEscapeRatio = function() {
    this._escapeRatio = 0.5 * $gameParty.agility() / $gameTroop.agility();
};
nice one. I will have a look at it.
Apologies for responding to an old post, but I'm having this issue, and the same plugin, what would I changed it to so I can escape nearly all the time? (unless its a boss)
Is what i have

0.5 * $gameParty.agility() / $gameTroop.agility()
Apologies for responding to an old post, but I'm having this issue, and the same plugin, what would I changed it to so I can escape nearly all the time?
You should post your own thread instead of one that's almost 4 years old. When you do, be more detailed in what you want - what percentage is "nearly all the time?"
(unless its a boss)
That's controlled in the event where you start the battle processing for the boss, there's a check box (or drop down or something) for can/can't flee.
the 0.5 is the 50% base escape rate.
Necro-post notice: @jonathonlee

Please just make your own thread. You can add a link back to old threads if they are relevant.

Original thread: https://forums.rpgmakerweb.com/threads/escape-rate-mv.89549/