Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Valfar:<br>
I often hear of your outstanding performances, child, but did you complete the work I assigned you in the Ruins of Ye Sagira too?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-02.html">"Well..."</Button>
<html><body>Grand Master Valfar:<br>
I often hear of your outstanding performances, child, but did you complete the work I assigned you in the Ruins of Ye sagira too?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-02.htm">"Well..."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grand Master Valfar:<br>
Good! This is wonderful news. Now, perhaps we'll start to see a return to normality, even if it takes a little while for those beasts to be killed off for good.<br1>
Is there anything else?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-03.html>"Yes. Sebion was hurt."</Button>
<html><body>Grand Master Valfar:<br>
Good! This is wonderful news. Now, perhaps we'll start to see a return to normality, even if it takes a little while for those beasts to be killed of for good.<br1>
Is there anything else?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32146-03.htm">"Yes. Sebion was hurt."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grand Master Valfar:<br>
Sebion?! How?? He's not just a scholar, but a skilled Wizard too. I'm surprised he was hurt!<br1>
Hmm. I will make sure he returns for rest as soon as possible, and will send Bloodhoud out in his stead.<br>
Thank you, friend. May Rodenpicula watch over you!
<html><body>Grand Master Valfar:<br>
Sebion?! How?? He's not just a scholar, but a skilled Wizard too. I'm surprised he was hurt!<br1>
Hmm. I will make sure he returns for rest as soon as possible, and will send Bloodhound out in his stead.<br>
Thank you, friend. May Rodenpicula watch over you!
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Grand Master Valfar:<br>
I educate Kamael, stranger. You are not one of my kind.
<html><body>Grand Master Valfar:<br>
I educate Kamael, stranger. You are not one of my kind.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Valfar:<br>
We owe you more than you know, friend. Again, thank you.<br>
(You have already completed this quest.)
<html><body>Grand Master Valfar:<br>
We owe you more than you know, friend. Again, thank you.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Rivian:<br>
Aha! You're back sooner than I expected. Did everything go well?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-02.html">"Well..."</Button>
<html><body>Grand Master Rivian:<br>
Aha! You're back sooner than I expected. Did everything go well?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-02.htm">"Well..."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Rivian:<br>
Ah, excellent! If the monsters have been cut down in number, then perhaps the rest will get the message and flee. At any rate, you've helped secure our home, and we owe you a great deal. Do you have anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-03.html">"Yes...Sebion was hurt."</Button>
<html><body>Grand Master Rivian:<br>
Ah, excellent! If the monsters have been cut down in number, then perhaps the rest will get the message and flee. At any rate, you've helped secure our home, and we owe you a great deal. Do you have anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32147-03.htm"> "Yes...Sebion was hurt."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Rivian:<br>
What? Sebion was hurt? How? I assume from your tone that he's not been badly hurt, but still... he is an asset we can ill afford to lose. I will send a replacement soon. <br>
Thank you for your report, friend. You have helped save our home, and for that we are all extremely grateful. I will pray that the blessings of Einhasad will be with you always.
<html><body>Grand Master Rivian:<br>
What? Sebion was hurt? How? I assume from your tone that he's not been badly hurt, but still... he is an asset we can ill afford to lose. I will send a replacement soon.<br>
Thank you for your report, friend. You have helped save our home, and for that we are all extremely grateful. I will pray that the blessings of Einhasad will be with you always.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Grand Master Rivian:<br>
I'm in charge of educating the Elf race. I believe you came to the wrong person!
<html><body>Grand Master Rivian:<br>
I'm in charge of education the Elf race. I believe you came to the wrong person!
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Rivian:<br>
Thank you again, friend. You have guided us through a great storm.<br>
(You have already completed this quest.)
<html><body>Grand Master Rivian:<br>
Thank you again, friend. You have guided us through a great storm.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Prefect Took:<br>
Welcome. How goes the task in Ye Sagira?<br1>
What's the latest news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-02.htm">"Let me tell you what has been going on in the Ruins of Ye Sagira."</Button>
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>High Prefect Took:<br>
Welcome. How goes the task in Ye Sagira? What's the latest news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-02.html">"Let me tell you what has been going on in the Ruins of Ye Sagira."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Prefect Took:<br>
Wonderful, wonderful. The monster population is down, the situation is under control. Lovely. Good work! I was worried that I'd run out of scholars before we ran out of scholar eating monsters. Ha! Anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-03.html">"Sebion was hurt."</Button>
<html><body>High Prefect Took:<br>
Wonderful, wonderful. The monster population is down, the situation is under control. Lovely. Good work! I was worried that I'd run out of scholars before we raun out of scholar eating monsters. Ha Anything else to report?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32150-03.htm">"Sebion was hurt."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Prefect Took:<br>
Sebion is injured? That's surprising... he has such strong magic, I wouldn't have thought.... That's strange. I'll have to send in additional support workers.<br>
We need to hire a Bloodhound for his return. King? Is that his name? Yes, we'll need King to protect Sebion's return journey. Thanks for your detailed report. May blessing of darkness enhance your future.
<html><body>High Prefect Took:<br>
Sebion is injured? That's surprising... he has such strong magic, I wouldn't have thought.... That's strange. I'll have to send in additional support workers.<br>
We need to hire a Bloodhound for his return. King? Is that his name? Yes, we'll need King to protect Sebion's return journey. Thanks for your detailed report. May blessing of darkness enhance your future.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>High Prefect Took:<br>
I'm only in charge of Orcs. You don't look much like an Orc....
<html><body>High Prefect Took:<br>
I'm only in charge of Orcs. You don't look much like an Orc....
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Prefect Took:<br>
They're making great strides with their research at Ruins of Ye Sagira, thanks to you.<br>
(You have already completed this quest.)
<html><body>High Prefect Took:<br>
They're making great strides with their research at Ruins of Ye Sagira, thanks to you.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Priest Franco:<br>
You returned from the Ruins of Ye Sagira! Are you well? What was going on there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32153-02.html">"Well..."</Button>
<html><body>High Priest Franco:<br>
You returned from the Ruins of Ye Sagira! Are you well? What was going on there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32153-02.htm">"Well..."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Priest Franco:<br>
You were a great help! With the monsters cut down, perhaps we will start to see peace flow through this region again. But tell me, friend -- what happened to the scholars there? I doubt they were able to fend the monsters off?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32153-03.html">"Sebion was hurt."</Button>
<html><body>High Priest Franco:<br>
You were a great help! With the monsters cut down, perhaps we will start to see peace flow through this region again. But tell me, friend -- what happened to the scholars there? I doubt they were able to fend the monsters off?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32153-03.htm">"Sebion was hurt."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Sebion was hurt? Hmm... Well, at least it was just that, we don't have a death on our hands. I'll summon him back here, and make sure Bloodhound is in town to protect his return...<br>
Thank you for your everything, friend! May the protection of light always be with you.
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>High Priest Franco:<br>
Sebion was hurt? Hmm... Well, at least it was just that, and we don't have a death on our hands. I'll summon him back here, and make sure Bloodhound is in town to protect his return...<br>
Thank you for your everything, friend! May the protection of light always be with you.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>High Priest Franco:<br>
Hmm. I train humans, not your kind. You should look elsewhere for your training.
<html><body>High Priest Franco:<br>
Hmm. I train humans, not your kind. You should look elsewhere for your training.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Priest Franco:<br>
Thank you again, friend. You have done so much for us!<br>
(You have already completed this quest.)
<html><body>High Priest Franco:<br>
Thank you again, friend. You have done so much for us!<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Hmm? You're back from Ye Sagira already? I have a lot of questions for you! So, what's the situation in Ye Sagira? How are the seekers doing? Are they finding anything interesting?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-02.html">"Well..."</Button>
<html><body>Head Blacksmith Moka:<br>
Hmm? You're back from Ye Sagira already? I have a lot of questions for you! So, what's the situation in Ye Sagira? How are the seekers doing? Are tehy finding anything interesting?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-02.htm">"Well..."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Marvelous! It's good to hear that the monster population is finally on the downturn. Such good news. I was worried, everyone over there has a great scholarly pedigree, but no one had any good fighting skills or common sense! You know that scientist type. Brainy, but not terribly practical. This is a great weight off of my shoulders. Do you have any other news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-03.html">"Sebion was hurt."</Button>
<html><body>Head Blacksmith Moka:<br>
Marvelous! It's good to hear that the monster population is finally on the downturn. Such good news. I was worried, everyone over there has a grat scholarly pedigree, but no one had any good fightings skills or common sense! You know that scientist type. Brainy, but not terribly practical. This is a great weight off of my shoulders. Do you have any other news?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32157-03.htm">"Sebion was hurt."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Sebion is injured?! How? I know he was conducting research in the Labyrinth of Belis... which is not exactly a cake walk, but what happened? Hmm... He's going to need someone to help dig and carry. I'll send over some additional bodies to help out.<br>
And, we'll need a Bloodhound to protect him on his return. Bloodhounds are rather pricey right now, but we certainly can't afford any more severe injuries, or deaths! Thanks for your report. We be in touch, when we have need of your skills again.
<html><body>Head Blacksmith Moka:<br>
Sebion is injured?! How? I know he was conducting research in the Labyrinth of Belis... which is not exactly a cake walk, but what happened? Hmm... He's going to need someone to help dig and carry. I'll send over some additional bodies to help out.<br>
And, we'll need a Bloodhound to protect him on his return. Bloodhounds are rather pricey right now, but we certainly can't afford any more severe injuries, or deaths! Thanks for your report. We be in touch, when we have need of your skills again.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Head Blacksmith Moka:<br>
I'm in charge of Dwarf training and I'm pretty sure you're not a Dwarf. You need to locate your own race's master.
<html><body>Head Blacksmith Moka:<br>
I'm in charge of Dwarf training and I'm pretty sure you're not a Dwarf. You need to locate your own race's master.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
The pace of research over at the Ruins of Ye Sagira has picked up greatly, thanks entirely to your good work. Nicely done!<br>
(You have already completed this quest.)
<html><body>Head Blacksmith Moka:<br>
The pace of research over at the Ruins of Ye Sagira has picked up greatly, thanks entirely to your good work. Nicely done!<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Magister Devon:<br>
Welcome, and well done! I've heard much about you, but... I'd like to hear a report directly from the horse's mouth... so to speak. Did you finish the work in the Ruins of Ye Sagira? How are search members doing?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-02.html">"Well..."</Button>
<html><body>Grand Magister Devon:<br>
Welcome, and well done! I've heard much about you, but... I'd like to hear a report directly from the horse's mouth... so to speak. Did you finish the work in the Ruins of Ye Sagira? How are search members doing?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-02.htm">"Well..."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Magister Devon:<br>
Then you are due our thanks, friend. Perhaps over time, the area will regain its natural beauty, eh?<br1>
I don't know how long this peace will hold, but I know that you've given me one less thing to worry about. Thank you.<br1>
Now, is there anything else we need to discuss?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-03.htm">"Yes. Sebion was hurt..."</Button>
</body></html>

