So a good while back i had help setting up a script that gave the character a state when TP reached 100(max).
The plugin script goes like this-
Game_BattlerBase.prototype.setTp = function(tp) {
if (this.isActor() && this._tp === 100)
{this.addState(11)}
this.refresh();
};
It was working fine and then suddenly doesn't. I have no idea what made it stop working. I have checked and the state is still in [#0011] but it doesn't even cause any state. It seems to behave as if the script doesn't even exist. Any ideas of what could be going on would be appreciated
The plugin script goes like this-
Game_BattlerBase.prototype.setTp = function(tp) {
if (this.isActor() && this._tp === 100)
{this.addState(11)}
this.refresh();
};
It was working fine and then suddenly doesn't. I have no idea what made it stop working. I have checked and the state is still in [#0011] but it doesn't even cause any state. It seems to behave as if the script doesn't even exist. Any ideas of what could be going on would be appreciated