赞 | 1 |
VIP | 0 |
好人卡 | 2 |
积分 | 2 |
经验 | 10173 |
最后登录 | 2021-5-13 |
在线时间 | 197 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 179
- 在线时间
- 197 小时
- 注册时间
- 2015-12-26
- 帖子
- 35
|
这段代码复制一个补丁文件里放在YEP_BattleEngineCore下面就可以了
Scene_Battle.prototype.createActorCommandWindow = function() {
this._actorCommandWindow = new Window_ActorCommand();
this._actorCommandWindow.setHandler('attack', this.commandAttack.bind(this));
this._actorCommandWindow.setHandler('skill', this.commandSkill.bind(this));
this._actorCommandWindow.setHandler('guard', this.commandGuard.bind(this));
this._actorCommandWindow.setHandler('item', this.commandItem.bind(this));
this._actorCommandWindow.setHandler('cancel', this.selectPreviousCommand.bind(this));
this._partyCommandWindow.setHandler('escape', this.commandEscape.bind(this));
this.addWindow(this._actorCommandWindow);
}; |
|