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

@@ -0,0 +1,4 @@
<html><body>Grand Master Elliasin:<br>
Sorry, I don't have any information for you. Go find a Grand Master who can help you with this mission.<br>
(This NPC is only responsible for Temple Knights, Swordsingers, Plainswalkers, and Silver Rangers)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Ellenia:<br>
I'm glad to see you fit and well. We don't have time to talk though. Something urgent has come up.<br>
To be honest, I have some work I'd like you to take care of, adventurer. It is related to a very important incident.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30155-03.htm">"I'm listening."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Master Ellenia:<br>
As you know, the advent of Shilen was a threat to life itself. So, the leaders of every race promised to work together, setting aside their former feuding.<br>
At that time, <font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font>, gave me information about the greatest threat of all and asked me to recommend a trustworthy person to him.<br>
You've always done a good job for us, so I'm sending you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30155-04.htm">Accept the mission</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Elliasin:<br>
Good. Smart move.<br>
Go meet <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. I imagine he has a letter for you. Read the letter for details about your mission.<br>
You have a fine future ahead of you.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Elliasin:<br>
Good. Smart move.<br>
Go meet <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. I imagine he has a letter for you. Read the letter for details about your mission.<br>
You have a fine future ahead of you.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Elliasin:<br>
Huh? Oh, sorry, this mission isn't suitable for you.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Esrandell:<br>
Do you want something from me? I'm not the appropriate Grand Master for you in this mission.<br>
(Only Spellsingers, Elemental Summoners, or Elders may benefit from Magister Esrandel's knowledge.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Magister Esrandell:<br>
Tired? Well, the mission wasn't easy, I will say that. But hey, you got to transfer classes, so it worked out for the best, right? <br>
I was all for giving you a chance to rest, but something urgent came up. Urgent and important. Do you want to hear what it is? <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30158-03.htm">"As if you would actually not say it..."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Magister Esrandell:<br>
Shilen's advent is horrible, but the threat of annihilation did help the leaders of all races put their differences aside and work together. Now we have a net of surveillance and alerts woven between all the races. <br>
Which allowed us to receive important information on Shilen from <font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font>. He also asked for a warrior he could trust.<br>
And since you've done so well for us in the past...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30158-04.htm">I didn't see this coming. Not at all</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Esrandell:<br>
Go meet <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He has a letter for you, detailing your mission.<br>
May the light shine upon your path.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Esrandell:<br>
Go meet <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He has a letter for you, detailing your mission.<br>
May the light shine upon your path.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Magister Esrandell:<br>
What is it? I don't think you're fit to carry out this mission. Do you?<br>
(Only characters Lv.40 - 45 may perform this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rains:<br>
I'm sorry, but you should see your own grand master if you want to help out.<br>
(Only Gladiators, Warlords, Paladins, Dark Avengers, Treasure Hunters, or Hawkeyes can take this quest from this NPC.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Rains:<br>
It's good to see young people doing so well in the world. I only hope what I have to say doesn't spoil things for you.<br>
I have a favor to ask. Care to listen for a while?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30288-03.htm">"I'm listening."</Button><br>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Master Rains:<br>
Shilen's advent put all lives at risk. The leaders of each race put their past conflicts behind them, agreed to tighten security and work together to prevent possible threats.<br>
<font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font> brought me information about one such threat and asked me to recommend someone trustworthy.<br>
You've always done well for us, so I think you are the right one for this mission. Will you accept it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30288-04.htm">"As long as you promise to tell me what it is."</Button><br>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Rains:<br>
Good. You've learned that much at least.<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He'll have a letter for you with instructions about the mission.<br>
This is likely the last time we'll speak. You'll move on through the world, gaining power and responsibility while I stay behind to mentor the next heroes. Be safe, child. May the Power of Light always be with you!<br>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Rains:<br>
Good. You've learned that much at least.<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He'll have a letter for you with instructions about the mission.<br>
This is likely the last time we'll speak. You'll move on through the world, gaining power and responsibility while I stay behind to mentor the next heroes. Be safe, child. May the Power of Light always be with you!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Rains:<br>
On second thought, there is probably someone better suited for this mission.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Raymond:<br>
Sorry, I don't have anything for you. Go find a Grand Master who can help you with this mission.<br>
(Only Sorcerers, Necromancers, Warlocks, Bishops and Prophets may progress through this NPC)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Raymond:<br>
It's good to see you're fitting in well. I'm afraid I can't talk with you right now though. There's some rather urgent business to handle.<br>
Actually, now that I think about it, this task is something I'd prefer you did. Would you care to hear about it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30289-03.htm">"I'm listening."</Button><br>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>High Priest Raymond:<br>
The advent of Shilen put all lives at the verge of extinction. The leaders of each race promised to put their past conflicts and feuds aside and to cooperate with one another. They also agreed to tighten security to prevent possible threats to any race.<br>
Then, <font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font>, gave me information about a significant threat and asked me to recommend a trustworthy person to him.<br>
You've always done a good job for us. I think you are the right person for this task.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30289-04.htm">I'd be honored</Button><br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Raymond:<br>
<font color="LEVEL">Captain Bathis</font> of the Town of Gludio has a letter for you. Go to him to get the letter and instructions about the next task.<br>
May the power and radiance of Light be with you.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Raymond:<br>
<font color="LEVEL">Captain Bathis</font> of the Town of Gludio has a letter for you. Go to him to get the letter and instructions about the next task.<br>
May the power and radiance of Light be with you.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priest Raymond:<br>
What is it?<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -1,5 +1,4 @@
<html><body>Grand Master Tobias:<br>
How was your transition? Do you feel stronger now? Don't get complacent, I've got a job for you.<br>
Are you ready to try out your new skills?<br>
<button ALIGN="LEFT" ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30297-02.htm">"You know it!"</button>
<html><body>Grand Master Tobias:<br>
Why are you looking for me? You should speak to the trainers that can help you!<br>
(Only Dark Elf characters who have completed their 2nd Class Transfer can take quests through this NPC.)
</body></html>

View File

@@ -1,6 +1,5 @@
<html><body>Grand Master Tobias:<br>
Shillien's advent put all lives at risk. The leaders of each race put their past conflicts behind them, agreed to tighten security and work together to prevent possible threats.<br>
<font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font> came to me with information about a new problem, and asked me if I knew someone trustworthy.<br>
I think you are the person he needs for this mission. Are you free to accept it?
<button ALIGN="LEFT" ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30297-03.html">"You haven't told me what it is yet, but sure."</button>
<html><body>Grand Master Tobias:<br>
How was your transition? Do you feel stronger now? Don't get complacent, I've got a job for you.<br>
Are you ready to try out your new skills?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30297-03.htm">"You know it!"</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Master Tobias:<br>
Shilen's advent put all lives at risk. The leaders of each race put their past conflicts behind them, agreed to tighten security and work together to prevent possible threats.<br>
<font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font> came to me with information about a new problem, and asked me if I knew someone trustworthy.<br>
I think you are the person he needs for this mission. Are you free to accept it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30297-04.htm">"You haven't told me what it is yet, but sure."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grand Master Tobias:
I'm glad... both for you, and all of us.<br>
Now go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He will tell you what you need to know.<br>
Go! May the Glory of Shadow be with you always!
<html><body>Grand Master Tobias:<br>
I'm glad... both for you, and all of us.<br>
Now go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He will tell you what you need to know.<br>
Go! May the Glory of Shadow be with you always!
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Tobias:<br>
Don't waste time here talking to me. What you need to do is to go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. Read the letter he'll give you and get instructions about your next mission.<br>
Go! May the Glory of Shadow be with you always!
<html><body>Grand Master Tobias:<br>
Don't waste time here talking to me. What you need to do is to go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. Read the letter he'll give you and get instructions about your next mission.<br>
Go! May the Glory of Shadow be with you always!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Tobias:<br>
Learn your limits, friend, before an enemy shows them to you.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that High Prefect Drikus is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here is it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-02.html">Thank you.</button>
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that High Priest Raymond is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I am giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -1,4 +1,5 @@
<html><body>Captain Bathis:<br>
What are you waiting for? Go ahead and read the letter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-03.html">What, now? Okay.</button>
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that Grand Master Rains is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -1,3 +1,5 @@
<html><body>Kekropus' Letter:<br>
A secret organization called Embryo is trying to resurrect monsters from the Giant Age. Go to <font color=LEVEL>Captain Bathis</font> in the Town of Gludio and get the detail from him.<br>
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that Grand Master Tobias is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -1,7 +1,5 @@
<html><body>Captain Bathis:<br>
Are you done reading? If you continue to help us with our missions, Kekropus will regularly send you letters. Also, from now on, I'll enclose a Scroll of Escape in the envelope. It'll help you get to places easier.
<br>
Does that sound agreeable?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-05.html">Reasonable enough.</button>
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that High Prefect Drikus is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -1,4 +1,5 @@
<html><body>Captain Bathis:<br>
I've got another mission for you, a rather important one actually. I know you'll do your best. Let's get you to the mission Area.<br>
Go to <font color=LEVEL>Heine</font> and talk to Guard Captain Gosta about the mission. You'll find the scroll very useful. Good luck.
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that Head Blacksmith Mendio is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that Grand Master Gershwin is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Captain Bathis:<br>
Ah, you've arrived. I've heard that Grand Master Ellenia is paying a lot of attention to you. I'm not surprised. You're the reason for our success.<br>
You probably know already, but that's why I'm giving you this <font color="LEVEL">letter</font>. Here, take it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Thank you</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Captain Bathis:<br>
Ah, there you are. You made quite an impression on Grand Magister Esrandell! And no wonder.<br>
Here, this <font color="LEVEL">letter</font> is for you. Wouldn't want your efforts to go to waste!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-09.html">Of course not. Thanks</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Captain Bathis:<br>
What are you waiting for? Go ahead and read the letter.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter popup-letter.html">"What, now? Okay."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Captain Bathis:<br>
Are you done reading? If you continue to help us with our missions, Kekropus will regularly send you letters. Also, from now on, I'll enclose a Scroll of Escape in the envelope. It'll help you get to places easier.<br>
Does that sound agreeable?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30332-11.html">"Reasonable enough."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Captain Bathis:<br>
I've got another mission for you, a rather important one actually. I know you'll do your best. Let's get you to the mission area.<br>
Go to <font color="LEVEL">Heine</font> and talk to <font color="LEVEL">Guard Captain Gosta</font> about the mission. You'll find the scroll very useful. Good luck.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
Hmm, let me see... I can't help you. For this mission, you'll need go to visit your own Grand Master. Why did you come to me?<br>
(This quest can only be fulfilled by a Dwarf character who has completed a 2nd class transfer.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Head Blacksmith Mendio:<br>
Well, you appear much stronger after your class transfer! That's good.<br>
I have an urgent mission for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30504-03.htm">"I'm listening."</Button><br>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Head Blacksmith Mendio:<br>
With the advent of Shilen, the world is on the verge of collapse. So, the leaders of every race agreed to work together, leaving the past behind. When they sense a threat from Shilen, they will fight against her together.<br>
<font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font> gave me information about the greatest threat of all and asked me to recommend a trustworthy person to him.<br>
You've always done a great job for us, so the task is yours. Will you accept it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30504-04.htm">"Sure."</Button><br>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Mendio:<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He probably has a letter for you. Read the letter for instructions about the next mission.<br>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Mendio:<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He probably has a letter for you. Read the letter for instructions about your mission.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
I'm sorry, but you are not suited to this task. You've wasted your time if you came all the way here for this mission.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>High Prefect Drikus:<br>
Do you feel stronger after the class transfer? Good, but now is not time to be complacent. There is something you must do in order to resolve the crisis in Aden.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30505-02.htm">I'm listening.</button>
<html><body>High Prefect Drikus:<br>
No, you don't belong here. You need to find your own leader for this mission.<br>
(This quest can only be fulfilled by Orc characters who have completed the 2nd class transfer.)
</body></html>

View File

@@ -1,6 +1,4 @@
<html><body>High Prefect Drikus:<br>
As you know, the advent of Shilen was a disaster for every life. So, every race's leaders promised to work together, getting over their past feuding. Now, they can meet any impending threat.<br>
Kekropus, the Great Hierarch of Kamaels gave me informations about the great threat of all and asked me to recommend a trustworthy person to him.<br>
You've always done a great job for us, so the task is yours. Will you accept it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30505-03.html">Sure.</button>
<html><body>High Prefect Drikus:<br>
Do you feel stronger after the class transfer? Good, but now is not time to be complacent. There is something you must do in order to resolve the crisis in Aden.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30505-03.htm">"I'm listening."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>High Prefect Drikus:<br>
As you know, the advent of Shilen was a disaster for every life. So, every race's leaders promised to work together, getting over their past feuding. Now, they can meet any impending threat.<br>
<font color="LEVEL">Kekropus, the Great Hierarch of Kamaels</font> gave me information about the greatest threat of all and asked me to recommend a trustworthy person to him.<br>
You've always done a great job for us, so the task is yours. Will you accept it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30505-04.htm">"Sure."</Button><br>
</body></html>

View File

@@ -1,5 +0,0 @@
<html><body>High Prefect Drikus:<br>
Good decision.<br>
What you need to do is very simple. Go to <font color=LEVEL>Captain Bathis</font> in the Town of Gludio first. He has a letter for you. Read it and he will tell you what to do next.<br>
May the Flames of Pa'agrio illuminate your future!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Prefect Drikus:<br>
Good decision.<br>
What you need to do is very simple. Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio first. He has a letter for you. Read it and he will tell you what to do next.<br>
May the Flames of Pa'agrio illuminate your future!<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Drikus:<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He has a letter for you. Read it and he will tell you what to do next.<br>
May the Flames of Pa'agrio illuminate your future!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Drikus:<br>
Go away! Mind your own business.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Prefect Drikus:<br>
No you are Ertheia, this quest is not for you.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Prefect Drikus:<br>
Your level is wrong for this quest.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Captain Gosta:<br>
What brings you here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30916-02.html">Do you remember Kekropus?</button>
<html><body>Captain Gosta:<br>
What brings you here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30916-02.html">"Do you remember Kekropus?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Captain Gosta:<br>
Ah, I see. Kekropus spread the word to each territory that an organization called Embryo is trying to grow monsters from the seeds of this race. So just about everybody, including us, was looking out for anything suspicious.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30916-03.html">I'm listening</button>
<html><body>Captain Gosta:<br>
Ah, I see. Kekropus spread the word to each territory that an organization called Embryo is trying to grow monsters from the seeds of this race. So just about everybody, including us, was looking out for anything suspicious.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 30916-03.html">"I'm listening."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Captain Gosta:<br>
Not too long ago, we spotted a group of people with some strange equipment near Alligator Island. We sent several people over there to investigate. Still,
they could use your help. Meet Baron's Personal Escort Eli, but do so secretly.
<html><body>Captain Gosta:<br>
Not too long ago, we spotted a group of people with some strange equipment near <font color="LEVEL">Alligator Island</font>. We sent several people over there to investigate. Still, they could use your help. Meet <font color="LEVEL">Baron's Personal Escort Eli</font>, but do so secretly.<br>
Let me give you a <font color="LEVEL">Scroll of Escape</font> to help you get to Alligator Island. You'll find it much easier than the alternative.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Captain Gosta:<br>
Secretly meet <font color="LEVEL">Baron's Personal Escort Eli</font> on <font color="LEVEL">Alligator Island</font>.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Gershwin:<br>
Ah, I believe you are mistaken. Please see another grand master. I cannot help you, I'm afraid.<br><br>
(Only Kamael characters who have completed the 2nd Class Transfer can take this quest through this NPC.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Grand Master Gershwin:<br>
Look at you! All grown up and done with your Class Transfer! I could just pinch your cheeks! Ahem... But now it is not the time for celebration. There was an urgent report that needs attention.<br>
You've always done a great job for us, so the task is yours.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 32196-03.htm">"I'm listening."</Button><br>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Grand Master Gershwin:<br>
As you know, the advent of Shilen threatened all life. So, every race's leaders promised to work together, getting over their past feuds. This way, they could meet any threat they faced.<br>
At that time, <font color="LEVEL">Kekropus, the Great Hierarch of Kamaels,</font> gave me information about the greatest threat of all and asked me to recommend a trustworthy person to him.<br>
You've always done a great job for us, so the task is yours if you'll have it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 32196-04.htm">"I'll work on the task."</Button><br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Gershwin:<br>
I am glad you accepted the mission. You won't regret it. Now, go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He will have a letter for you. It will tell you all you need know about the mission.<br>
An honor.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Gershwin:<br>
Go to <font color="LEVEL">Captain Bathis</font> in the Town of Gludio. He will have a letter for you. It will tell you all you need know about the mission.<br>
An honor.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Gershwin:<br>
Oh! No, no, no... I think you must be mistaken. This mission is not for you.<br>
(Only characters between levels 40 and 45 can take this quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Baron's Personal Escort Eli:<br>
Who are you? Who has sent you? You'd better give me a good answer.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 33858-02.html">I came according to Kekropus' Letter.</button>
<html><body>Baron's Personal Escort Eli:<br>
Who are you? Who has sent you? You'd better give me a good answer.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10390_KekropusLetter 33858-02.html">"I came according to Kekropus' Letter."</Button>
</body></html>

View File

@@ -1,7 +1,4 @@
<html><body>Baron's Personal Escort Eli:<br>
So you're the one who's supposed to help me?<br1>
Good, good. Let's have you hide first, shall we?<br>
<font color=LEVEL>
- Note: You can develop yourself through quests and hunting at the hunting ground on Alligator Island. You can get the next item, Kekropus' Letter, at Lv. 46.
</font>
<html><body>Baron's Personal Escort Eli:<br>
So you're the one who's supposed to help me? Good, good. Let's have you hide first, shall we?<br><br>
<font color="LEVEL">- Note: You can develop yourself through quests and hunting at the hunting ground on Alligator Island. You can get the next item, Kekropus' Letter, at Lv. 46.</font>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br1>
For details, go to <font color=LEVEL>High Priest Drikus</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>Grand Master Tobias</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>Head Blacksmith Mendio</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>Grand Master Ellenia</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
Announce_ORC.html<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>Grand Master Rains</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>Grand Master Gershwin</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,7 +0,0 @@
<html><body>The Kekropus's Letter<br>
Remember the fragment you discovered last time?<br>
Trace the delegation's steps-to <font color=LEVEL>Gludio Village.</font><br>
For details, go to <font color=LEVEL>High Priest Drikus</font> in the <font color=LEVEL>Town of Gludio.</font><br>
<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Q10390_Teleport">Here I go!</button>
</body></html>

View File

@@ -1,357 +1,339 @@
/*
* 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.Q10390_KekropusLetter;
import com.l2jmobius.Config;
import com.l2jmobius.gameserver.ai.CtrlIntention;
import com.l2jmobius.gameserver.cache.HtmCache;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.handler.BypassHandler;
import com.l2jmobius.gameserver.handler.IBypassHandler;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Character;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.events.EventType;
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerLevelChanged;
import com.l2jmobius.gameserver.model.holders.ItemHolder;
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 com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
* Kekropus Letter (10390)
* @author Neanrakyr, spider
*/
public class Q10390_KekropusLetter extends Quest implements IBypassHandler
{
// NPCs
private static final int RAYMOND = 30289;
private static final int RAINS = 30288;
private static final int ELLENIA = 30155;
private static final int ESRANDELL = 30158;
private static final int TOBIAS = 30297;
private static final int DRIKUS = 30505;
private static final int MENDIO = 30504;
private static final int GERSHWIN = 32196;
private static final int BATHIS = 30332;
private static final int GOSTA = 30916;
private static final int ELI = 33858;
// Items
private static final ItemHolder KEKROPUS_LETTER = new ItemHolder(36706, 1);
private static final ItemHolder SCROLL_OF_ESCAPE_HEINE = new ItemHolder(37112, 1);
private static final ItemHolder ENCHANT_WEAPON_C = new ItemHolder(951, 3);
private static final ItemHolder SCROLL_OF_ESCAPE_ALIGATOR_ISLAND = new ItemHolder(37025, 1);
private static final ItemHolder STEEL_DOOR_GUILD = new ItemHolder(37045, 21);
// Requirements
private static final int MIN_LEVEL = 40;
private static final int MAX_LEVEL = 45;
// Rewards
private static final int EXP_REWARD = 370440;
private static final int SP_REWARD = 88;
// Teleports
// Town masters locations to teleport should be same order as the Race enum
private static final Location[] TP_LOCS =
{
new Location(-13571, 122971, -3107), // human
new Location(-13561, 122657, -3105), // elf
new Location(-12829, 123163, -3102), // dark elf
new Location(-12712, 124902, -3133), // orc
new Location(-15236, 124713, -3115), // dwarf
new Location(-13520, 125522, -3128), // kamael
};
private static final String[] TP_COMMANDS =
{
"Q10390_Teleport"
};
public Q10390_KekropusLetter()
{
super(10390, Q10390_KekropusLetter.class.getSimpleName(), "Kekropus' Letter");
addStartNpc(DRIKUS, RAYMOND, RAINS, ELLENIA, ESRANDELL, TOBIAS, MENDIO, GERSHWIN);
addTalkId(DRIKUS, BATHIS, GOSTA, ELI, RAYMOND, RAINS, ELLENIA, ESRANDELL, TOBIAS, MENDIO, GERSHWIN);
registerQuestItems(SCROLL_OF_ESCAPE_ALIGATOR_ISLAND.getId(), SCROLL_OF_ESCAPE_HEINE.getId(), KEKROPUS_LETTER.getId());
addCondLevel(MIN_LEVEL, MAX_LEVEL, "30505-noLevel.html");
BypassHandler.getInstance().registerHandler(this);
}
@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 "30505-03.html":
case "30297-03.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "30332-02.html":
{
if (getQuestItemsCount(player, KEKROPUS_LETTER.getId()) < 1)
{
giveItems(player, KEKROPUS_LETTER);
}
htmltext = event;
break;
}
case "30332-03.html":
{
if (qs.isCond(1))
{
qs.setCond(2);
htmltext = event;
}
break;
}
case "30332-05.html":
{
if (qs.isCond(2))
{
qs.setCond(3);
giveItems(player, SCROLL_OF_ESCAPE_HEINE);
htmltext = event;
}
break;
}
case "30916-03.html":
{
if (qs.isCond(3))
{
qs.setCond(4);
giveItems(player, SCROLL_OF_ESCAPE_ALIGATOR_ISLAND);
htmltext = event;
}
break;
}
case "33858-02.html":
{
if (qs.isCond(4))
{
giveItems(player, ENCHANT_WEAPON_C);
giveItems(player, STEEL_DOOR_GUILD);
addExpAndSp(player, EXP_REWARD, SP_REWARD);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_KEKROPUS_AT_LV_46, ExShowScreenMessage.TOP_CENTER, 4500);
qs.exitQuest(false, true);
htmltext = event;
}
break;
}
case "30505-02.htm":
case "30297-02.htm":
case "30916-02.html":
{
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (player.getRace() == Race.ERTHEIA)
{
return "30505-noErtheia.html";
}
switch (qs.getState())
{
case State.CREATED:
{
switch (npc.getId())
{
case RAYMOND:
case RAINS:
case ELLENIA:
case ESRANDELL:
case GERSHWIN:
case MENDIO:
case TOBIAS: // TODO: get all race specified texts
{
htmltext = "30297-01.htm";
break;
}
case DRIKUS:
{
if (player.getRace() == Race.ORC)
{
htmltext = "30505-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
default:
{
htmltext = getNoQuestMsg(player);
break;
}
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case RAYMOND:
case RAINS:
case ELLENIA:
case ESRANDELL:
case GERSHWIN:
case MENDIO:
case TOBIAS:// TODO: get all race specified texts
{
if (qs.isCond(1))
{
htmltext = "30297-03.html";
}
break;
}
case DRIKUS:
{
if (qs.isCond(1))
{
htmltext = "30505-03.html";
}
break;
}
case BATHIS:
{
if (qs.isCond(1))
{
htmltext = "30332-01.html";
}
else if (qs.isCond(2))
{
htmltext = "30332-04.html";
}
break;
}
case GOSTA:
{
if (qs.isCond(3))
{
htmltext = "30916-01.html";
}
break;
}
case ELI:
{
if (qs.isCond(4))
{
htmltext = "33858-01.html";
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
@RegisterEvent(EventType.ON_PLAYER_LEVEL_CHANGED)
@RegisterType(ListenerRegisterType.GLOBAL)
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
{
if (Config.DISABLE_TUTORIAL)
{
return;
}
final L2PcInstance player = event.getActiveChar();
if ((player.getLevel() >= MIN_LEVEL) && (player.getLevel() <= MAX_LEVEL) && (player.getRace() != Race.ERTHEIA))
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
final NpcHtmlMessage html = new NpcHtmlMessage(0, 0);
html.setHtml(HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "scripts/quests/Q10390_KekropusLetter/Announce_" + player.getRace().name() + ".html"));
player.sendPacket(html);
// todo: get proper announce html && handle it
}
}
}
@Override
public boolean useBypass(String command, L2PcInstance player, L2Character bypassOrigin)
{
final QuestState qs = getQuestState(player, false);
if ((qs != null) || (player.getLevel() < MIN_LEVEL) || (player.getLevel() > MAX_LEVEL) || (player.getRace() == Race.ERTHEIA))
{
return false;
}
if (player.isInParty())
{
player.sendPacket(new ExShowScreenMessage("You cannot teleport when you are in party.", 5000));
}
else if (player.isInCombat())
{
player.sendPacket(new ExShowScreenMessage("You cannot teleport when you are in combat.", 5000));
}
else if (player.isInDuel())
{
player.sendPacket(new ExShowScreenMessage("You cannot teleport when you are in a duel.", 5000));
}
else if (player.isInOlympiadMode())
{
player.sendPacket(new ExShowScreenMessage("You cannot teleport when you are in Olympiad.", 5000));
}
else if (player.isInVehicle())
{
player.sendPacket(new ExShowScreenMessage("You cannot teleport when you are in any vehicle or mount.", 5000));
}
else
{
player.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
player.teleToLocation(TP_LOCS[player.getRace().ordinal()]);
}
return true;
}
@Override
public String[] getBypassList()
{
return TP_COMMANDS;
}
/*
* 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.Q10390_KekropusLetter;
import com.l2jmobius.gameserver.model.actor.L2Character;
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 com.l2jmobius.gameserver.network.serverpackets.PlaySound;
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
import quests.Q10360_CertificationOfFate.Q10360_CertificationOfFate;
/**
* Kekropus' Letter (10390)
* @author St3eT
*/
public final class Q10390_KekropusLetter extends Quest
{
// NPCs
private static final int RAYMOND = 30289;
private static final int RAINS = 30288;
private static final int TOBIAS = 30297;
private static final int DRIKUS = 30505;
private static final int MENDIO = 30504;
private static final int GERSHWIN = 32196;
private static final int ESRANDELL = 30158;
private static final int ELLENIA = 30155;
private static final int BATHIS = 30332;
private static final int GOSTA = 30916;
private static final int ELI = 33858;
private static final int INVISIBLE_NPC = 19543;
// Items
private static final int KEKROPUS_LETTER = 36706;
private static final int HAINE_SOE = 37112; // Scroll of Escape: Heine
private static final int ALLIGATOR_ISLAND_SOE = 37025; // Scroll of Escape: Alligator Island
private static final int EWC = 951; // Scroll: Enchant Weapon (C-grade)
// Misc
private static final int MIN_LEVEL = 40;
private static final int MAX_LEVEL = 45;
public Q10390_KekropusLetter()
{
super(10390);
addStartNpc(RAYMOND, RAINS, TOBIAS, DRIKUS, MENDIO, GERSHWIN, ESRANDELL, ELLENIA);
addTalkId(RAYMOND, RAINS, TOBIAS, DRIKUS, MENDIO, GERSHWIN, ESRANDELL, ELLENIA, BATHIS, GOSTA, ELI);
addSeeCreatureId(INVISIBLE_NPC);
registerQuestItems(KEKROPUS_LETTER, HAINE_SOE, ALLIGATOR_ISLAND_SOE);
addCondCompletedQuest(Q10360_CertificationOfFate.class.getSimpleName(), "");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "30289-03.htm":
case "30288-03.htm":
case "30297-03.htm":
case "30505-03.htm":
case "30504-03.htm":
case "32196-03.htm":
case "30158-03.htm":
case "30155-03.htm":
case "30916-02.html":
{
htmltext = event;
break;
}
case "30289-04.htm":
case "30288-04.htm":
case "30297-04.htm":
case "30505-04.htm":
case "30504-04.htm":
case "32196-04.htm":
case "30158-04.htm":
case "30155-04.htm":
{
st.startQuest();
htmltext = event;
break;
}
case "30332-09.html":
{
if (st.isCond(1))
{
giveItems(player, KEKROPUS_LETTER, 1);
htmltext = event;
}
break;
}
case "popup-letter.html":
{
if (st.isCond(1))
{
player.sendPacket(new TutorialShowHtml(getHtm(player.getHtmlPrefix(), event)));
player.sendPacket(new PlaySound(3, "Npcdialog1.kekrops_quest_1", 0, 0, 0, 0, 0));
st.setCond(2);
}
break;
}
case "30332-11.html":
{
if (st.isCond(2))
{
takeItems(player, KEKROPUS_LETTER, -1);
giveItems(player, HAINE_SOE, 1);
st.setCond(3);
htmltext = event;
}
break;
}
case "30916-03.html":
{
if (st.isCond(3))
{
giveItems(player, ALLIGATOR_ISLAND_SOE, 1);
st.setCond(4);
htmltext = event;
}
break;
}
case "33858-02.html":
{
if (st.isCond(4))
{
giveItems(player, EWC, 3);
giveStoryQuestReward(player, 21);
addExpAndSp(player, 370440, 88);
st.exitQuest(false, true);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_KEKROPUS_AT_LV_46, ExShowScreenMessage.TOP_CENTER, 6000);
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
switch (st.getState())
{
case State.CREATED:
{
switch (npc.getId())
{
case RAYMOND:
case ESRANDELL:
case RAINS:
case ELLENIA:
case TOBIAS:
case DRIKUS:
case MENDIO:
case GERSHWIN:
{
if ((player.getLevel() < MIN_LEVEL) || (player.getLevel() > MAX_LEVEL))
{
htmltext = npc.getId() + "-06.html";
}
else
{
htmltext = isRightMaster(npc, player) ? npc.getId() + "-02.htm" : npc.getId() + "-01.htm";
}
break;
}
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case RAYMOND:
case ESRANDELL:
case RAINS:
case ELLENIA:
case TOBIAS:
case DRIKUS:
case MENDIO:
case GERSHWIN:
{
if (st.isCond(1))
{
htmltext = npc.getId() + "-05.html";
}
break;
}
case BATHIS:
{
switch (st.getCond())
{
case 1:
{
switch (player.getRace())
{
case HUMAN:
htmltext = player.isMageClass() ? "30332-01.html" : "30332-02.html";
break;
case DARK_ELF:
htmltext = "30332-03.html";
break;
case ORC:
htmltext = "30332-04.html";
break;
case DWARF:
htmltext = "30332-05.html";
break;
case KAMAEL:
htmltext = "30332-06.html";
break;
case ELF:
htmltext = player.isMageClass() ? "30332-08.html" : "30332-07.html";
break;
}
break;
}
case 2:
{
htmltext = "30332-10.html";
break;
}
case 3:
{
htmltext = "30332-11.html";
break;
}
}
break;
}
case GOSTA:
{
if (st.isCond(3))
{
htmltext = "30916-01.html";
}
else if (st.isCond(4))
{
htmltext = "30916-04.html";
}
break;
}
case ELI:
{
if (st.isCond(4))
{
htmltext = "33858-01.html";
}
break;
}
}
break;
}
}
return htmltext;
}
@Override
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
{
if (creature.isPlayer())
{
final L2PcInstance player = creature.getActingPlayer();
final QuestState st = getQuestState(player, false);
if ((st != null) && st.isCond(4))
{
showOnScreenMsg(player, NpcStringId.ALLIGATOR_ISLAND_IS_A_GOOD_HUNTING_ZONE_FOR_LV_40_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
}
return super.onSeeCreature(npc, creature, isSummon);
}
private boolean isRightMaster(L2Npc npc, L2PcInstance player)
{
switch (npc.getId())
{
case RAYMOND:
case ESRANDELL:
{
if ((npc.getRace() == player.getRace()) && player.isMageClass())
{
return true;
}
break;
}
case RAINS:
case ELLENIA:
{
if ((npc.getRace() == player.getRace()) && !player.isMageClass())
{
return true;
}
break;
}
case TOBIAS:
case DRIKUS:
case MENDIO:
case GERSHWIN:
{
if (npc.getRace() == player.getRace())
{
return true;
}
break;
}
}
return false;
}
}

View File

@@ -0,0 +1,4 @@
<html><title>Kekropus' Letter</title></head><body>Kekropus' Letter:<br>
A secret organization called <font color="LEVEL">Embryo</font> is trying to resurrect monsters from the Giant Age. Go to <font color="LEVEL">Captain Bathis</font> in the <font color="LEVEL">Town of Gludio</font> and get the details from him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Cancel</Button>
</body></html>