Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.SkillList


    _boni.removeBoni(player);
    // remove the skill if any
    if(_skill != null)
    {
      player.removeSkill(_skill);
      player.sendPacket(new SkillList(player));
    }
  }
View Full Code Here


         * TODO SignsSky в Kamael заменен пакетом SSQInfo
         * if(SevenSigns.getInstance().isSealValidationPeriod())
         *  activeChar.sendPacket(new SignsSky());
         */
    activeChar.getMacroses().sendUpdate();
    sendPacket(new HennaInfo(activeChar), new ItemList(activeChar, false), new ShortCutInit(activeChar), new SkillList(activeChar), Msg.WELCOME);
    Announcements.getInstance().showAnnouncements(activeChar);
    //add char to online characters
    activeChar.setOnlineStatus(true);
    // Вызов всех хэндлеров, определенных в скриптах
    if(first)
View Full Code Here

    L2Player activeChar = getClient().getActiveChar();
    if(activeChar == null)
    {
      return;
    }
    sendPacket(new SkillList(activeChar));
  }
View Full Code Here

    }
    if(Rnd.chance(rate))
    {
      activeChar.addExpAndSp(0, -1 * requiredSp, false, false);
      Functions.removeItem(activeChar, 57, requiredAdena);
      activeChar.sendPacket(new SystemMessage(SystemMessage.SP_HAS_DECREASED_BY_S1).addNumber(requiredSp), new SystemMessage(SystemMessage.SUCCEEDED_IN_ENCHANTING_SKILL_S1).addSkillName(_skillId, _skillLvl), new SkillList(activeChar), new ExEnchantSkillResult(1));
      Log.add(activeChar.getName() + "|Successfully enchanted|" + _skillId + "|to+" + _skillLvl + "|" + rate, "enchant_skills");
    }
    else
    {
      skill = SkillTable.getInstance().getInfo(_skillId, sl.getBaseLevel());
View Full Code Here

      }
      L2ItemInstance ri = player.getInventory().destroyItem(item, 1, true);
      player.addSkill(skill, true);
      player.updateStats();
      player.sendChanges();
      player.sendPacket(SystemMessage.removeItems(ri.getItemId(), 1), new SkillList(player));
      // Анимация изучения книги над головой чара (на самом деле, для каждой книги своя анимация, но они одинаковые)
      player.broadcastPacket(new MagicSkillUse(player, player, 2790, 1, 1, 0));
    }
  }
View Full Code Here

      SystemMessage sm = new SystemMessage(SystemMessage.Untrain_of_enchant_skill_was_successful_Current_level_of_enchant_skill_S1_became_0_and_enchant_skill_will_be_initialized);
      sm.addSkillName(_skillId, _skillLvl);
      activeChar.sendPacket(sm);
    }
    Log.add(activeChar.getName() + "|Successfully untranes|" + _skillId + "|to+" + _skillLvl + "|---", "enchant_skills");
    activeChar.sendPacket(new ExEnchantSkillInfo(_skillId, newSkill.getDisplayLevel()), new ExEnchantSkillResult(1), new SkillList(activeChar));
    updateSkillShortcuts(activeChar);
  }
View Full Code Here

      if(s.getMinRank() <= activeChar.getPledgeClass())
      {
        activeChar.addSkill(s, false);
      }
    }
    activeChar.sendPacket(new SkillList(activeChar));
  }
View Full Code Here

    {
      activeChar.addSkill(skill, true);
      activeChar.addExpAndSp(0, -1 * requiredSp, false, false);
      Functions.removeItem(activeChar, 57, requiredAdena);
      activeChar.sendPacket(new SystemMessage(SystemMessage.SP_HAS_DECREASED_BY_S1).addNumber(requiredSp), new SystemMessage(SystemMessage.SUCCEEDED_IN_ENCHANTING_SKILL_S1).addSkillName(_skillId, _skillLvl), new ExEnchantSkillResult(1));
      activeChar.sendPacket(new SkillList(activeChar));
      updateSkillShortcuts(activeChar);
      Log.add(activeChar.getName() + "|Successfully safe enchanted|" + _skillId + "|to+" + _skillLvl + "|" + rate, "enchant_skills");
    }
    else
    {
View Full Code Here

          st.exitCurrentQuest(false);
          Olympiad.addNoble(st.getPlayer());
          st.getPlayer().setNoble(true);
          st.getPlayer().updatePledgeClass();
          st.getPlayer().updateNobleSkills();
          st.getPlayer().sendPacket(new SkillList(st.getPlayer()));
          st.getPlayer().broadcastUserInfo(true);
        }
        else
        {
          htmltext = "lady_of_the_lake_q0247_06.htm";
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.SkillList

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.