MV Shared MP?

New to this forum so hopefully I posted in the right spot.

I'm trying to implement a mechanic to make it so your entire party shares a single mana pool, but I haven't had much luck when searching for plugins or alternatives. I'm open to the idea of using eventing to achieve this effect, but I feel as if there's some kind of plugin or scripting method that might work more efficiently.

Please let me know!
Nope, but thanks for being conscious of it 🙂 It'll take you a little while to find your way around.

Moved to: JS Plugin Requests
Solved! For anyone interested, here is the solution:

Enter your project's js folder and open rpg_objects.js

Find this strip of code:
JavaScript:
Game_BattlerBase.prototype.paySkillCost = function(skill) {
    this._mp -= this.skillMpCost(skill);
    this._tp -= this.skillTpCost(skill);
};

And change it to this:
JavaScript:
Game_BattlerBase.prototype.paySkillCost = function(skill) {
    for (let i = 0; i < $gameParty.members().length; i++) {
        $gameParty.members()[i]._mp -= this.skillMpCost(skill);
        $gameParty.members()[i]._tp -= this.skillTpCost(skill);
    };
};
Thread closed aYou have a very cute avatar by the way!

Original thread: https://forums.rpgmakerweb.com/threads/shared-mp.131910/