activeChar.sendPacket(SystemMsg.YOU_CANNOT_TELEPORT_WHILE_IN_POSSESSION_OF_A_WARD);
return false;
}
if (p.isInDuel() || (p.getTeam() != TeamType.NONE))
{
activeChar.sendMessage(new CustomMessage("common.RecallInDuel", p));
return false;
}
if (p.isInOlympiadMode())
{
activeChar.sendPacket(Msg.THIS_SKILL_IS_NOT_AVAILABLE_FOR_THE_OLYMPIAD_EVENT);
return false;
}
}
if (activeChar.isInZone(ZoneType.no_escape) || ((_townId > 0) && (activeChar.getReflection() != null) && (activeChar.getReflection().getCoreLoc() != null)))
{
if (activeChar.isPlayer())
{
activeChar.sendMessage(new CustomMessage("lineage2.gameserver.skills.skillclasses.Recall.Here", (Player) activeChar));
}
return false;
}
return super.checkCondition(activeChar, target, forceUse, dontMove, first);
}