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()"
and if by all means it's impossible, please tell me as well
Thanks in advance
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()"
// 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));
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));
// Declare Variables
const user = this;
const skill = arguments[0];
const cost = arguments[1];
// Return Boolean
return $gameParty.partyLimitGaugeCurrent() >= cost;
const user = this;
const skill = arguments[0];
const cost = arguments[1];
// Return Boolean
return $gameParty.partyLimitGaugeCurrent() >= cost;
// Declare Variables
const user = this;
const skill = arguments[0];
const cost = arguments[1];
// Return Boolean
return cost > 0;
const user = this;
const skill = arguments[0];
const cost = arguments[1];
// Return Boolean
return cost > 0;
// 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;
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