A minor cosmetic contribution, but every little bit counts.
Monsters should walk back to spawn location instead of running.
To do : Need to add proper pathfinding/geodata check, so they wont go through walls.
Monsters should walk back to spawn location instead of running.
To do : Need to add proper pathfinding/geodata check, so they wont go through walls.
- Code:
Index: L2AttackableAI.java
===================================================================
--- L2AttackableAI.java (revision 661)
+++ L2AttackableAI.java (working copy)
@@ -703,6 +712,7 @@
if (!_actor.isInsideRadius(x1, y1, z1, Config.MAX_DRIFT_RANGE + Config.MAX_DRIFT_RANGE, true, false))
{
+ npc.setWalking();
npc.setIsReturningToSpawnPoint(true);
}
else