Need more control over the Escape option

So I was playing around with the idea of a survival horror game where its more important to escape from a battle than to defeat your enemies, because they are way more powerful than you. My problem is the way the escape option is implemented. In general you have very little control over it, but I tried using some plug-ins like Yanflys Party limit gauge to make it so that you need to increase the gauge to activate escape. The problem is that unless Escape is set to a different skill type things like mp costs and the limit gauge wont affect it, but if I set Escape to a different skill type it stops working properly and my character will escape, but the battle wont end and all you see is the enemy.
Is there something I'm missing here? Escape should work regardless of what skill type it is set to.
The skill Escape needs to be skill id 3 and it's skill type none. Make sure that escape is enable for battle if you are using on map battles ie evented battles.
Now in the Escape Notetag box place this:
<Party Limit Cost: x>
or
<Party Limit Cost: x%>

Now the escape command will not be usable untill the party gauge is fullled.

tl:dr make escape the way it is in a regular project and just add the party limit cost to it.
please provide links to the plugins used for this
Moved to: Plugin Support

Original thread: https://forums.rpgmakerweb.com/threads/need-more-control-over-the-escape-option.81288/