Players with Karma unable to go back to castle?
Posted: Mon Aug 14, 2017 7:39 am
using scrolls of escape: castle
L2J Server Discussion Board
https://www.l2jserver.com/forum/
Code: Select all
if (player.getKarma() > 0)
{
return castle.getResidenceZone().getChaoticSpawnLoc();
}
Code: Select all
// Checking if needed to be respawned in "far" town from the castle;
castle = CastleManager.getInstance().getCastle(player);
if (castle != null)
{
if (castle.getSiege().isInProgress())
{
// Check if player's clan is participating
if ((castle.getSiege().checkIsDefender(player.getClan()) || castle.getSiege().checkIsAttacker(player.getClan())) && (SevenSigns.getInstance().getSealOwner(SevenSigns.SEAL_STRIFE) == SevenSigns.CABAL_DAWN))
{
return castle.getResidenceZone().getOtherSpawnLoc();
}
}
}