| 赞 | 36 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 46 |
| 经验 | 0 |
| 最后登录 | 2026-2-8 |
| 在线时间 | 570 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 4649
- 在线时间
- 570 小时
- 注册时间
- 2018-11-12
- 帖子
- 134
|
正巧我也在用这个插件,确实有这个BUG。发一下我的处理方式,希望对你有所帮助。
//——————
- var _ZDscene_Battle_selectPreviousCommand = Scene_Battle.prototype.selectPreviousCommand;
- Scene_Battle.prototype.selectPreviousCommand = function() {
- _ZDscene_Battle_selectPreviousCommand.call(this);
- //给没有行动数据的角色赋予行动(YEP不消耗行动次数插件的BUG,用立即释放复活后返回会报错)
- var actor = BattleManager.actor();
- if (actor && !BattleManager.inputtingAction()) {
- var action = new Game_Action(actor, true);
- action.setSkill(1);
- actor._actions.push(action);
- };//
- };
复制代码
【使用方法】①将上述代码复制粘贴到YEP立即释放插件的最下面。 |
|