Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2010
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.67 KB | None | 0 0
  1. Index: java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java
  2. ===================================================================
  3. --- java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java    (revision 4104)
  4. +++ java/com/l2jserver/gameserver/model/actor/instance/L2PcInstance.java    (working copy)
  5. @@ -2912,6 +2912,12 @@
  6.         {
  7.             for (L2SkillLearn s: skills)
  8.             {
  9. +               if (s.getMinLevel() > 75)
  10. +               {
  11. +                   unLearnable++;
  12. +                   continue;
  13. +               }
  14. +              
  15.                 L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel());
  16.                 if (sk == null || (sk.getId() == L2Skill.SKILL_DIVINE_INSPIRATION && !Config.AUTO_LEARN_DIVINE_INSPIRATION))
  17.                 {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement