From 088d2e1f41113597eed30196542cb482d862d9eb Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:07:22 +0000 Subject: [PATCH] Minor quest 11026 improvements. --- .../34505-04.htm | 5 ++++ .../{34505-04.html => 34505-05.html} | 0 .../34505-06.html | 2 +- .../Q11026_PathOfDestinyConviction.java | 27 ++++++++++++++----- 4 files changed, 27 insertions(+), 7 deletions(-) create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.htm rename L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/{34505-04.html => 34505-05.html} (100%) diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.htm b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.htm new file mode 100644 index 0000000000..ff684fcdea --- /dev/null +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.htm @@ -0,0 +1,5 @@ +Tarti:
+He said that all of this is just a challenge for you.
+And then he added that only a mighty warrior like you can deal with it. And now... here you are. Strange, isn't it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-05.html similarity index 100% rename from L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-04.html rename to L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-05.html diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html index e16ea1868d..5c785e213b 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/34505-06.html @@ -1,3 +1,3 @@ Tarti:
-The quest can be performed by arteys who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest Path of Destiny - Conviction.
+The quest can be performed by Ertheias who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest Path of Destiny - Proving.
\ No newline at end of file diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java index 4fc1a9c2ba..f5b6427f20 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java +++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11026_PathOfDestinyConviction/Q11026_PathOfDestinyConviction.java @@ -68,7 +68,6 @@ public class Q11026_PathOfDestinyConviction extends Quest addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_MAGE); addKillId(VAMPIRE_SOLDIER, VON_HELLMANN); registerQuestItems(WIND_SPIRIT); - addCondMinLevel(MIN_LEVEL, "34505-06.html"); addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html"); setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION); } @@ -111,11 +110,19 @@ public class Q11026_PathOfDestinyConviction extends Quest case "34505-03.html": { htmltext = event; - if (player.getLevel() >= 76) + if (player.getLevel() >= MIN_LEVEL) + { + htmltext = "34505-04.htm"; + } + break; + } + case "34505-05.html": + { + if (qs.isCond(1)) { qs.setCond(2, true); - htmltext = "34505-04.html"; } + htmltext = event; break; } case "30289-02.html": @@ -169,6 +176,7 @@ public class Q11026_PathOfDestinyConviction extends Quest { player.sendPacket(ExRequestClassChangeUi.STATIC_PACKET); } + giveStoryBuffReward(npc, player); htmltext = event; } break; @@ -201,13 +209,20 @@ public class Q11026_PathOfDestinyConviction extends Quest { if (qs.isCond(1)) { - qs.setCond(2, true); - htmltext = "34505-04.html"; + if (player.getLevel() >= MIN_LEVEL) + { + qs.setCond(2, true); + htmltext = "34505-05.html"; + } + else + { + htmltext = "34505-06.html"; + } break; } else if (qs.isCond(2)) { - htmltext = "34505-04.html"; // TODO: Proper second talk dialog. + htmltext = "34505-05.html"; // TODO: Proper second talk dialog. break; } else if (qs.isCond(4))