Hi
I have 2 plugins that can interact with each others but it seems like my limited coding skills don't work for what i want to do.
So, what i'm trying to achieve is when i select the status menu of Partymember[0],
$gameParty.members()[0].cparam(1) is shown and if i select the status menu of partymember[1],
$gameParty.members()[1].cparam(1) is shown.
But for now it doesn't seems to work and only $gameParty.members()[0].cparam(1) is shown in the status menu of each party members, so when i add 5 for 1 party member, it visually add 5 in all status menu regardless of wich party member's menu it is.
// Declare Constants
const user = this;
// Calculations
if ($gameParty.members()[0]) {
return $gameParty.members()[0].cparam(1);
}
if ($gameParty.members()[1]) {
return $gameParty.members()[1].cparam(1);
};
Am i missing a constant or someting ?
PS: cparam() is from EliMZ custom param
I have 2 plugins that can interact with each others but it seems like my limited coding skills don't work for what i want to do.
So, what i'm trying to achieve is when i select the status menu of Partymember[0],
$gameParty.members()[0].cparam(1) is shown and if i select the status menu of partymember[1],
$gameParty.members()[1].cparam(1) is shown.
But for now it doesn't seems to work and only $gameParty.members()[0].cparam(1) is shown in the status menu of each party members, so when i add 5 for 1 party member, it visually add 5 in all status menu regardless of wich party member's menu it is.
// Declare Constants
const user = this;
// Calculations
if ($gameParty.members()[0]) {
return $gameParty.members()[0].cparam(1);
}
if ($gameParty.members()[1]) {
return $gameParty.members()[1].cparam(1);
};
Am i missing a constant or someting ?
PS: cparam() is from EliMZ custom param