//============================================================================= // RTK_Test.js 2016/07/30 // The MIT License (MIT) //============================================================================= /*: * @plugindesc 互換維持用修正パッチ * @author ニノちゃん「」 * * @help プラグインコマンドで実行してプロパティを追加するだけ *  equipfixer をゲームに入ったらすぐイベントで実行するとプロパティが追加されて問題なくなる(はず) */ (function(_global) { "use strict"; const pluginName = 'equipfixer'; const _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand; Game_Interpreter.prototype.pluginCommand = function (command, args) { _Game_Interpreter_pluginCommand.call(this, command, args); if (command === pluginName) { $gameActors._data.forEach(element => { if (element){ //console.log(element) Object.assign(element,{ _equipStatesId: [] }); } }); } }; })(this);