Advertisement
SmiDmi

Fixes MonsterBook

Jul 7th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.76 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P L2J_Mobius_6.0_Fafurion
  3. Index: dist/game/data/scripts/ai/others/MonsterBook.java
  4. ===================================================================
  5. --- dist/game/data/scripts/ai/others/MonsterBook.java   (revision 5611)
  6. +++ dist/game/data/scripts/ai/others/MonsterBook.java   (working copy)
  7. @@ -59,7 +59,7 @@
  8.         final MonsterBookCardHolder card = MonsterBookData.getInstance().getMonsterBookCardByMonsterId(npc.getId());
  9.         for (PlayerInstance player : rewardedPlayers)
  10.         {
  11. -           if ((player != null) && (player.calculateDistance2D(killer) < MAXIMUM_REWARD_RANGE))
  12. +           if (((player != null) && (player.calculateDistance2D(killer) < MAXIMUM_REWARD_RANGE)) && (player.getLevel() > 98))
  13.             {
  14.                 player.updateMonsterBook(card);
  15.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement