赞 | 160 |
VIP | 0 |
好人卡 | 0 |
积分 | 269 |
经验 | 0 |
最后登录 | 2025-9-4 |
在线时间 | 5383 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 26866
- 在线时间
- 5383 小时
- 注册时间
- 2016-3-8
- 帖子
- 1678
|
本帖最后由 alexncf125 于 2025-9-3 01:25 编辑
- const _Game_CharacterBase_jump_viparcher = Game_CharacterBase.prototype.jump;
- Game_CharacterBase.prototype.jump = function (xPlus, yPlus) {
- const x = this.x; const y = this.y;
- if (this.isCollidedWithCharacters(x + xPlus, y + yPlus)) return;
- if ([2, 4, 6, 8].some((d) => !this.isMapPassable(x + xPlus, y + yPlus, d))) return;
- _Game_CharacterBase_jump_viparcher.call(this, xPlus, yPlus);
- }
复制代码
修改自VIPArcher的跳跃不会跳到不能移动的位置 |
|