Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Clan.checkAllyJoinCondition()


            return; // hax
          }

          L2Clan clan = requestor.getClan();
      // we must double check this cause of hack
      if (clan.checkAllyJoinCondition(requestor, activeChar))
          {
            //TODO: Need correct message id
        requestor.sendPacket(new SystemMessage(SystemMessageId.YOU_HAVE_SUCCEEDED_INVITING_FRIEND));

        activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ACCEPTED_ALLIANCE));
View Full Code Here


      activeChar.sendPacket(new SystemMessage(SystemMessageId.YOU_ARE_NOT_A_CLAN_MEMBER));
            return;
        }
    L2PcInstance target = (L2PcInstance) L2World.getInstance().findObject(_id);
        L2Clan clan = activeChar.getClan();
        if (!clan.checkAllyJoinCondition(activeChar, target))
        {
          return;
        }
        if (!activeChar.getRequest().setRequest(target, this))
        {
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.