Reworked quest Moon Knight (11000).
This commit is contained in:
parent
cae3f4984f
commit
a4b68e37e7
@ -1,4 +1,5 @@
|
||||
<html><body>Neti:<br>
|
||||
I hope <font color="LEVEL">Trader Rolento</font> will be cleared of all suspicion. He is so kind! He would help Orcs! This is merely impossible!<br>
|
||||
Please! Go to the <font color="LEVEL"> Southern Entrance to the Wastelands</font> and talk to Rolento.
|
||||
I know what this is about. Show me the contract...<br>
|
||||
This is a seal of Iron Scale Guild. There is only one Dwarf from this guild nearby - <font color="LEVEL">Trader Rolento</font>... But he would not sell armor to Turek Orcs. He is not a bad person...<br>
|
||||
There is a misunderstanding! Or someone had set him up... Talk to him and clear him of all suspicion. Please! Rolento runs a store in the <font color="LEVEL">Southern Entrance to the Wasteland</font>. You have to meet him.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Neti:<br>
|
||||
Please! Go to the <font color="LEVEL"> Southern Entrance to the Wastelands</font> and talk to Rolento.
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-02.html
vendored
Normal file
4
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Neti:<br>
|
||||
I hope <font color="LEVEL">Trader Rolento</font> will be cleared of all suspicion. He is so kind! He would help Orcs! This is merely impossible!<br>
|
||||
Please! Go to the <font color="LEVEL">Southern Entrance to the Wasteland</font> and talk to Rolento.
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-03.html
vendored
Normal file
4
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Neti:<br>
|
||||
I am in the loop... Rolento really made an arrangement with these scums... But he did not want anything bad to happen. He simply did not know what he is getting into...<br>
|
||||
Anyway, I hope it all ends well.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30437-05.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30437-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Trader Rolento:<br>
|
||||
How did it go? Please, tell me! I am dying to know!<br>
|
||||
...Ol Mahums have stopped the invasion? Because of Turek Orcs? Haha! I see! Hehe!<br>
|
||||
That is a relief! I was so worried that something bad might happen. Thank you for your help. Thank you so much.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you forgotten what I told you? Go to <font color="LEVEL">Armor Merchant Damion</font> and look through the list of the goods to find out what was stolen. Hurry up, Traders of Aden are complaining all the time that no one is going to investigate this attack on the caravan.
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
I have just received a letter from Damion. He wants me to tell you that all of the goods stolen by Ol Mahums were brought back and shipped to the client. Damion is very gratefull. You did a good job.<br>
|
||||
But... There is another problem. Our spies tell us that Turek Orcs are going through active preparations to attack Gludin. I have reported this to Sir Klaus Vasper but he has only ordered to keep an eye on them. Sir Klaus thinks there way too few Orcs and they will not attack. Hmm...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-04.html">"It looks like Ol Mahums have joined forces with Turek Orcs."</Button>
|
||||
Have you forgotten what I told you? Go to <font color="LEVEL">Armor Merchant Damion</font> and look through the list of the goods to find out what was stolen. Hurry up, Traders of Aden are complaining all the time that no one is going to investigate this attack on the caravan.
|
||||
</body></html>
|
@ -1,4 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
What?! Have you seen Turek Orcs in Abandoned Camp? That means... These monsters have joined forces and are about to attack us together. It's a disaster!<br>
|
||||
...But I think we should no hurry with our report to Sir Vasper. We have to get concrete evidence first, kill<font color="LEVEL"> Turek Orc Commanders</font> near Orc Barracks and search them to find out something about their plans. Time is the essence. I am asking you to hurry.<br>
|
||||
Have you seen Damion? Have you looked through the list of stolen goods? Now you need to teach Ol Mahums a lesson. And do not forget to bring back the cargo.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you completed my task? We have to find proof that someone is helping Turek Orcs! Find <font color="LEVEL">Turek Orc Commanders</font> near <font color="LEVEL">Orc Barracks</font> and search them to find out something about their plans. You will definitely find something important.
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you found something important? Turek Orc Order? Let me take a look...<br>
|
||||
This is nonsense! Orcs do not want Gludin, they want to attack Abandoned Camp. They are going to pretend to attack Gludin with Ol Mahums while in fact they will overtake Abandoned Camp when there is no one there. What a low cunning.<br>
|
||||
If Orcs have camps to the west and to the north of Gludin we will be surrounded...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-06.html">Show Armor Trade Contract</Button>
|
||||
I have just received a letter from Damion. He wants me to tell you that all of the goods stolen by Ol Mahums were brought back and shipped to the client. Damion is very gratefull. You did a good job.<br>
|
||||
But... There is another problem. Our spies tell us that Turek Orcs are going through active preparations to attack Gludin. I have reported this to Sir Klaus Vasper but he has only ordered to keep an eye on them. Sir Klaus thinks there way too few Orcs and they will not attack. Hmm...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-06.html">"It looks like Ol Mahums have joined forces with Turek Orcs."</Button>
|
||||
</body></html>
|
@ -1,5 +1,4 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
A contract? Let's see... It is an contract for a large batch of armor. Look at the stamp. There is no doubt that is a sign of the Dwarven Guild. So, Dwarves are selling military equipment to Turek Orcs?<br>
|
||||
Hmm... We have to find out wich of Dwarven Guild's is working with Tureck Orcs. We have to find out whose stamp is that but we cannot just ask the Dwarves themselves...<br>
|
||||
By the way! Do you know <font color="LEVEL">Neti</font>? She lives nearby. We can ask her! The word is Neti lived near Schuttgart when she was young. She knows Dwarves very well.
|
||||
What?! Have you seen Turek Orcs in Abandoned Camp? That means... These monsters have joined forces and are about to attack us together. It's a disaster!<br>
|
||||
...But I think we should no hurry with our report to Sir Vasper. We have to get concrete evidence first, kill<font color="LEVEL"> Turek Orc Commanders</font> near Orc Barracks and search them to find out something about their plans. Time is the essence. I am asking you to hurry.
|
||||
</body></html>
|
@ -1,8 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
You did it well. Thanks to you we have broken the plans of our enemies. In addition to that, Ol Mahums and Turek Orcs are enemies now. I could not even dream about this. All thanks to you. Sometimes one warrior can archieve more than a whole army... Looks like you are this warrior.<br>
|
||||
You are going to be properly rewarded. That is the decision of Gludio Guards. This reward is our gratitude for all your efforts.<br>
|
||||
You can pick one <font color="LEVEL">Armor Set</font>. Just one, so choose carefuly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward1">Choose Light Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward2">Choose Heavy Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward3">Choose Magic Armor Set</Button>
|
||||
Have you completed my task? We have to find proof that someone is helping Turek Orcs! Find <font color="LEVEL">Turek Orc Commanders</font> near <font color="LEVEL">Orc Barracks</font> and search them to find out something about their plans. You will definitely find something important.
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-08.html
vendored
Normal file
6
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-08.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you found something important? Turek Orc Order? Let me take a look...<br>
|
||||
This is nonsense! Orcs do not want Gludin, they want to attack Abandoned Camp. They are going to pretend to attack Gludin with Ol Mahums while in fact they will overtake Abandoned Camp when there is no one there. What a low cunning.<br>
|
||||
If Orcs have camps to the west and to the north of Gludin we will be surrounded...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-09.html">Show Armor Trade Contract</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-09.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-09.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
A contract? Let's see... It is an contract for a large batch of armor. Look at the stamp. There is no doubt that is a sign of the Dwarven Guild. So, Dwarves are selling military equipment to Turek Orcs?<br>
|
||||
Hmm... We have to find out wich of Dwarven Guild's is working with Tureck Orcs. We have to find out whose stamp is that but we cannot just ask the Dwarves themselves...<br>
|
||||
By the way! Do you know <font color="LEVEL">Neti</font>? She lives nearby. We can ask her! The word is Neti lived near Schuttgart when she was young. She knows Dwarves very well.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-11.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-11.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
What did Neti tell you? <font color="LEVEL">Trader Rolento</font>? It is the Dwarf running the store in the <font color="LEVEL">Southern Entrance to the Wasteland</font>. So he is the one who signed this Armor Trade Contract?<br>
|
||||
I always thought him a suspicious man. I mean, such a weird place for the store... So he did that on purpose: to get rid of the guards and sign a contract with our enemy.<br>
|
||||
Find Rolento, show him the contract and question him. When he admits to signing the contract with Turek Orcs I will send my soldiers to arrest him!
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-12.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-12.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Hmm... Let us assume that Rolento is telling the truth. then we follow his plan: meet <font color="LEVEL">Ol Mahum Hierarch Gudz</font> in <font color="LEVEL">Abandoned Camp</font>. If you show him the Orc Attack Orders then Ol Mahums are going to want to avenge themselves. It is a great chance to divide these beasts.
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-13.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-13.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
I see... You are going to work with for Ol Mahum Hierarch... But that is how we can stop Ol Mahums from attacking us and deal with Turek Orcs at the same time. Both enemies with one Strike!
|
||||
</body></html>
|
8
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-14.html
vendored
Normal file
8
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-14.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
You did it well. Thanks to you we have broken the plans of our enemies. In addition to that, Ol Mahums and Turek Orcs are enemies now. I could not even dream about this. All thanks to you. Sometimes one warrior can archieve more than a whole army... Looks like you are this warrior.<br>
|
||||
You are going to be properly rewarded. That is the decision of Gludio Guards. This reward is our gratitude for all your efforts.<br>
|
||||
You can pick one <font color="LEVEL">Armor Set</font>. Just one, so choose carefuly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward1">Choose Light Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward2">Choose Heavy Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward3">Choose Magic Armor Set</Button>
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
I placed the order a month ago but the goods were delivered just now... The delivery was a full week late. And the merchandise is not that good either.<br>
|
||||
Of course, I have heard of Ol Mahum attacks but that is not an excuse. One should just get proper guards.<br>
|
||||
But then again, Ol Mahum have good mad indeed, I will let it go for now, but that is the last time. I will pay for the goods with a check. Pass it over to <font color="LEVEL">Trader Damion</font>. And make sure that it does noy happen again.
|
||||
If you get to Gludin Village could you pass a few words to Trader Damion? If the merchandise is not delivered on time I will have to terminate the contract.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-02.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Amora:<br>
|
||||
I placed the order a month ago but the goods were delivered just now... The delivery was a full week late. And the merchandise is not that good either.<br>
|
||||
Of course, I have heard of Ol Mahum attacks but that is not an excuse. One should just get proper guards.<br>
|
||||
But then again, Ol Mahum have good mad indeed, I will let it go for now, but that is the last time. I will pay for the goods with a check. Pass it over to <font color="LEVEL">Trader Damion</font>. And make sure that it does noy happen again.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Amora:<br>
|
||||
<color font="LEVEL">no items<br>
|
||||
</body></html>
|
@ -1,3 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
Pass the check you have got from me to <color font="LEVEL">Trader Damion</font> of the armor store in <font color="LEVEL">Gludin Village</font>. And tell him to follow our agreement from now on.<br>
|
||||
Pass the check you have got from me to <color font="LEVEL">Trader Damion</font> of the armor store in <font color="LEVEL">Gludin Village</font>. And tell him to follow our agreement from now on.
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-04.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
How is Damion? I am about to order something from him again. I hope there will not be any sudden attacks on his caravan this time.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Hurry up and bring me the heads of <font color="LEVEL">Turek Orc Invaders</font>! Not less than <font color="LEVEL">10</font>!
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Oh, you have brought me 10 Orc Invader Heads! Wonderful!<br>
|
||||
But that is just a start! Turek Orcs are going to pay for cheating us! Now my fearless warriors will put their new armor on and attack Turek Orc Barracks!<br>
|
||||
And you go to Gludin and tell something to the people over there. Tell them that this time to great! Ol Mahums warriors are merciful and will not take their lives! But one day we shall raze Gludin to the ground, so be prepared!
|
||||
Hurry up and bring me the heads of <font color="LEVEL">Turek Orc Invaders</font>! Not less than <font color="LEVEL">10</font>!
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30941-06.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Saviors/dist/game/data/scripts/quests/Q11000_MoonKnight/30941-06.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Oh, you have brought me 10 Orc Invader Heads! Wonderful!<br>
|
||||
But that is just a start! Turek Orcs are going to pay for cheating us! Now my fearless warriors will put their new armor on and attack Turek Orc Barracks!<br>
|
||||
And you go to Gludin and tell something to the people over there. Tell them that this time to great! Ol Mahums warriors are merciful and will not take their lives! But one day we shall raze Gludin to the ground, so be prepared!
|
||||
</body></html>
|
@ -29,12 +29,13 @@ import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerLogin
|
||||
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerPressTutorialMark;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowQuestionMark;
|
||||
|
||||
/**
|
||||
* Moon Knight (11000)
|
||||
* @author Stayway
|
||||
* @author Stayway, Mobius
|
||||
*/
|
||||
public class Q11000_MoonKnight extends Quest
|
||||
{
|
||||
@ -88,112 +89,322 @@ public class Q11000_MoonKnight extends Quest
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
String htmltext = null;
|
||||
if (qs != null)
|
||||
if (qs == null)
|
||||
{
|
||||
switch (event)
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30208-01.html":
|
||||
case "30208-02.html":
|
||||
case "30437-02.html":
|
||||
case "30941-02.html":
|
||||
case "30941-03.html":
|
||||
{
|
||||
case "30208-01.html":
|
||||
case "30208-02.html":
|
||||
case "30437-02.html":
|
||||
case "30941-02.html":
|
||||
case "30941-03.html":
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-02.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-06.html":
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-02.htm":
|
||||
break;
|
||||
}
|
||||
case "30939-09.html":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(6, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-04.html":
|
||||
break;
|
||||
}
|
||||
case "30425-01.html":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30939-06.html":
|
||||
break;
|
||||
}
|
||||
case "30437-03.html":
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(8, true);
|
||||
takeItems(player, ARMOR_TRADE_CONTRACT, 1);
|
||||
giveItems(player, ROLENTO_BAG, 1);
|
||||
giveItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30425-01.html":
|
||||
break;
|
||||
}
|
||||
case "30941-04.html":
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
qs.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(9, true);
|
||||
takeItems(player, TUREK_ORC_ORDER, 1);
|
||||
takeItems(player, ROLENTO_BAG, 1);
|
||||
takeItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30437-03.html":
|
||||
break;
|
||||
}
|
||||
case "reward1":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
qs.setCond(8, true);
|
||||
takeItems(player, ARMOR_TRADE_CONTRACT, 1);
|
||||
giveItems(player, ROLENTO_BAG, 1);
|
||||
giveItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_SHELL, 1);
|
||||
giveItems(player, MOON_LEATHER_GLOVES, 1);
|
||||
giveItems(player, MOON_SHOES, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "30941-04.html":
|
||||
break;
|
||||
}
|
||||
case "reward2":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
qs.setCond(9, true);
|
||||
takeItems(player, TUREK_ORC_ORDER, 1);
|
||||
takeItems(player, ROLENTO_BAG, 1);
|
||||
takeItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_ARMOR, 1);
|
||||
giveItems(player, MOON_GAUNTLETS_HEAVY, 1);
|
||||
giveItems(player, MOON_BOOTS_HEAVY, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "reward1":
|
||||
break;
|
||||
}
|
||||
case "reward3":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_SHELL, 1);
|
||||
giveItems(player, MOON_LEATHER_GLOVES, 1);
|
||||
giveItems(player, MOON_SHOES, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_CAPE, 1);
|
||||
giveItems(player, MOON_SILK_GLOVES, 1);
|
||||
giveItems(player, MOON_SANDALS, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "reward2":
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == JONES)
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_ARMOR, 1);
|
||||
giveItems(player, MOON_GAUNTLETS_HEAVY, 1);
|
||||
giveItems(player, MOON_BOOTS_HEAVY, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
htmltext = "30939-01.htm";
|
||||
}
|
||||
case "reward3":
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
case JONES:
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_CAPE, 1);
|
||||
giveItems(player, MOON_SILK_GLOVES, 1);
|
||||
giveItems(player, MOON_SANDALS, 1);
|
||||
qs.exitQuest(false, true);
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "30939-03.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
htmltext = "30939-04.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30939-05.html";
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER) && hasQuestItems(talker, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30939-08.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30939-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "30939-10.html";
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
htmltext = "30939-11.html";
|
||||
break;
|
||||
}
|
||||
case 8:
|
||||
{
|
||||
htmltext = "30939-12.html";
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
htmltext = "30939-13.html";
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30939-14.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DAMION:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
if (hasQuestItems(talker, AMORA_RECEIPT))
|
||||
{
|
||||
takeItems(talker, AMORA_RECEIPT, 1);
|
||||
htmltext = "30208-03.html";
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30208-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AMORA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
if ((getQuestItemsCount(talker, MOLD) < 10))
|
||||
{
|
||||
htmltext = "30940-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
giveItems(talker, AMORA_RECEIPT, 1);
|
||||
takeItems(talker, MOLD, 10);
|
||||
qs.setCond(3, true);
|
||||
htmltext = "30940-02.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30940-03.html";
|
||||
}
|
||||
else if (qs.getCond() > 3)
|
||||
{
|
||||
htmltext = "30940-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NETI:
|
||||
{
|
||||
if (qs.isCond(6) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30425-01.html";
|
||||
qs.setCond(7, true);
|
||||
}
|
||||
else if (qs.isCond(7))
|
||||
{
|
||||
htmltext = "30425-02.html";
|
||||
}
|
||||
else if (qs.getState() > 7)
|
||||
{
|
||||
htmltext = "30425-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROLENTO:
|
||||
{
|
||||
if (qs.isCond(7) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30437-01.html";
|
||||
}
|
||||
else if (qs.isCond(8))
|
||||
{
|
||||
htmltext = "30437-04.html";
|
||||
}
|
||||
else if (qs.getCond() > 8)
|
||||
{
|
||||
htmltext = "30437-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUDZ:
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER, ROLENTO_BAG, IRON_SCALE_GUILD_CERTIFICATE))
|
||||
{
|
||||
htmltext = "30941-01.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(9))
|
||||
{
|
||||
if (getQuestItemsCount(talker, TUREK_ORC_INVADER_HEAD) < 10)
|
||||
{
|
||||
htmltext = "30941-05.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
takeItems(talker, TUREK_ORC_INVADER_HEAD, 10);
|
||||
qs.setCond(10, true);
|
||||
htmltext = "30941-06.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(10))
|
||||
{
|
||||
htmltext = "30941-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
@ -237,176 +448,6 @@ public class Q11000_MoonKnight extends Quest
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case JONES:
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "30939-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
htmltext = "30939-02a.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30939-03.html";
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if ((getQuestItemsCount(talker, TUREK_ORC_ORDER) < 1) || (getQuestItemsCount(talker, ARMOR_TRADE_CONTRACT) < 1))
|
||||
{
|
||||
htmltext = "30939-04a.html";
|
||||
}
|
||||
else if ((getQuestItemsCount(talker, TUREK_ORC_ORDER) >= 1) && (getQuestItemsCount(talker, ARMOR_TRADE_CONTRACT) >= 1))
|
||||
{
|
||||
htmltext = "30939-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "30939-06a.html";
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30939-07.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DAMION:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
qs.setCond(2, true);
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
if (hasQuestItems(talker, AMORA_RECEIPT))
|
||||
{
|
||||
takeItems(talker, AMORA_RECEIPT, 1);
|
||||
htmltext = "30208-03.html";
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30208-03a.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AMORA:
|
||||
{
|
||||
if (qs.isCond(2) && (getQuestItemsCount(talker, MOLD) >= 10))
|
||||
{
|
||||
giveItems(talker, AMORA_RECEIPT, 1);
|
||||
takeItems(talker, MOLD, 10);
|
||||
qs.setCond(3, true);
|
||||
htmltext = "30940-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30940-01a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NETI:
|
||||
{
|
||||
if (qs.isCond(6) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30425-01.html";
|
||||
qs.setCond(7, true);
|
||||
}
|
||||
else if (qs.isCond(7))
|
||||
{
|
||||
htmltext = "30425-01a.html"; // Need retail html
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROLENTO:
|
||||
{
|
||||
if (qs.isCond(7) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30437-01.html";
|
||||
}
|
||||
else if (qs.isCond(8))
|
||||
{
|
||||
htmltext = "30437-03a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUDZ:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 8:
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER, ROLENTO_BAG, IRON_SCALE_GUILD_CERTIFICATE))
|
||||
{
|
||||
htmltext = "30941-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
if (getQuestItemsCount(talker, TUREK_ORC_INVADER_HEAD) >= 10)
|
||||
{
|
||||
htmltext = "30941-05.html";
|
||||
takeItems(talker, TUREK_ORC_INVADER_HEAD, 10);
|
||||
qs.setCond(10, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30941-04a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30941-05a.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_LEVEL_CHANGED)
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
|
||||
|
@ -1,4 +1,5 @@
|
||||
<html><body>Neti:<br>
|
||||
I hope <font color="LEVEL">Trader Rolento</font> will be cleared of all suspicion. He is so kind! He would help Orcs! This is merely impossible!<br>
|
||||
Please! Go to the <font color="LEVEL"> Southern Entrance to the Wastelands</font> and talk to Rolento.
|
||||
I know what this is about. Show me the contract...<br>
|
||||
This is a seal of Iron Scale Guild. There is only one Dwarf from this guild nearby - <font color="LEVEL">Trader Rolento</font>... But he would not sell armor to Turek Orcs. He is not a bad person...<br>
|
||||
There is a misunderstanding! Or someone had set him up... Talk to him and clear him of all suspicion. Please! Rolento runs a store in the <font color="LEVEL">Southern Entrance to the Wasteland</font>. You have to meet him.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Neti:<br>
|
||||
Please! Go to the <font color="LEVEL"> Southern Entrance to the Wastelands</font> and talk to Rolento.
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-02.html
vendored
Normal file
4
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Neti:<br>
|
||||
I hope <font color="LEVEL">Trader Rolento</font> will be cleared of all suspicion. He is so kind! He would help Orcs! This is merely impossible!<br>
|
||||
Please! Go to the <font color="LEVEL">Southern Entrance to the Wasteland</font> and talk to Rolento.
|
||||
</body></html>
|
4
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-03.html
vendored
Normal file
4
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30425-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Neti:<br>
|
||||
I am in the loop... Rolento really made an arrangement with these scums... But he did not want anything bad to happen. He simply did not know what he is getting into...<br>
|
||||
Anyway, I hope it all ends well.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30437-05.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30437-05.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Trader Rolento:<br>
|
||||
How did it go? Please, tell me! I am dying to know!<br>
|
||||
...Ol Mahums have stopped the invasion? Because of Turek Orcs? Haha! I see! Hehe!<br>
|
||||
That is a relief! I was so worried that something bad might happen. Thank you for your help. Thank you so much.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you forgotten what I told you? Go to <font color="LEVEL">Armor Merchant Damion</font> and look through the list of the goods to find out what was stolen. Hurry up, Traders of Aden are complaining all the time that no one is going to investigate this attack on the caravan.
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
I have just received a letter from Damion. He wants me to tell you that all of the goods stolen by Ol Mahums were brought back and shipped to the client. Damion is very gratefull. You did a good job.<br>
|
||||
But... There is another problem. Our spies tell us that Turek Orcs are going through active preparations to attack Gludin. I have reported this to Sir Klaus Vasper but he has only ordered to keep an eye on them. Sir Klaus thinks there way too few Orcs and they will not attack. Hmm...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-04.html">"It looks like Ol Mahums have joined forces with Turek Orcs."</Button>
|
||||
Have you forgotten what I told you? Go to <font color="LEVEL">Armor Merchant Damion</font> and look through the list of the goods to find out what was stolen. Hurry up, Traders of Aden are complaining all the time that no one is going to investigate this attack on the caravan.
|
||||
</body></html>
|
@ -1,4 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
What?! Have you seen Turek Orcs in Abandoned Camp? That means... These monsters have joined forces and are about to attack us together. It's a disaster!<br>
|
||||
...But I think we should no hurry with our report to Sir Vasper. We have to get concrete evidence first, kill<font color="LEVEL"> Turek Orc Commanders</font> near Orc Barracks and search them to find out something about their plans. Time is the essence. I am asking you to hurry.<br>
|
||||
Have you seen Damion? Have you looked through the list of stolen goods? Now you need to teach Ol Mahums a lesson. And do not forget to bring back the cargo.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you completed my task? We have to find proof that someone is helping Turek Orcs! Find <font color="LEVEL">Turek Orc Commanders</font> near <font color="LEVEL">Orc Barracks</font> and search them to find out something about their plans. You will definitely find something important.
|
||||
</body></html>
|
@ -1,6 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you found something important? Turek Orc Order? Let me take a look...<br>
|
||||
This is nonsense! Orcs do not want Gludin, they want to attack Abandoned Camp. They are going to pretend to attack Gludin with Ol Mahums while in fact they will overtake Abandoned Camp when there is no one there. What a low cunning.<br>
|
||||
If Orcs have camps to the west and to the north of Gludin we will be surrounded...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-06.html">Show Armor Trade Contract</Button>
|
||||
I have just received a letter from Damion. He wants me to tell you that all of the goods stolen by Ol Mahums were brought back and shipped to the client. Damion is very gratefull. You did a good job.<br>
|
||||
But... There is another problem. Our spies tell us that Turek Orcs are going through active preparations to attack Gludin. I have reported this to Sir Klaus Vasper but he has only ordered to keep an eye on them. Sir Klaus thinks there way too few Orcs and they will not attack. Hmm...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-06.html">"It looks like Ol Mahums have joined forces with Turek Orcs."</Button>
|
||||
</body></html>
|
@ -1,5 +1,4 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
A contract? Let's see... It is an contract for a large batch of armor. Look at the stamp. There is no doubt that is a sign of the Dwarven Guild. So, Dwarves are selling military equipment to Turek Orcs?<br>
|
||||
Hmm... We have to find out wich of Dwarven Guild's is working with Tureck Orcs. We have to find out whose stamp is that but we cannot just ask the Dwarves themselves...<br>
|
||||
By the way! Do you know <font color="LEVEL">Neti</font>? She lives nearby. We can ask her! The word is Neti lived near Schuttgart when she was young. She knows Dwarves very well.
|
||||
What?! Have you seen Turek Orcs in Abandoned Camp? That means... These monsters have joined forces and are about to attack us together. It's a disaster!<br>
|
||||
...But I think we should no hurry with our report to Sir Vasper. We have to get concrete evidence first, kill<font color="LEVEL"> Turek Orc Commanders</font> near Orc Barracks and search them to find out something about their plans. Time is the essence. I am asking you to hurry.
|
||||
</body></html>
|
@ -1,8 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
You did it well. Thanks to you we have broken the plans of our enemies. In addition to that, Ol Mahums and Turek Orcs are enemies now. I could not even dream about this. All thanks to you. Sometimes one warrior can archieve more than a whole army... Looks like you are this warrior.<br>
|
||||
You are going to be properly rewarded. That is the decision of Gludio Guards. This reward is our gratitude for all your efforts.<br>
|
||||
You can pick one <font color="LEVEL">Armor Set</font>. Just one, so choose carefuly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward1">Choose Light Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward2">Choose Heavy Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward3">Choose Magic Armor Set</Button>
|
||||
Have you completed my task? We have to find proof that someone is helping Turek Orcs! Find <font color="LEVEL">Turek Orc Commanders</font> near <font color="LEVEL">Orc Barracks</font> and search them to find out something about their plans. You will definitely find something important.
|
||||
</body></html>
|
6
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-08.html
vendored
Normal file
6
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-08.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Have you found something important? Turek Orc Order? Let me take a look...<br>
|
||||
This is nonsense! Orcs do not want Gludin, they want to attack Abandoned Camp. They are going to pretend to attack Gludin with Ol Mahums while in fact they will overtake Abandoned Camp when there is no one there. What a low cunning.<br>
|
||||
If Orcs have camps to the west and to the north of Gludin we will be surrounded...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight 30939-09.html">Show Armor Trade Contract</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-09.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-09.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
A contract? Let's see... It is an contract for a large batch of armor. Look at the stamp. There is no doubt that is a sign of the Dwarven Guild. So, Dwarves are selling military equipment to Turek Orcs?<br>
|
||||
Hmm... We have to find out wich of Dwarven Guild's is working with Tureck Orcs. We have to find out whose stamp is that but we cannot just ask the Dwarves themselves...<br>
|
||||
By the way! Do you know <font color="LEVEL">Neti</font>? She lives nearby. We can ask her! The word is Neti lived near Schuttgart when she was young. She knows Dwarves very well.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-11.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-11.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
What did Neti tell you? <font color="LEVEL">Trader Rolento</font>? It is the Dwarf running the store in the <font color="LEVEL">Southern Entrance to the Wasteland</font>. So he is the one who signed this Armor Trade Contract?<br>
|
||||
I always thought him a suspicious man. I mean, such a weird place for the store... So he did that on purpose: to get rid of the guards and sign a contract with our enemy.<br>
|
||||
Find Rolento, show him the contract and question him. When he admits to signing the contract with Turek Orcs I will send my soldiers to arrest him!
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-12.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-12.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
Hmm... Let us assume that Rolento is telling the truth. then we follow his plan: meet <font color="LEVEL">Ol Mahum Hierarch Gudz</font> in <font color="LEVEL">Abandoned Camp</font>. If you show him the Orc Attack Orders then Ol Mahums are going to want to avenge themselves. It is a great chance to divide these beasts.
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-13.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-13.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
I see... You are going to work with for Ol Mahum Hierarch... But that is how we can stop Ol Mahums from attacking us and deal with Turek Orcs at the same time. Both enemies with one Strike!
|
||||
</body></html>
|
8
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-14.html
vendored
Normal file
8
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30939-14.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Moon Knight Jones:<br>
|
||||
You did it well. Thanks to you we have broken the plans of our enemies. In addition to that, Ol Mahums and Turek Orcs are enemies now. I could not even dream about this. All thanks to you. Sometimes one warrior can archieve more than a whole army... Looks like you are this warrior.<br>
|
||||
You are going to be properly rewarded. That is the decision of Gludio Guards. This reward is our gratitude for all your efforts.<br>
|
||||
You can pick one <font color="LEVEL">Armor Set</font>. Just one, so choose carefuly.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward1">Choose Light Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward2">Choose Heavy Armor Set</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11000_MoonKnight reward3">Choose Magic Armor Set</Button>
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
I placed the order a month ago but the goods were delivered just now... The delivery was a full week late. And the merchandise is not that good either.<br>
|
||||
Of course, I have heard of Ol Mahum attacks but that is not an excuse. One should just get proper guards.<br>
|
||||
But then again, Ol Mahum have good mad indeed, I will let it go for now, but that is the last time. I will pay for the goods with a check. Pass it over to <font color="LEVEL">Trader Damion</font>. And make sure that it does noy happen again.
|
||||
If you get to Gludin Village could you pass a few words to Trader Damion? If the merchandise is not delivered on time I will have to terminate the contract.
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-02.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Amora:<br>
|
||||
I placed the order a month ago but the goods were delivered just now... The delivery was a full week late. And the merchandise is not that good either.<br>
|
||||
Of course, I have heard of Ol Mahum attacks but that is not an excuse. One should just get proper guards.<br>
|
||||
But then again, Ol Mahum have good mad indeed, I will let it go for now, but that is the last time. I will pay for the goods with a check. Pass it over to <font color="LEVEL">Trader Damion</font>. And make sure that it does noy happen again.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Amora:<br>
|
||||
<color font="LEVEL">no items<br>
|
||||
</body></html>
|
@ -1,3 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
Pass the check you have got from me to <color font="LEVEL">Trader Damion</font> of the armor store in <font color="LEVEL">Gludin Village</font>. And tell him to follow our agreement from now on.<br>
|
||||
Pass the check you have got from me to <color font="LEVEL">Trader Damion</font> of the armor store in <font color="LEVEL">Gludin Village</font>. And tell him to follow our agreement from now on.
|
||||
</body></html>
|
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-04.html
vendored
Normal file
3
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30940-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Amora:<br>
|
||||
How is Damion? I am about to order something from him again. I hope there will not be any sudden attacks on his caravan this time.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Hurry up and bring me the heads of <font color="LEVEL">Turek Orc Invaders</font>! Not less than <font color="LEVEL">10</font>!
|
||||
</body></html>
|
@ -1,5 +1,3 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Oh, you have brought me 10 Orc Invader Heads! Wonderful!<br>
|
||||
But that is just a start! Turek Orcs are going to pay for cheating us! Now my fearless warriors will put their new armor on and attack Turek Orc Barracks!<br>
|
||||
And you go to Gludin and tell something to the people over there. Tell them that this time to great! Ol Mahums warriors are merciful and will not take their lives! But one day we shall raze Gludin to the ground, so be prepared!
|
||||
Hurry up and bring me the heads of <font color="LEVEL">Turek Orc Invaders</font>! Not less than <font color="LEVEL">10</font>!
|
||||
</body></html>
|
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30941-06.html
vendored
Normal file
5
L2J_Mobius_Classic_2.0_Zaken/dist/game/data/scripts/quests/Q11000_MoonKnight/30941-06.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Ol Mahum Hierarch Gudz:<br>
|
||||
Oh, you have brought me 10 Orc Invader Heads! Wonderful!<br>
|
||||
But that is just a start! Turek Orcs are going to pay for cheating us! Now my fearless warriors will put their new armor on and attack Turek Orc Barracks!<br>
|
||||
And you go to Gludin and tell something to the people over there. Tell them that this time to great! Ol Mahums warriors are merciful and will not take their lives! But one day we shall raze Gludin to the ground, so be prepared!
|
||||
</body></html>
|
@ -29,12 +29,13 @@ import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerLogin
|
||||
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerPressTutorialMark;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowQuestionMark;
|
||||
|
||||
/**
|
||||
* Moon Knight (11000)
|
||||
* @author Stayway
|
||||
* @author Stayway, Mobius
|
||||
*/
|
||||
public class Q11000_MoonKnight extends Quest
|
||||
{
|
||||
@ -88,112 +89,322 @@ public class Q11000_MoonKnight extends Quest
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
String htmltext = null;
|
||||
if (qs != null)
|
||||
if (qs == null)
|
||||
{
|
||||
switch (event)
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30208-01.html":
|
||||
case "30208-02.html":
|
||||
case "30437-02.html":
|
||||
case "30941-02.html":
|
||||
case "30941-03.html":
|
||||
{
|
||||
case "30208-01.html":
|
||||
case "30208-02.html":
|
||||
case "30437-02.html":
|
||||
case "30941-02.html":
|
||||
case "30941-03.html":
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-02.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-06.html":
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-02.htm":
|
||||
break;
|
||||
}
|
||||
case "30939-09.html":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.startQuest();
|
||||
qs.setCond(6, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30939-04.html":
|
||||
break;
|
||||
}
|
||||
case "30425-01.html":
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30939-06.html":
|
||||
break;
|
||||
}
|
||||
case "30437-03.html":
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(8, true);
|
||||
takeItems(player, ARMOR_TRADE_CONTRACT, 1);
|
||||
giveItems(player, ROLENTO_BAG, 1);
|
||||
giveItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30425-01.html":
|
||||
break;
|
||||
}
|
||||
case "30941-04.html":
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
if (qs.isCond(6))
|
||||
{
|
||||
qs.setCond(7, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
qs.setCond(9, true);
|
||||
takeItems(player, TUREK_ORC_ORDER, 1);
|
||||
takeItems(player, ROLENTO_BAG, 1);
|
||||
takeItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
case "30437-03.html":
|
||||
break;
|
||||
}
|
||||
case "reward1":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(7))
|
||||
{
|
||||
qs.setCond(8, true);
|
||||
takeItems(player, ARMOR_TRADE_CONTRACT, 1);
|
||||
giveItems(player, ROLENTO_BAG, 1);
|
||||
giveItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_SHELL, 1);
|
||||
giveItems(player, MOON_LEATHER_GLOVES, 1);
|
||||
giveItems(player, MOON_SHOES, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "30941-04.html":
|
||||
break;
|
||||
}
|
||||
case "reward2":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
qs.setCond(9, true);
|
||||
takeItems(player, TUREK_ORC_ORDER, 1);
|
||||
takeItems(player, ROLENTO_BAG, 1);
|
||||
takeItems(player, IRON_SCALE_GUILD_CERTIFICATE, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_ARMOR, 1);
|
||||
giveItems(player, MOON_GAUNTLETS_HEAVY, 1);
|
||||
giveItems(player, MOON_BOOTS_HEAVY, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "reward1":
|
||||
break;
|
||||
}
|
||||
case "reward3":
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_SHELL, 1);
|
||||
giveItems(player, MOON_LEATHER_GLOVES, 1);
|
||||
giveItems(player, MOON_SHOES, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_CAPE, 1);
|
||||
giveItems(player, MOON_SILK_GLOVES, 1);
|
||||
giveItems(player, MOON_SANDALS, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
case "reward2":
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == JONES)
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_ARMOR, 1);
|
||||
giveItems(player, MOON_GAUNTLETS_HEAVY, 1);
|
||||
giveItems(player, MOON_BOOTS_HEAVY, 1);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
htmltext = "30939-01.htm";
|
||||
}
|
||||
case "reward3":
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
if (qs.isCond(10))
|
||||
case JONES:
|
||||
{
|
||||
giveItems(player, MOON_HELMET, 1);
|
||||
giveItems(player, MOON_CAPE, 1);
|
||||
giveItems(player, MOON_SILK_GLOVES, 1);
|
||||
giveItems(player, MOON_SANDALS, 1);
|
||||
qs.exitQuest(false, true);
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "30939-03.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
htmltext = "30939-04.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30939-05.html";
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER) && hasQuestItems(talker, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30939-08.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30939-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "30939-10.html";
|
||||
break;
|
||||
}
|
||||
case 7:
|
||||
{
|
||||
htmltext = "30939-11.html";
|
||||
break;
|
||||
}
|
||||
case 8:
|
||||
{
|
||||
htmltext = "30939-12.html";
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
htmltext = "30939-13.html";
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30939-14.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DAMION:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
if (hasQuestItems(talker, AMORA_RECEIPT))
|
||||
{
|
||||
takeItems(talker, AMORA_RECEIPT, 1);
|
||||
htmltext = "30208-03.html";
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30208-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AMORA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
if ((getQuestItemsCount(talker, MOLD) < 10))
|
||||
{
|
||||
htmltext = "30940-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
giveItems(talker, AMORA_RECEIPT, 1);
|
||||
takeItems(talker, MOLD, 10);
|
||||
qs.setCond(3, true);
|
||||
htmltext = "30940-02.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30940-03.html";
|
||||
}
|
||||
else if (qs.getCond() > 3)
|
||||
{
|
||||
htmltext = "30940-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NETI:
|
||||
{
|
||||
if (qs.isCond(6) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30425-01.html";
|
||||
qs.setCond(7, true);
|
||||
}
|
||||
else if (qs.isCond(7))
|
||||
{
|
||||
htmltext = "30425-02.html";
|
||||
}
|
||||
else if (qs.getState() > 7)
|
||||
{
|
||||
htmltext = "30425-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROLENTO:
|
||||
{
|
||||
if (qs.isCond(7) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30437-01.html";
|
||||
}
|
||||
else if (qs.isCond(8))
|
||||
{
|
||||
htmltext = "30437-04.html";
|
||||
}
|
||||
else if (qs.getCond() > 8)
|
||||
{
|
||||
htmltext = "30437-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUDZ:
|
||||
{
|
||||
if (qs.isCond(8))
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER, ROLENTO_BAG, IRON_SCALE_GUILD_CERTIFICATE))
|
||||
{
|
||||
htmltext = "30941-01.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(9))
|
||||
{
|
||||
if (getQuestItemsCount(talker, TUREK_ORC_INVADER_HEAD) < 10)
|
||||
{
|
||||
htmltext = "30941-05.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
takeItems(talker, TUREK_ORC_INVADER_HEAD, 10);
|
||||
qs.setCond(10, true);
|
||||
htmltext = "30941-06.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCond(10))
|
||||
{
|
||||
htmltext = "30941-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
@ -237,176 +448,6 @@ public class Q11000_MoonKnight extends Quest
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance talker)
|
||||
{
|
||||
final QuestState qs = getQuestState(talker, true);
|
||||
String htmltext = getNoQuestMsg(talker);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case JONES:
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "30939-01.htm";
|
||||
}
|
||||
else if (qs.isStarted())
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
{
|
||||
htmltext = "30939-02a.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30939-03.html";
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
if ((getQuestItemsCount(talker, TUREK_ORC_ORDER) < 1) || (getQuestItemsCount(talker, ARMOR_TRADE_CONTRACT) < 1))
|
||||
{
|
||||
htmltext = "30939-04a.html";
|
||||
}
|
||||
else if ((getQuestItemsCount(talker, TUREK_ORC_ORDER) >= 1) && (getQuestItemsCount(talker, ARMOR_TRADE_CONTRACT) >= 1))
|
||||
{
|
||||
htmltext = "30939-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
htmltext = "30939-06a.html";
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30939-07.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(talker);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case DAMION:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
qs.setCond(2, true);
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "30208-01.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
if (hasQuestItems(talker, AMORA_RECEIPT))
|
||||
{
|
||||
takeItems(talker, AMORA_RECEIPT, 1);
|
||||
htmltext = "30208-03.html";
|
||||
qs.setCond(4, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30208-03a.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case AMORA:
|
||||
{
|
||||
if (qs.isCond(2) && (getQuestItemsCount(talker, MOLD) >= 10))
|
||||
{
|
||||
giveItems(talker, AMORA_RECEIPT, 1);
|
||||
takeItems(talker, MOLD, 10);
|
||||
qs.setCond(3, true);
|
||||
htmltext = "30940-01.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "30940-01a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NETI:
|
||||
{
|
||||
if (qs.isCond(6) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30425-01.html";
|
||||
qs.setCond(7, true);
|
||||
}
|
||||
else if (qs.isCond(7))
|
||||
{
|
||||
htmltext = "30425-01a.html"; // Need retail html
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROLENTO:
|
||||
{
|
||||
if (qs.isCond(7) && hasQuestItems(talker, TUREK_ORC_ORDER, ARMOR_TRADE_CONTRACT))
|
||||
{
|
||||
htmltext = "30437-01.html";
|
||||
}
|
||||
else if (qs.isCond(8))
|
||||
{
|
||||
htmltext = "30437-03a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUDZ:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 8:
|
||||
{
|
||||
if (hasQuestItems(talker, TUREK_ORC_ORDER, ROLENTO_BAG, IRON_SCALE_GUILD_CERTIFICATE))
|
||||
{
|
||||
htmltext = "30941-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 9:
|
||||
{
|
||||
if (getQuestItemsCount(talker, TUREK_ORC_INVADER_HEAD) >= 10)
|
||||
{
|
||||
htmltext = "30941-05.html";
|
||||
takeItems(talker, TUREK_ORC_INVADER_HEAD, 10);
|
||||
qs.setCond(10, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30941-04a.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10:
|
||||
{
|
||||
htmltext = "30941-05a.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_LEVEL_CHANGED)
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
|
||||
|
Loading…
Reference in New Issue
Block a user