Quest Noble Material (10591) adjustments.
Contributed by nasseka.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<html><body>Harp Zu Hestui:<br>
|
||||
You'll be able to grow in the Blazing Swamp. Please defeat the monsters there.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial 34014-03.html">"Alright."</button>
|
||||
Kill monsters and grow stronger. That's your task.<br>
|
||||
Tell me, are you ready?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial 34014-03.html">"Confirm."</button>
|
||||
</body></html>
|
@@ -1,5 +1,6 @@
|
||||
<html><body>Harp Zu Hestui:<br>
|
||||
You mission is to defeat the monsters in the <font color="LEVEL">Blazing Swamp</font>. Defeat the <font color="LEVEL">Magma Allith, Lava Wyrm, Lava Drake, Lava Wendigo, Lava Stone Golem, Lava Leviah, Magma Salamander, Magma Dre Vanul, Flame Preta, Flame Crow, Flame Rael, Flame Salamander, Flame Drake, Flame Votis</font>. And collect <font color="LEVEL">1000 Hot Energy.</font>.<br>
|
||||
And you must also reach <font color="LEVEL">level 100</font>.<br>
|
||||
Once you complete the mission, you can return to Dual Class Master Joachim!
|
||||
Listen closely then. Go to the <font color="LEVEL">Blazing Swamp</font>, kill local monsters and collect <font color="LEVEL">1000 pieces of Hot Energy</font> from their corpses.
|
||||
Or you can do the same at the <font color="LEVEL">War-Torn Plains</font>, if you want.<br>
|
||||
You will also need to reach <font color="LEVEL">Lv. 100</font>.<br>
|
||||
When you're done, go to Dual Class Master Joachim. Use the Teleportation cubic to return to him.
|
||||
</body></html>
|
@@ -1,6 +1,7 @@
|
||||
<html><body>Dual Class Master Joachim:<br>
|
||||
Please carry out the following mission to prove that you are qualified to become a noble one.<br>
|
||||
Go to <font color="LEVEL">Blazing Swamp</font> to train and hunt, and complete the mission from <font color="LEVEL">Harp Zu Hestul</font>.<br>
|
||||
I'll send you there once you are ready.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial teleport">"Teleport"</button>
|
||||
Oh, you are back. Let me give you the buff first.<br>
|
||||
Choose a place where you are going to take missions and i will send you there. If you change you mind, use the Teleportation cubic to return to me.<br>
|
||||
So, choose the place.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial teleportWP"><font color="LEVEL">"Teleport to the War-Torn Plains(recommended)"</font></button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial teleportBS">"Teleport to Blasing Swamp"</button>
|
||||
</body></html>
|
7
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34513-04b.htm
vendored
Normal file
7
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34513-04b.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Dual Class Master Joachim:<br>
|
||||
Oh, you are back. Let me give you the buff first.<br>
|
||||
Choose a place where you are going to take missions and i will send you there. If you change you mind, use the Teleportation cubic to return to me.<br>
|
||||
So, choose the place.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial teleportBS"><font color="LEVEL">"Teleport to Blasing Swamp(recommended)"</font></button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial teleportWP">"Teleport to the War-Torn Plains"</button>
|
||||
</body></html>
|
5
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-01.html
vendored
Normal file
5
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Evan Graham:<br>
|
||||
I was waiting for you. I think you are the one who can help me.<br>
|
||||
Am i right?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial 34523-02.html">"Yes, you are."</button>
|
||||
</body></html>
|
5
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-02.html
vendored
Normal file
5
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Evan Graham:<br>
|
||||
I knew it. I've asked to send me brave warriors who are ready to defeat monsters that suddenly appeared in the place not far away. Only high experienced and skilled warriors are able to deal with them. I look at you and see a really strong hero who surely can help me.<br>
|
||||
You are going to defeat the monsters in no time.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10591_NobleMaterial 34523-03.html">"What am i supposed to do?"</button>
|
||||
</body></html>
|
7
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-03.html
vendored
Normal file
7
L2J_Mobius_8.0_Homunculus/dist/game/data/scripts/quests/Q10591_NobleMaterial/34523-03.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Evan Graham:<br>
|
||||
Simple. You have to kill monsters on the <font color="LEVEL">War-Torn Plains</font>. They drop <font color="LEVEL">Hot Energy</font>, so
|
||||
bring me <font color="LEVEL">1000 of them</font> as proof of your victory. You can also get the items from monsters of the <font color="LEVEL">Blasing Swamp</font>.<br>
|
||||
During this quest you have to <font color="LEVEL">reach Lv. 100</font>.<br>
|
||||
When you're done, go to Dual Class Master Joachim.<br>
|
||||
Use the Teleportation cubic to return to him.
|
||||
</body></html>
|
@@ -1,22 +1,25 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q10591_NobleMaterial;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.data.xml.CategoryData;
|
||||
import org.l2jmobius.gameserver.enums.CategoryType;
|
||||
import org.l2jmobius.gameserver.enums.ClassId;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
@@ -33,14 +36,14 @@ import quests.Q10590_ReawakenedFate.Q10590_ReawakenedFate;
|
||||
|
||||
/**
|
||||
* Noble Material (10591)
|
||||
* @URL https://www.youtube.com/watch?v=HCd784Gnguw
|
||||
* @author NightBR, Mobius
|
||||
* @author NightBR, Mobius, NasSeKa
|
||||
*/
|
||||
public class Q10591_NobleMaterial extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int JOACHIM = 34513;
|
||||
private static final int HARP_ZU_HESTUI = 34014;
|
||||
private static final int EVAN_GRAHAM = 34523;
|
||||
private static final int HERPA = 34362;
|
||||
private static final int LIONEL_HUNTER = 33907;
|
||||
private static final int[] MONSTERS =
|
||||
@@ -59,6 +62,8 @@ public class Q10591_NobleMaterial extends Quest
|
||||
23502, // Flame Salamander
|
||||
23503, // Flame Drake
|
||||
23504, // Flame Votis
|
||||
24585, // Vanor Silenos Mercenary
|
||||
24586, // Vanor Silenos Guardian
|
||||
};
|
||||
// Item
|
||||
private static final int FLAME_ENERGY = 80856; // Flame Energy - monster drop
|
||||
@@ -74,13 +79,14 @@ public class Q10591_NobleMaterial extends Quest
|
||||
private static final int MIN_LEVEL = 100;
|
||||
// Location
|
||||
private static final Location BURNING_MARSH = new Location(152754, -15142, -4400);
|
||||
private static final Location WAR_PLAINS = new Location(159620, 21075, -3688);
|
||||
private static final Location HEIN = new Location(111257, 221071, -3550);
|
||||
|
||||
public Q10591_NobleMaterial()
|
||||
{
|
||||
super(10591);
|
||||
addStartNpc(JOACHIM);
|
||||
addTalkId(JOACHIM, HARP_ZU_HESTUI, HERPA, LIONEL_HUNTER);
|
||||
addTalkId(JOACHIM, HARP_ZU_HESTUI, EVAN_GRAHAM, HERPA, LIONEL_HUNTER);
|
||||
addKillId(MONSTERS);
|
||||
registerQuestItems(FLAME_ENERGY);
|
||||
addCondMinLevel(99, "34513-16.html");
|
||||
@@ -103,6 +109,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
case "34513-07.html":
|
||||
case "34513-04.htm":
|
||||
case "34014-03.html":
|
||||
case "34523-03.html":
|
||||
case "34362-03.html":
|
||||
case "33907-03.html":
|
||||
{
|
||||
@@ -115,7 +122,15 @@ public class Q10591_NobleMaterial extends Quest
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "teleport":
|
||||
case "teleportWP":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
player.teleToLocation(WAR_PLAINS);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "teleportBS":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
@@ -129,6 +144,12 @@ public class Q10591_NobleMaterial extends Quest
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34523-02.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34513-06.html":
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
@@ -213,6 +234,7 @@ public class Q10591_NobleMaterial extends Quest
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final ClassId classId = player.getBaseTemplate().getClassId();
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (qs.getState())
|
||||
@@ -238,7 +260,14 @@ public class Q10591_NobleMaterial extends Quest
|
||||
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34513-04.htm";
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.SIXTH_FEOH_GROUP, classId.getId()) || CategoryData.getInstance().isInCategory(CategoryType.SIXTH_YR_GROUP, classId.getId()) || CategoryData.getInstance().isInCategory(CategoryType.SIXTH_WYNN_GROUP, classId.getId()))
|
||||
{
|
||||
htmltext = "34513-04b.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "34513-04.htm";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
@@ -266,6 +295,18 @@ public class Q10591_NobleMaterial extends Quest
|
||||
}
|
||||
break;
|
||||
}
|
||||
case EVAN_GRAHAM:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34523-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34523-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HERPA:
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
|
Reference in New Issue
Block a user