Skip to content

Forbid leave the zone siege with a ward

Featured Replies

 

Hello young people, Here is a simple protection.

In -> l2jserver/gameserver/model/zone/type/L2SiegeZone.java

method -> onExit(L2Character character)
Add:

     +   //If you leave the siege zone, ward returns to the castle.
     +   if (character instanceof L2PcInstance && ((L2PcInstance)character).isCombatFlagEquipped()
     +           && TerritoryWarManager.getInstance().isTWInProgress())
     +    
  • 3 months later...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.