Package net.sf.l2j.gameserver.model.actor.instance

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.canDuel()


        if (!activeChar.canDuel())
        {
          activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_UNABLE_TO_REQUEST_A_DUEL_AT_THIS_TIME));
          return;
        }
        else if (!targetChar.canDuel())
        {
          activeChar.sendPacket(targetChar.getNoDuelReason());
          return;
        }
        // Players may not be too far apart
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.