Package net.sf.l2j.gameserver.model.entity

Examples of net.sf.l2j.gameserver.model.entity.Duel.broadcastToTeam2()


    if (duel == null) return;
    if (duel.getPlayerA() == null || duel.getPlayerB() == null) return;

    if (duel.getPlayerA() == player)
    {
      duel.broadcastToTeam2(packet);
    }
    else if (duel.getPlayerB() == player)
    {
      duel.broadcastToTeam1(packet);
    }
View Full Code Here


    else if (duel.isPartyDuel())
    {
      if (duel.getPlayerA().getParty() != null &&
          duel.getPlayerA().getParty().getPartyMembers().contains(player))
      {
        duel.broadcastToTeam2(packet);
      }
      else if (duel.getPlayerB().getParty() != null &&
          duel.getPlayerB().getParty().getPartyMembers().contains(player))
      {
        duel.broadcastToTeam1(packet);
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.