Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Party


      if (SevenSignsFestival.getInstance().isFestivalInitialized())
      {
        player.sendMessage("You cannot log out while you are a participant in a festival.");
        return;
      }
      L2Party playerParty = player.getParty();

      if (playerParty != null)
        player.getParty().broadcastToPartyMembers(SystemMessage.sendString(player.getName() + " has been removed from the upcoming festival."));
    }
    if (player.isFlying())
View Full Code Here


            {
                player.sendPacket(SystemMessage.sendString("You cannot restart while you are a participant in a festival."));
                player.sendPacket(new ActionFailed());
                return;
            }
            L2Party playerParty = player.getParty();

            if (playerParty != null)
                player.getParty().broadcastToPartyMembers(
                                                          SystemMessage.sendString(player.getName()
                                                              + " has been removed from the upcoming festival."));
View Full Code Here

        if (!(lastAttacker instanceof L2PcInstance))
            return;

        killingChar = (L2PcInstance)lastAttacker;
        L2Party associatedParty = killingChar.getParty();

        if (associatedParty == null)
            return;

        L2PcInstance partyLeader = associatedParty.getPartyMembers().get(0);
        L2ItemInstance addedOfferings = partyLeader.getInventory().addItem("Sign", SevenSignsFestival.FESTIVAL_OFFERING_ID, _bonusMultiplier, partyLeader, this);

        InventoryUpdate iu = new InventoryUpdate();

        if (addedOfferings.getCount() != _bonusMultiplier)
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.model.L2Party

Copyright © 2018 www.massapicom. 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.