| 赞 | 16 |
| VIP | |
| 好人卡 | |
| 积分 | 37 |
| 经验 | |
| 最后登录 | 2025-12-5 |
| 在线时间 | 3081 小时 |
- 梦石
- 0
- 星屑
- 3703
- 在线时间
- 3081 小时
- 注册时间
- 2011-11-17
- 回帖
- 943
|
发表于 2023-9-11 12:24:50
|
显示全部楼层
我昨天正好在改战斗- Game_Actor.prototype.performAction = function(action) {
- Game_Battler.prototype.performAction.call(this, action);
- if (action.isAttack()) {
- this.performAttack();
- } else if (action.isGuard()) {
- this.requestMotion("guard");
- } else if (action.isMagicSkill()) {
- this.requestMotion("spell");
- } else if (action.isSkill()) {
- this.performAttack();
- //this.requestMotion("skill");
- } else if (action.isItem()) {
- this.requestMotion("item");
- }
- };
复制代码 改动的地方在这里 |
|