| 赞 | 2  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 0 | 
 
| 经验 | 0 | 
 
| 最后登录 | 2019-1-7 | 
 
| 在线时间 | 1 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 19 
 
        - 在线时间
 - 1 小时
 
        - 注册时间
 - 2019-1-6
 
        - 帖子
 - 3
 
 
 
 | 
	
4楼
 
 
 楼主 |
发表于 2019-1-7 10:21:06
|
只看该作者
 
 
 
- Game_Event.prototype.moveTypeRandom = function () {
 
 -     if (!$gameMessage.isBusy()) {
 
 -         switch (Math.randomInt(6)) {
 
 -             case 0: case 1:
 
 -                 this.moveRandom();
 
 -                 break;
 
 -             case 2: case 3: case 4:
 
 -                 this.moveForward();
 
 -                 break;
 
 -             case 5:
 
 -                 this.resetStopCount();
 
 -                 break;
 
 -         }
 
 -     }
 
 - };
 
  
- Game_Event.prototype.moveTypeTowardPlayer = function () {
 
  
-     if (!$gameMessage.isBusy()) {
 
 -         if (this.isNearThePlayer()) {
 
 -             switch (Math.randomInt(6)) {
 
 -                 case 0: case 1: case 2: case 3: case 4:
 
 -                     this.moveTowardPlayer();
 
 -                     break;
 
 -                 case 5:
 
 -                     this.moveForward();
 
 -                     break;
 
 -             }
 
 -         } else {
 
 -             this.moveRandom();
 
 -         }
 
 -     }
 
 - };
 
 - Game_Event.prototype.moveTypeCustom = function () {
 
 -     if (!$gameMessage.isBusy()) {
 
 -         this.updateRoutineMove();
 
 -     }
 
 - };
 
  复制代码 
 
我简单测试了一下可行,谢谢楼上的朋友 
我先放这了 
 |   
 
评分
- 
查看全部评分
 
 
 
 
 
 |