From f4980ad5667d4ea7d46947461867c38feb916554 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Mon, 3 Jan 2022 22:58:53 +0000 Subject: [PATCH] Fix for player killed skeleton and Telesha disappears. Contributed by Index. --- .../Q11025_PathOfDestinyProving.java | 6 ++++++ .../Q11025_PathOfDestinyProving.java | 6 ++++++ .../Q11025_PathOfDestinyProving.java | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java index c6b8ce89ea..3f0e1f3c3a 100644 --- a/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java +++ b/L2J_Mobius_08.2_Homunculus/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java @@ -793,7 +793,13 @@ public class Q11025_PathOfDestinyProving extends Quest return; } + // Fix for player killed skeleton and Telesha disappears. final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(13)) + { + qs.setCond(12, false); + } + if (Config.DISABLE_TUTORIAL || ((qs != null) && qs.isCompleted())) { player.sendPacket(ExClassChangeSetAlarm.STATIC_PACKET); diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java index 50ed3213b6..5f08cbbf5c 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java @@ -786,7 +786,13 @@ public class Q11025_PathOfDestinyProving extends Quest return; } + // Fix for player killed skeleton and Telesha disappears. final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(13)) + { + qs.setCond(12, false); + } + if (Config.DISABLE_TUTORIAL || ((qs != null) && qs.isCompleted())) { player.sendPacket(ExClassChangeSetAlarm.STATIC_PACKET); diff --git a/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java b/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java index 0f706cc170..b87c7a9b12 100644 --- a/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java +++ b/L2J_Mobius_10.0_MasterClass/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java @@ -787,7 +787,13 @@ public class Q11025_PathOfDestinyProving extends Quest return; } + // Fix for player killed skeleton and Telesha disappears. final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(13)) + { + qs.setCond(12, false); + } + if (Config.DISABLE_TUTORIAL || ((qs != null) && qs.isCompleted())) { player.sendPacket(ExClassChangeSetAlarm.STATIC_PACKET);