I edit now net.sf.l2j.gameserver.model.zone.type; L2TownZone
@Override
protected void onEnter(L2Character character)
{
if (character instanceof L2PcInstance)
{
// PVP possible during siege, now for siege participants only
// Could also check if this town is in siege, or if any siege is going on
if (((L2PcInstance) character).getSiegeState() != 0 && Config.ZONE_TOWN == 1)
return;
}
if (_isPeaceZone && Config.ZONE_TOWN != 2)
character.setInsideZone(ZoneId.PEACE, true);
character.setInsideZone(ZoneId.TOWN, true);
character.setInsideZone(ZoneId.NO_STORE, true); <--(ADDed)
}
@Override
protected void onExit(L2Character character)
{
if (_isPeaceZone)
character.setInsideZone(ZoneId.PEACE, false);
character.setInsideZone(ZoneId.TOWN, false);
character.setInsideZone(ZoneId.NO_STORE, false); <--(ADDed)
}
All Townzones now " no store "
->Giran Harbor "store Zone"
thanks for tips and try to help me! :)
-> Topic can Lock!