Gameparty scripts needed
RPG Maker MV Support
Code:
$gameParty.members()[1].isStateAffected(1)
$gameParty.members().length >= 2
$gameParty.members()[1].luk >= 4
$gameParty.members()[1].mp >= 20
$gameParty.members()[1].mp -= 20;
You may want to use gainMp for the last one, just to make sure it refreshes properly:
Code:
$gameParty.members()[1].gainMp(-20);
@Poryg thank you sooo much!!! This was very important to me. It works nicely.
@caethyril thank you!! I put your code and it worked perfectly!
@caethyril thank you!! I put your code and it worked perfectly!
Original thread: https://forums.rpgmakerweb.com/threads/gameparty-scripts-needed.105796/
