So, I was away writing some plugins, and I noticed that there was a function that should be doing something, and yet, it is doing nothing!
The function in question can be found at line 1944 of the aforementioned script. And here is the little blighter for convenience;
Game_Action.prototype.itemEffectCommonEvent = function(target, effect) {};So yea, I checked, and the function is definitely called when it should be, but its not doing anything in the function.
It was checked out, and the common events still seem to be running, so whats going on here?
Note: I would have expected to see something like this within the function:
Game_Action.prototype.itemEffectCommonEvent = function(target, effect) { $gameTemp.reserveCommonEvent(effect.dataId);};So yea, anyone got any idea whats going on there?
Edit:
It seems the common event is actually called from within another function:
Game_Action.prototype.applyGlobal = function() { this.item().effects.forEach(function(effect) { if (effect.code === Game_Action.EFFECT_COMMON_EVENT) { $gameTemp.reserveCommonEvent(effect.dataId); } }, this);};So uhhh... Whats all that about?
The function in question can be found at line 1944 of the aforementioned script. And here is the little blighter for convenience;
Game_Action.prototype.itemEffectCommonEvent = function(target, effect) {};So yea, I checked, and the function is definitely called when it should be, but its not doing anything in the function.
It was checked out, and the common events still seem to be running, so whats going on here?
Note: I would have expected to see something like this within the function:
Game_Action.prototype.itemEffectCommonEvent = function(target, effect) { $gameTemp.reserveCommonEvent(effect.dataId);};So yea, anyone got any idea whats going on there?
Edit:
It seems the common event is actually called from within another function:
Game_Action.prototype.applyGlobal = function() { this.item().effects.forEach(function(effect) { if (effect.code === Game_Action.EFFECT_COMMON_EVENT) { $gameTemp.reserveCommonEvent(effect.dataId); } }, this);};So uhhh... Whats all that about?