浏览代码

GrandBossInstance on retail not have random walk - tnx pompinis

nBd 16 年之前
父节点
当前提交
a8e82705fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      L2_GameServer/java/net/sf/l2j/gameserver/ai/L2AttackableAI.java

+ 1 - 1
L2_GameServer/java/net/sf/l2j/gameserver/ai/L2AttackableAI.java

@@ -565,7 +565,7 @@ public class L2AttackableAI extends L2CharacterAI implements Runnable
 			}
 			}
 		}
 		}
 		// Order to the L2MonsterInstance to random walk (1/100)
 		// Order to the L2MonsterInstance to random walk (1/100)
-		else if (npc.getSpawn() != null && Rnd.nextInt(RANDOM_WALK_RATE) == 0 && !(_actor instanceof L2RaidBossInstance || _actor instanceof L2MinionInstance))
+		else if (npc.getSpawn() != null && Rnd.nextInt(RANDOM_WALK_RATE) == 0 && !(_actor instanceof L2RaidBossInstance || _actor instanceof L2MinionInstance || _actor instanceof L2GrandBossInstance))
 		{
 		{
 			int x1, y1, z1;
 			int x1, y1, z1;
 			int range = Config.MAX_DRIFT_RANGE;
 			int range = Config.MAX_DRIFT_RANGE;