Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Atalho:gameserver/actor/instance/Player
- Procure e remova
- -public int giveAvailableSkills()
- -{
- -int result = 0;
- -for (L2SkillLearn sl : SkillTreeTable.getInstance().getAllAvailableSkills(this, getClassId()))
- -{
- -addSkill(SkillTable.getInstance().getInfo(sl.getId(), sl.getLevel()), true);
- -result++;
- -}
- -return result;
- -}
- Troque por de baixo.
- +public int giveAvailableSkills()
- +{
- +@SuppressWarnings("unused")
- +int unLearnable = 0;
- +int result = 0;
- +for (L2SkillLearn sl : SkillTreeTable.getInstance().getAllAvailableSkills(this, getClassId()))
- +{
- +L2Skill sk = SkillTable.getInstance().getInfo(sl.getId(), sl.getLevel());
- +if(sk == null || (sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION && !Config.AUTO_LEARN_DIVINE_INSPIRATION))
- +{
- +unLearnable++;
- +continue;
- +}
- +addSkill(SkillTable.getInstance().getInfo(sl.getId(), sl.getLevel()), true);
- +result++;
- +}
- +return result;
- +}
- mesmo atalho Procure por
- // Auto-Learn skills if activated
- if (Config.AUTO_LEARN_SKILLS)
- giveAvailableSkills();
- +if (Config.AUTO_LEARN_DIVINE_INSPIRATION)
- +giveAvailableSkills();
- sendSkillList();
- net.sf.l2j.config.java
- +public static boolean AUTO_LEARN_DIVINE_INSPIRATION;
- +AUTO_LEARN_DIVINE_INSPIRATION = Boolean.parseBoolean(propertySettings.getProperty("AutoLearnDivineInspiration", "false"));
- dps sรณ adicionar na sua config, other ou altconfigs. Caso eu tenho a minha
- que quer CustomMods.
- +# AutoLearn DivineInspiration: True to enable, False to disable
- +AutoLearnDivineInspiration = False
Add Comment
Please, Sign In to add comment