Advertisement
SmiDmi

Fixed Quest Winds of Fate Encroaching Shadows

Jul 4th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.51 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P L2J_Mobius_6.0_Fafurion
  3. Index: dist/game/data/scripts/quests/Q10472_WindsOfFateEncroachingShadows/Q10472_WindsOfFateEncroachingShadows.java
  4. ===================================================================
  5. --- dist/game/data/scripts/quests/Q10472_WindsOfFateEncroachingShadows/Q10472_WindsOfFateEncroachingShadows.java    (revision 5608)
  6. +++ dist/game/data/scripts/quests/Q10472_WindsOfFateEncroachingShadows/Q10472_WindsOfFateEncroachingShadows.java    (working copy)
  7. @@ -16,6 +16,7 @@
  8.   */
  9.  package quests.Q10472_WindsOfFateEncroachingShadows;
  10.  
  11. +import org.l2jmobius.gameserver.enums.CategoryType;
  12.  import org.l2jmobius.gameserver.enums.Race;
  13.  import org.l2jmobius.gameserver.model.actor.Npc;
  14.  import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
  15. @@ -77,6 +78,7 @@
  16.     // Misc
  17.     private static final double DROP_CHANCE = 0.6d; // Guessed
  18.     private static final int DARK_FRAGMENT_COUNT = 50;
  19. +   private static final int MIN_LEVEL = 85;
  20.    
  21.     public Q10472_WindsOfFateEncroachingShadows()
  22.     {
  23. @@ -85,8 +87,8 @@
  24.         addTalkId(NAVARI, ZEPHYRA, MOMET, BLACK_MARKETEER_MAMMON, BLACKSMITH_OF_MAMMON, HARDIN, KARLA, RAINA);
  25.         addKillId(MOBS);
  26.        
  27. -       addCondRace(Race.ERTHEIA, "");
  28. -       addCondCompletedQuest("Q10753_WindsOfFateChoices", "33931-00.htm"); // TODO: Replace quest name
  29. +       addCondRace(Race.ERTHEIA, "33931-00.htm");
  30. +       addCondInCategory(CategoryType.ERTHEIA_FOURTH_CLASS_GROUP, "33931-00.htm");
  31.        
  32.         registerQuestItems(DARK_FRAGMENT, COUNTERFEIT_ATELIA);
  33.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement