Package com.l2jfrozen.gameserver.network.serverpackets

Examples of com.l2jfrozen.gameserver.network.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

Related Classes of com.l2jfrozen.gameserver.network.serverpackets.ExEnchantSkillInfo

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.