Browse Source

missed file.

JIV 15 năm trước cách đây
mục cha
commit
4ba1525a1d

+ 8 - 1
L2_GameServer/java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java

@@ -1915,7 +1915,14 @@ public final class L2PcInstance extends L2Playable
         if (Config.ALLOW_WATER)
             checkWaterState();
 
-        if (isInsideZone(ZONE_SIEGE))
+        if (isInsideZone(ZONE_DANGERAREA))
+        {
+        	if (_lastCompassZone == ExSetCompassZoneCode.ALTEREDZONE) return;
+        	_lastCompassZone = ExSetCompassZoneCode.ALTEREDZONE;
+        	ExSetCompassZoneCode cz = new ExSetCompassZoneCode(ExSetCompassZoneCode.ALTEREDZONE);
+        	sendPacket(cz);
+        }
+        else if (isInsideZone(ZONE_SIEGE))
         {
         	if (_lastCompassZone == ExSetCompassZoneCode.SIEGEWARZONE2) return;
         	_lastCompassZone = ExSetCompassZoneCode.SIEGEWARZONE2;