hello.
I got a problom.
I made two plugin for test.
first plugin is
and this is second
I just made it for test.
and this is mv scene
I want make some event on level up.
so I made hasLeveledUp() function.
and when hasLeveledUp I want use some plugin.
but after I use it, it show up RangeError.
I can't understand why it happen.
If I write long code, it can be. but, I write just message.
last, this is my console.
if loop was problom, why it happen? it loop until only party size.
thank you for help me.
=====================================================================
I changed mv contents like this.
loop was not a problem.
I can't resolve it...help me plz...
I got a problom.
I made two plugin for test.
first plugin is
Code:
var _Game_Interpreter_pluginCommand =
Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if(command == 'skillHandler'){
$gameMessage.add('skill plugin test')
}
and this is second
Code:
Game_Actor.prototype.hasLeveledUp = function () {
if(this._previousLevel == undefined){
this._previousLevel = this._level;
return false;
}
if (this._previousLevel != this._level) {
this._previousLevel = this._level;
return true;
}
return false;
}
var _Game_Interpreter_pluginCommand =
Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
_Game_Interpreter_pluginCommand.call(this, command, args);
if(command === 'evol'){
$gameMessage.add('evolution plugin test')
}
I just made it for test.
and this is mv scene
I want make some event on level up.
so I made hasLeveledUp() function.
and when hasLeveledUp I want use some plugin.
but after I use it, it show up RangeError.
I can't understand why it happen.
If I write long code, it can be. but, I write just message.
last, this is my console.
if loop was problom, why it happen? it loop until only party size.
thank you for help me.
=====================================================================
I changed mv contents like this.
loop was not a problem.
I can't resolve it...help me plz...