Great script, and super easy to use, but it seems to not show popups when Yanfly's Battle Core is active D:
EDIT: Also, even with having the "states removed after battle" checked, states don't go away after battle when this plugin is active.
Hey everyone, if anyone wants to use any of my scripts, feel free to do so. There are no terms, credits are welcome, but not needed. Feel free to use for any kind of game.
Keep getting "SyntaxError: Invalid or Unexpected Token" at the end of the turn when the custom state is applied on an enemy. What am I doing wrong?
For anyone using this plugin on RMMZ theres currently an issue in 1.8 where it causes slip dmg to be displayed without rounding (causing numbers like 48.12312 etc) to fix just replace
//Evaluation
Game_Battler.prototype.regenerateHp = function() {
var value = Math.floor(this.mhp * this.hrg);
for (i = 0 ; i < this.states().length ; i++)
{
value += Math.max(this.matcher(1, this.states()[i].id), 0);
value -= Math.max(this.matcher(4, this.states()[i].id), 0);
}
value = Math.max(value, -this.maxSlipDamage());
if (value !== 0) {
this.gainHp(value);
}
};
with:
//Evaluation
Game_Battler.prototype.regenerateHp = function() {
var value = Math.floor(this.mhp * this.hrg);
for (i = 0 ; i < this.states().length ; i++)
{
value += Math.max(this.matcher(1, this.states()[i].id), 0);
value -= Math.max(this.matcher(4, this.states()[i].id), 0);
}
value = Math.ceil(value, -this.maxSlipDamage());
if (value !== 0) {
this.gainHp(value);
}
};