View File

@@ -1,6 +0,0 @@
<html><body>Grand Magister Devon:<br>
Then you are due our thanks, friend. Perhaps over time, the area will regain its natural beauty, eh?<br1>
I don't know how long this peace will hold, but I do know that you've given me one less thing to worry about. Thank you.<br1>
Now, is there anything else we need to discuss?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32160-03.html">"Yes. Sebion was hurt..."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Magister Devon:<br>
Badly? Sebion is an able mage, and should be able to tend to his own woumds, but... hmm... I will make sure he is replaced.<br>
When Sebion returns, we should bring and protect Bloodhound as well. Thank you for the detailed report - I will pray that the Blessing of Darkness be with you for years to come.
<html><body>Grand Magister Devon:<br>
Badly? Sebion is an able mage, and should be able to tend to his own woumds, but... hmmm... I will make sure he is replaced.<br>
When Sebion returns, we should bring and protect Bloodhound as well. Thank you for the detailed report - I will pray that the Blessing of Darkness be with you for years to come.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Grand Master Devon:<br>
I'm in charge of educationg the Dark Elf race. I think you came to the wrong teacher - please go to your race master!
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>Grand Magister Devon:<br>
I'm in charge of educating the Dark Elf race. I think you came to the wrong teacher - please go to your race master!
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Magister Devon:<br>
The investigation on the Ruins of Ye Sagira is still ongoing, friend. We have you to thank for getting us this close though.<br>
(You have already completed this quest.)
<html><body>Grand Master Devon:<br>
The investigation on the Ruins of Ye Sagira is still ongoing, friend. We have you to thank for getting us this close though.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sebion:<br>
You've really gotten the monsters in the Ruins under control. I mean, there are still some about, but it's not nearly so bad. I'm just waiting for my replacement to come, so I can head back to town and concentrate on recovering.<br>
But before I go, I have one more favor to ask of you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-02.htm">"What is it?"</Button>
<html><body>Sebion:<br>
You've really gotten the monsters in the Ruins under control. I mean, there are still some about, but it's not nearly so bad. I'm just waiting for my replacement to come, so I can head back to town and concentrate on recovering.<br>
But before I go, I have one more favor to ask of you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-02.htm">"What is it?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Tell the master in the Talking Island Administration Office that things are getting better in the Ruins. And, while you're there... could you poke them to make sure they haven't forgotten about replacing me out here.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate 32978-03.html">"No problem."</Button>
<html><body>Sebion:<br>
Tell the master in the Talking Island Administration Office that things are getting better in the Ruins. And, while you're there... could you poke them to make sure they haven't forgotten about replacing me out here.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10366_RuinsStatusUpdate check_race">"No problem."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">%MASTER%</font> about the situation here.<br1>
Thank you for everything you've done. I'm in your debt.
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">High Priest Franco</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">Grand Master Rivian</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Here is very dangerous, I think you better get back in the village.<br>
(The quest is avaiable after reaching level 16 and until level 25.)
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">Grand Magister Devon</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">%MASTER%</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">High Prefect Took</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">Head Blacksmith Moka</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Oh, that's a relief. Now I won't have to contact Lakcis and Dep. Use your <font color="LEVEL">Scroll of Escape</font> to travel to the <font color="LEVEL">Administration Office</font> and tell <font color="LEVEL">Grand Master Valfar</font> about the situation here.<br>
Thank you for everything you've done. I'm in your debt.<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sebion:<br>
Being out here is really slowing my recovery. I hope they send my replacement soon...<br>
(This quest is already completed)
<html><body>Sebion:<br>
Being out here is really slowing my recovery. I hope they send my replacement soon...<br>
(This quest is already completed.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sebion:<br>
This place is dangerous. I think it's best if you go back to town.<br>
(Only level 16-25 characters who have completed the scout mission may complete this quest.)
</body></html>

View File

@@ -1,293 +1,323 @@
/*
* 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.Q10366_RuinsStatusUpdate;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
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.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.Q10365_SeekerEscort.Q10365_SeekerEscort;
/**
* Ruins status update (10366)
* @author spider, gyo
*/
public class Q10366_RuinsStatusUpdate extends Quest
{
// NPCs
private static final int SEBION = 32978;
private static final int FRANCO = 32153;
private static final int VALFAR = 32146;
private static final int RIVIAN = 32147;
private static final int TOOK = 32150;
private static final int MOKA = 32157;
private static final int DEVON = 32160;
// Rewards
private static final int ADENA_REWARD = 750;
private static final int EXP_REWARD = 150000;
private static final int SP_REWARD = 36;
// Requirements
private static final int MIN_LEVEL = 16;
private static final int MAX_LEVEL = 25;
// NPCs Name
private static final String GRAND_MAGISTER_DEVON = "Grand Magister Devon";
private static final String GRAND_MASTER_RIVIAN = "Grand Master Rivian";
private static final String GRAND_MASTER_VALFAR = "Grand Master Valfar";
private static final String HEAD_BLACKSMITH_MOKA = "Head Blacksmith Moka";
private static final String HIGH_PREFECT_TOOK = "High Prefect Took";
private static final String HIGH_PRIEST_FRANCO = "High Priest Franco";
public Q10366_RuinsStatusUpdate()
{
super(10366, Q10366_RuinsStatusUpdate.class.getSimpleName(), "Ruins status update");
addStartNpc(SEBION);
addTalkId(FRANCO, VALFAR, RIVIAN, TOOK, MOKA, DEVON, SEBION);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "32978-05.htm");
addCondCompletedQuest(Q10365_SeekerEscort.class.getSimpleName(), "32978-05.htm");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "32978-02.htm":
{
htmltext = event;
break;
}
case "32978-03.html":
{
qs.startQuest();
showOnScreenMsg(qs.getPlayer(), NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 10000);
htmltext = getHtm(player.getHtmlPrefix(), event);
switch (player.getRace())
{
case HUMAN:
{
qs.setCond(2);
htmltext = htmltext.replace("%MASTER%", HIGH_PRIEST_FRANCO);
break;
}
case ELF:
{
qs.setCond(3);
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_RIVIAN);
break;
}
case DARK_ELF:
{
qs.setCond(4);
htmltext = htmltext.replace("%MASTER%", GRAND_MAGISTER_DEVON);
break;
}
case ORC:
{
qs.setCond(5);
htmltext = htmltext.replace("%MASTER%", HIGH_PREFECT_TOOK);
break;
}
case DWARF:
{
qs.setCond(6);
htmltext = htmltext.replace("%MASTER%", HEAD_BLACKSMITH_MOKA);
break;
}
case KAMAEL:
{
qs.setCond(7);
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_VALFAR);
break;
}
}
break;
}
case "32146-02.html":
case "32147-02.html":
case "32150-02.html":
case "32153-02.html":
case "32157-02.html":
case "32160-02.html":
{
htmltext = event;
break;
}
case "32146-03.html":
case "32147-03.html":
case "32150-03.html":
case "32153-03.html":
case "32157-03.html":
case "32160-03.html":
{
if (qs.getCond() > 1)
{
giveAdena(player, ADENA_REWARD, true);
addExpAndSp(player, EXP_REWARD, SP_REWARD);
qs.exitQuest(false, true);
htmltext = event;
break;
}
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = null;
switch (qs.getState())
{
case State.CREATED:
{
htmltext = npc.getId() == SEBION ? "32978-01.htm" : getNoQuestMsg(player);
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case SEBION:
{
htmltext = getHtm(player.getHtmlPrefix(), "32978-04.html");
switch (player.getRace())
{
case HUMAN:
{
htmltext = htmltext.replace("%MASTER%", HIGH_PRIEST_FRANCO);
break;
}
case ELF:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_RIVIAN);
break;
}
case DARK_ELF:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MAGISTER_DEVON);
break;
}
case ORC:
{
htmltext = htmltext.replace("%MASTER%", HIGH_PREFECT_TOOK);
break;
}
case DWARF:
{
htmltext = htmltext.replace("%MASTER%", HEAD_BLACKSMITH_MOKA);
break;
}
case KAMAEL:
{
htmltext = htmltext.replace("%MASTER%", GRAND_MASTER_VALFAR);
break;
}
}
break;
}
case FRANCO:
{
htmltext = player.getRace() == Race.HUMAN ? "32153-01.html" : "32153-04.html";
break;
}
case RIVIAN:
{
htmltext = player.getRace() == Race.ELF ? "32147-01.html" : "32147-04.html";
break;
}
case DEVON:
{
htmltext = player.getRace() == Race.DARK_ELF ? "32160-01.html" : "32160-04.html";
break;
}
case TOOK:
{
htmltext = player.getRace() == Race.ORC ? "32150-01.html" : "32150-04.html";
break;
}
case MOKA:
{
htmltext = player.getRace() == Race.DWARF ? "32157-01.html" : "32157-04.html";
break;
}
case VALFAR:
{
htmltext = player.getRace() == Race.KAMAEL ? "32146-01.html" : "32146-04.html";
break;
}
}
break;
}
case State.COMPLETED:
{
switch (npc.getId())
{
case SEBION:
{
htmltext = "32978-06.html";
break;
}
case FRANCO:
{
htmltext = "32153-05.html";
break;
}
case RIVIAN:
{
htmltext = "32147-05.html";
break;
}
case DEVON:
{
htmltext = "32160-05.html";
break;
}
case TOOK:
{
htmltext = "32150-05.html";
break;
}
case MOKA:
{
htmltext = "32157-05.html";
break;
}
case VALFAR:
{
htmltext = "32146-05.html";
break;
}
}
break;
}
}
return htmltext;
}
}
/*
* 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.Q10366_RuinsStatusUpdate;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
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.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.Q10365_SeekerEscort.Q10365_SeekerEscort;
/**
* Ruins Status Update (10366)
* @author Gladicek
*/
public final class Q10366_RuinsStatusUpdate extends Quest
{
// NPCs
private static final int SEBION = 32978;
private static final int FRANCO = 32153;
private static final int RIVIAN = 32147;
private static final int DEVON = 32160;
private static final int TOOK = 32150;
private static final int MOKA = 32157;
private static final int VALFAR = 32146;
// Misc
private static final int MIN_LEVEL = 16;
private static final int MAX_LEVEL = 25;
public Q10366_RuinsStatusUpdate()
{
super(10366);
addStartNpc(SEBION);
addTalkId(SEBION, FRANCO, RIVIAN, DEVON, TOOK, MOKA, VALFAR);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "32978-10.htm");
addCondCompletedQuest(Q10365_SeekerEscort.class.getSimpleName(), "32978-10.htm");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "check_race":
{
switch (player.getRace())
{
case HUMAN:
{
qs.startQuest();
qs.setCond(2);
htmltext = "32978-03.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case ELF:
{
qs.startQuest();
qs.setCond(3);
htmltext = "32978-04.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case DARK_ELF:
{
qs.startQuest();
qs.setCond(4);
htmltext = "32978-05.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case ORC:
{
qs.startQuest();
qs.setCond(5);
htmltext = "32978-06.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case DWARF:
{
qs.startQuest();
qs.setCond(6);
htmltext = "32978-07.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case KAMAEL:
{
qs.startQuest();
qs.setCond(7);
htmltext = "32978-08.htm";
showOnScreenMsg(player, NpcStringId.USE_THE_ESCAPE_SCROLL_IN_YOUR_INVENTORY_TO_GO_TO_THE_ADMINISTRATIVE_OFFICE_IN_TALKING_ISLAND, ExShowScreenMessage.TOP_CENTER, 4500);
break;
}
case ERTHEIA:
{
break; // Retail like NCZoft typo in quest...
}
}
break;
}
case "32978-02.htm":
case "32146-02.htm":
case "32147-02.htm":
case "32150-02.htm":
case "32153-02.htm":
case "32157-02.htm":
case "32160-02.htm":
{
htmltext = event;
break;
}
case "32146-03.htm":
case "32147-03.htm":
case "32150-03.htm":
case "32153-03.htm":
case "32157-03.htm":
case "32160-03.htm":
{
if ((qs.getCond() >= 2) && (qs.getCond() <= 7))
{
giveAdena(player, 750, true);
addExpAndSp(player, 150000, 36);
qs.exitQuest(false, true);
}
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = null;
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == SEBION)
{
htmltext = "32978-01.htm";
break;
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case SEBION:
{
switch (qs.getCond())
{
case 2:
{
htmltext = "32978-03.htm";
break;
}
case 3:
{
htmltext = "32978-04.htm";
break;
}
case 4:
{
htmltext = "32978-05.htm";
break;
}
case 5:
{
htmltext = "32978-06.htm";
break;
}
case 6:
{
htmltext = "32978-07.htm";
break;
}
case 7:
{
htmltext = "32978-08.htm";
break;
}
}
break;
}
case FRANCO:
{
if (player.getRace() == Race.HUMAN)
{
if ((qs.isCond(2)))
{
htmltext = "32153-01.htm";
break;
}
}
htmltext = "32153-04.htm";
break;
}
case RIVIAN:
{
if (player.getRace() == Race.ELF)
{
if ((qs.isCond(3)))
{
htmltext = "32147-01.htm";
break;
}
}
htmltext = "32147-04.htm";
break;
}
case DEVON:
{
if (player.getRace() == Race.DARK_ELF)
{
if ((qs.isCond(4)))
{
htmltext = "32160-01.htm";
break;
}
}
htmltext = "32160-04.htm";
break;
}
case TOOK:
{
if (player.getRace() == Race.ORC)
{
if ((qs.isCond(5)))
{
htmltext = "32150-01.htm";
break;
}
}
htmltext = "32150-04.htm";
break;
}
case MOKA:
{
if (player.getRace() == Race.DWARF)
{
if ((qs.isCond(6)))
{
htmltext = "32157-01.htm";
break;
}
}
htmltext = "32157-04.htm";
break;
}
case VALFAR:
{
if (player.getRace() == Race.KAMAEL)
{
if ((qs.isCond(7)))
{
htmltext = "32146-01.htm";
break;
}
}
htmltext = "32146-04.htm";
break;
}
}
break;
}
case State.COMPLETED:
{
switch (npc.getId())
{
case SEBION:
{
htmltext = "32978-09.htm";
break;
}
case FRANCO:
case RIVIAN:
case DEVON:
case TOOK:
case MOKA:
case VALFAR:
{
htmltext = npc.getId() + "-05.htm";
break;
}
}
}
}
return htmltext;
}
}