Examples of ExEnchantSkillInfo


Examples of lineage2.gameserver.network.serverpackets.ExEnchantSkillInfo

      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()), ExEnchantSkillResult.SUCCESS);
    activeChar.sendSkillList();
    RequestExEnchantSkill.updateSkillShortcuts(activeChar, _skillId, _skillLvl);
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.ExEnchantSkillInfo

          return; // cheater

        int requiredSp = SkillTreeTable.getInstance().getSkillSpCost(activeChar, skill);
        int requiredExp = SkillTreeTable.getInstance().getSkillExpCost(activeChar, skill);
        byte rate = SkillTreeTable.getInstance().getSkillRate(activeChar, skill);
        ExEnchantSkillInfo asi = new ExEnchantSkillInfo(skill.getId(), skill.getLevel(), requiredSp, requiredExp, rate);

        if (Config.ES_SP_BOOK_NEEDED && (skill.getLevel() == 101 || skill.getLevel() == 141)) // only first lvl requires book
        {
          int spbId = 6622;
          asi.addRequirement(4, spbId, 1, 0);
        }
        sendPacket(asi);

  }
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.