Examples of removeSkill()


Examples of com.l2jfrozen.gameserver.model.L2Object.removeSkill()

            if (!target.isHero())
            {
             
              for (L2Skill skill : HeroSkillTable.getHeroSkills())
              {
                target.removeSkill(skill, false);
              }
              Hero.getInstance().deleteHero(target, false);
            }
            else
            {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

      if (playerParty != null)
        player.getParty().broadcastToPartyMembers(SystemMessage.sendString(player.getName() + " has been removed from the upcoming Festival."));
    }
   
    if (player.isFlying())
      player.removeSkill(SkillTable.getInstance().getInfo(4289, 1));
   
    if (Config.OFFLINE_LOGOUT && player.isSitting())
    {
      if ((player.isInStoreMode() && Config.OFFLINE_TRADE_ENABLE) || (player.isInCraftMode() && Config.OFFLINE_CRAFT_ENABLE))
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

      {
        L2PcInstance player = (L2PcInstance) activeChar.getTarget();

        for(L2Skill skill : player.getAllSkills())
        {
          player.removeSkill(skill);
        }

        activeChar.sendMessage("You removed all skills from " + player.getName());
        player.sendMessage("Admin removed all skills from you.");
        player.sendSkillList();
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

    {
      L2Skill[] skills = player.getAllSkills();

      for(L2Skill skill : skills)
      {
        player.removeSkill(skill);
      }

      for(int i = 0; i < activeChar.getAllSkills().length; i++)
      {
        player.addSkill(activeChar.getAllSkills()[i], true);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

    if(skill != null)
    {
      String skillname = skill.getName();
      player.sendMessage("Admin removed the skill " + skillname + " from your skills list.");
      player.removeSkill(skill);
      //Admin information 
      activeChar.sendMessage("You removed the skill " + skillname + " from " + player.getName() + ".");

      if(Config.DEBUG)
      {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

        // Left hand
        tempItem = activeChar.getInventory().getPaperdollItem(7);
        // Elrokian Trap like L2OFF, remove skills
        if (tempItem != null && tempItem.getItemId() == 8763)
        {
          activeChar.removeSkill(3626, true);
          activeChar.removeSkill(3627, true);
          activeChar.removeSkill(3628, true);
          activeChar.sendSkillList();
        }
       
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

        tempItem = activeChar.getInventory().getPaperdollItem(7);
        // Elrokian Trap like L2OFF, remove skills
        if (tempItem != null && tempItem.getItemId() == 8763)
        {
          activeChar.removeSkill(3626, true);
          activeChar.removeSkill(3627, true);
          activeChar.removeSkill(3628, true);
          activeChar.sendSkillList();
        }
       
        if (item.getEnchantLevel() > 0)
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

        // Elrokian Trap like L2OFF, remove skills
        if (tempItem != null && tempItem.getItemId() == 8763)
        {
          activeChar.removeSkill(3626, true);
          activeChar.removeSkill(3627, true);
          activeChar.removeSkill(3628, true);
          activeChar.sendSkillList();
        }
       
        if (item.getEnchantLevel() > 0)
        {
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

      if (isEquiped)
      {
        // Elrokian Trap like L2OFF, remove skills
        if (itemId == 8763)
        {
          activeChar.removeSkill(3626, true);
          activeChar.removeSkill(3627, true);
          activeChar.removeSkill(3628, true);
          activeChar.sendSkillList();
        }
       
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.removeSkill()

      {
        // Elrokian Trap like L2OFF, remove skills
        if (itemId == 8763)
        {
          activeChar.removeSkill(3626, true);
          activeChar.removeSkill(3627, true);
          activeChar.removeSkill(3628, true);
          activeChar.sendSkillList();
        }
       
        if (item.getEnchantLevel() > 0)
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.