From 223e306184eb24870523b3a11d9559dc099d4e0c Mon Sep 17 00:00:00 2001
From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com>
Date: Sat, 16 Nov 2019 20:21:55 +0000
Subject: [PATCH] Improvement for quest 11025. Contributed by Dmitri.
---
.../1033980-03.html | 6 ++++++
.../Q11025_PathOfDestinyProving.java | 21 +++++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
create mode 100644 L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/1033980-03.html
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/1033980-03.html b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/1033980-03.html
new file mode 100644
index 0000000000..3304a33f69
--- /dev/null
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/1033980-03.html
@@ -0,0 +1,6 @@
+
Mysterious Wizard:
+Me? Perhaps it was some other wizard passing by? There are many wizards in the world.
+By the way, I took the liberty of burying the dead body of the Ertheia, so please do not be angry.
+I will give you this to earn your trust. An item belonging to the dead. It's as if is from another world.
+I like you very much. I hope to see you again.
+
\ No newline at end of file
diff --git a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java
index 0df75dcbb6..7e3561ab36 100644
--- a/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java
+++ b/L2J_Mobius_7.0_PreludeOfWar/dist/game/data/scripts/quests/Q11025_PathOfDestinyProving/Q11025_PathOfDestinyProving.java
@@ -141,10 +141,11 @@ public class Q11025_PathOfDestinyProving extends Quest
}
case "mega_menu":
{
- if (qs.isCond(4))
+ if (qs.isCond(4) && (npc != null))
{
addSpawn(MYSTERIOUS_MAGE, npc, true, 300000);
showOnScreenMsg(player, NpcStringId.TALK_TO_THE_MYSTERIOUS_WIZARD_2, ExShowScreenMessage.TOP_CENTER, 10000);
+ npc.deleteMe();
break;
}
}
@@ -216,6 +217,14 @@ public class Q11025_PathOfDestinyProving extends Quest
htmltext = "34505-03.html"; // TODO: Proper second talk dialog.
break;
}
+ else if (qs.isCond(3))
+ {
+ htmltext = "34505-03.html";
+ }
+ else if (qs.isCond(5))
+ {
+ htmltext = "34505-03.html";
+ }
else if (qs.isCond(6))
{
htmltext = "34505-04.html";
@@ -228,6 +237,10 @@ public class Q11025_PathOfDestinyProving extends Quest
{
htmltext = "30289-01.html";
}
+ else if (qs.isCond(3))
+ {
+ htmltext = "30289-03.html";
+ }
else if (qs.isCond(5))
{
htmltext = "30289-04.html";
@@ -250,7 +263,11 @@ public class Q11025_PathOfDestinyProving extends Quest
{
if (qs.isCond(4))
{
- htmltext = "33980-01.html";
+ htmltext = "1033980-01.html";
+ }
+ else if (qs.isCond(5))
+ {
+ htmltext = "1033980-03.html";
}
break;
}