Hi, so I'm try a new wave format for my game using HimeWorks Plugins, and when a wave ends I want the Party to recover a little HP and MP.
It works fine for the most part until the end of the battle comes, then the Damage Pop repeats infinitely. Sometimes when it's more than 2 waves, it'll double the amount of HP and MP as well.
The code I'm using, I found on here but adjusted it some:
Link to post if you need it
Any help?
It works fine for the most part until the end of the battle comes, then the Damage Pop repeats infinitely. Sometimes when it's more than 2 waves, it'll double the amount of HP and MP as well.
The code I'm using, I found on here but adjusted it some:
Code:
$gameParty.members().forEach(function(m){
m.gainHp(0.2*(m.mhp));
m.gainMp(0.2*(m.mmp));
m.startDamagePopup();
});
Link to post if you need it
Any help?