L2JMobius

Assassin Q10303_DeathMysteries

snacks · 1 · 82

Online snacks

  • Vassal
  • *
    • Posts: 9
With the current logic this quest is completed as soon as you teleport to death pass. Not sure if this intended or not.

Code: [Select]
### Eclipse Workspace Patch 1.0
#P L2J_Mobius_Essence_7.1_Assassin
diff --git dist/game/data/scripts/quests/Q10303_DeathMysteries/Q10303_DeathMysteries.java dist/game/data/scripts/quests/Q10303_DeathMysteries/Q10303_DeathMysteries.java
index e91fc4e..315eebc 100644
--- dist/game/data/scripts/quests/Q10303_DeathMysteries/Q10303_DeathMysteries.java
+++ dist/game/data/scripts/quests/Q10303_DeathMysteries/Q10303_DeathMysteries.java
@@ -87,11 +87,7 @@
  if (questLocation.getStartLocationId() > 0)
  {
  final Location location = TeleportListData.getInstance().getTeleport(questLocation.getStartLocationId()).getLocation();
- if (teleportToQuestLocation(player, location) && (questLocation.getStartLocationId() == questLocation.getEndLocationId()))
- {
- questState.setCond(QuestCondType.DONE);
- sendEndDialog(player);
- }
+ teleportToQuestLocation(player, location);
  }
  }
  else if (questState.isCond(QuestCondType.DONE) && !questState.isCompleted())