MZ How to implement YEP's Party Limit Gauge to show up as cost in Visustella Skills and State Core?

so i've been trying for a few hours to try and add YEP's Party Limit Gauge to show up as cost text and icon beside skill names on the Visustella Skills and States plugin parameter. i've left the parameters for "Paying Cost" empty cause i assume YEP's plugin does that by itself already and the gauge parameters empty cause i don't intend to display a gauge for it

here's the code so far and be warned i have no idea how to read or write code. i only copied the TP parameter and changed whatever was referring to TP to "$gameParty.partyLimitGaugeCurrent()"
Spoiler: Cost Calculation
// Declare Variables

const user = this;

const skill = arguments[0];

let cost = 0;



// Calculations

const note = skill.note;

if (note.match(/<PARTY LIMIT COST:[ ](\d+)([%%])>/i)) {

cost += Math.ceil(Number(RegExp.$1));

}



// Return cost value

return Math.round(Math.max(0, cost));
Spoiler: can pay cost?
// Declare Variables

const user = this;

const skill = arguments[0];

const cost = arguments[1];



// Return Boolean

return $gameParty.partyLimitGaugeCurrent() >= cost;
Spoiler: Show Cost?
// Declare Variables

const user = this;

const skill = arguments[0];

const cost = arguments[1];



// Return Boolean

return cost > 0;
Spoiler: Cost Text
// Declare Variables
const user = this;
const skill = arguments[0];
const cost = arguments[1];
const settings = arguments[2];
const fontSize = settings.FontSize;
const color = settings.FontColor;
const name = TextManager.tp;
const icon = settings.Icon;
let text = '';

// Text: Change Font Size
text += '\\FS[%1]'.format(fontSize);

// Text: Add Color
if (color.match(/#(.*)/i) && Imported.VisuMZ_1_MessageCore) {
text += '\\HexColor<#%1>'.format(String(RegExp.$1));
} else {
text += '\\C[%1]'.format(color);
}

// Text: Add Cost
text += '%1'.format(cost, name);

// Text: Add Icon
if (icon > 0) {
text += '\\I[%1]'.format(icon);
}

// Return text
return text;

and if by all means it's impossible, please tell me as well

Thanks in advance

Original thread: https://forums.rpgmakerweb.com/threads/how-to-implement-yeps-party-limit-gauge-to-show-up-as-cost-in-visustella-skills-and-state-core.166275/