var GA_SS = Game_Action.prototype.setSkill;
Game_Action.prototype.setSkill = function(skillId) {
if(this._subjectActorId > 0){
$dataSkills[skillId].effects.forEach(function(effect) {
if (effect.code === 44) {
this._effect = 1;
$gameTemp.reserveCommonEvent(effect.dataId);
};
}, this);
};
GA_SS.call(this, skillId);
};
var GA_AG = Game_Action.prototype.applyGlobal;
Game_Action.prototype.applyGlobal = function() {
if(!!this._effect) {this._effect = 0; return };
GA_AG.call(this);
};
var GA_SS = Game_Action.prototype.setSkill;
Game_Action.prototype.setSkill = function(skillId) {
if(this._subjectActorId > 0){
$dataSkills[skillId].effects.forEach(function(effect) {
if (effect.code === 44) {
this._effect = 1;
$gameTemp.reserveCommonEvent(effect.dataId);
};
}, this);
};
GA_SS.call(this, skillId);
};
var GA_AG = Game_Action.prototype.applyGlobal;
Game_Action.prototype.applyGlobal = function() {
if(!!this._effect) {this._effect = 0; return };
GA_AG.call(this);
};