|
@@ -1157,9 +1157,18 @@ public class L2CharacterAI extends AbstractAI
|
|
// water movement analysis
|
|
// water movement analysis
|
|
if (_actor instanceof L2NpcInstance)
|
|
if (_actor instanceof L2NpcInstance)
|
|
{
|
|
{
|
|
- // well, lol..
|
|
|
|
- if (((L2NpcInstance)_actor).getNpcId() == 20314) // great white shark
|
|
|
|
- cannotMoveOnLand = true;
|
|
|
|
|
|
+ int npcId = ((L2NpcInstance)_actor).getNpcId();
|
|
|
|
+
|
|
|
|
+ switch (npcId)
|
|
|
|
+ {
|
|
|
|
+ case 20314:
|
|
|
|
+ case 20849:
|
|
|
|
+ cannotMoveOnLand = true;
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ cannotMoveOnLand = false;
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// skill analysis
|
|
// skill analysis
|
|
for (L2Skill sk : _actor.getAllSkills())
|
|
for (L2Skill sk : _actor.getAllSkills())
|