Examples of Engrave()


Examples of com.l2jfrozen.gameserver.model.entity.siege.Castle.Engrave()

      return;

    try
    {
      if((castle != null) && (targets[0] instanceof L2ArtefactInstance))
        castle.Engrave(player.getClan(), targets[0].getObjectId());
      else if(fort != null)
        fort.EndOfSiege(player.getClan());
    }
    catch(Exception e)
    {
View Full Code Here

Examples of l2p.gameserver.model.entity.siege.Siege.Engrave()

        L2Player player = (L2Player) activeChar;
        Siege siege = SiegeManager.getSiege(activeChar, true);
        if(siege != null)
        {
          siege.announceToPlayer(new SystemMessage(SystemMessage.CLAN_S1_HAS_SUCCEEDED_IN_ENGRAVING_THE_RULER).addString(player.getClan().getName()), false, true);
          siege.Engrave(player.getClan(), target.getObjectId());
        }
      }
    }
  }
}
View Full Code Here

Examples of l2p.gameserver.model.entity.siege.fortress.FortressSiege.Engrave()

        L2Player player = (L2Player) activeChar;
        FortressSiege siege = FortressSiegeManager.getSiege(activeChar);
        if(siege != null && siege.getCommanders().isEmpty())
        {
          siege.announceToPlayer(new SystemMessage(SystemMessage.CLAN_S1_HAS_SUCCEEDED_IN_ENGRAVING_THE_RULER).addString(player.getClan().getName()), false, true);
          siege.Engrave(player.getClan(), target.getObjectId());
        }
      }
    }
  }
}
View Full Code Here

Examples of l2p.gameserver.model.instances.L2TerritoryFlagInstance.engrave()

        {
          L2ItemInstance flag = player.getActiveWeaponInstance();
          if(flag != null && flag.getCustomType1() != 77) // 77 это эвентовый флаг
          {
            L2TerritoryFlagInstance flagNpc = TerritorySiege.getNpcFlagByItemId(flag.getItemId());
            flagNpc.engrave(player);
          }
        }
      }
    }
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.model.entity.Castle.Engrave()

        if (castle == null || !checkIfOkToCastSealOfRule(player, castle, true)) return;

        try
        {
          if(targets[0] instanceof L2ArtefactInstance)
            castle.Engrave(player.getClan(), targets[0].getObjectId());
        }
        catch(Exception e)
        {}
    }
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.