Replace onTurnEnd function in srpgCore.js with the following code:
Code:
var _SRPG_Game_Battler_onTurnEnd = Game_Battler.prototype.onTurnEnd;
Game_Battler.prototype.onTurnEnd = function () {
if ($gameSystem.isSRPGMode() == true) {
this.regenerateAll();
this.updateSrpgStateTurns(2);
this.updateBuffTurns();
this.removeStatesAuto(2);
this.removeBuffsAuto();
this.clearResult();
this.setSrpgTurnEnd(false);
//Buff & States Core Fix
if (Imported.YEP_BuffsStatesCore !== undefined) {
if (Imported.YEP_BuffsStatesCore) {
if (this.meetTurnEndStateEffectsConditions()) this.onTurnEndStateEffects();
}
}
} else {
return _SRPG_Game_Battler_onTurnEnd.call(this);
}
};Edit: That's not it. It has imported, I added a console log just before the check for conditions and that runs, it's just the turn end states still don't trigger.