Sync with L2JServer Jan 28th 2015.

This commit is contained in:
mobius
2015-01-29 05:18:04 +00:00
parent 59e1db4a68
commit 2cb3a52ed2
224 changed files with 4690 additions and 835 deletions

View File

@@ -1,5 +0,0 @@
<html><head><body>Pantheon:<br>
You are Ertheia. You should continue your learning somewhere else. <br>
(This quest is only available for characters of a non-Ertheia class.)
<br>
</body></html>

View File

@@ -1,9 +1,6 @@
<html><body>Pantheon:<br>
It is a devastating tale that you will soon learn. Once one of the seals that bound the Goddess of Destruction was released, many catastrophic events
followed. Such was the case with the fall of Ye Sagira.<br>
It is a devastating tale that you will soon learn. Once one of the seals that bound the Goddess of Destruction was released, many catastrophic events followed. Such was the case with the fall of Ye Sagira.<br>
Scholars including myself were dispatched to study the ruins. Soon all other races came as well.<br>
I cannot recall the event fully, but Theodore knows more about when the migration of all the races came to Talking Island Village. You should speak with
him.<br>
I cannot recall the event fully, but Theodore knows more about when the migration of all the races came to Talking Island Village. You should speak with him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32972-03.htm">"Umm... Where can I find him?"</Button>
<br>
</body></html>

View File

@@ -1,5 +1,3 @@
<html><head><body>Pantheon:<br>
Theodore can be found in the <font color="LEVEL">Central Square</font> of this village. He is responsible for the Ruins of Ye Sagira Rangers. However they are terribly shorthanded these days. Who knows, maybe if you can prove yourself he might be interested in having you join them. <br1>
<br>
<html><body>Pantheon:<br>
Theodore can be found in the <font color="LEVEL">Central Square</font> of this village. He is responsible for the Ruins of Ye Sagira Rangers. However they are terribly shorthanded these days. Who knows, maybe if you can prove yourself he might be interested in having you join them.
</body></html>

View File

@@ -1,4 +1,3 @@
<html><head><body>Pantheon:<br>
Have you met Theodore? He's in the <font color="LEVEL">Town Square Center</font>.
<br>
<html><body>Pantheon:<br>
Have you met Theodore? He's in the <font color="LEVEL">Town Square Center</font>.
</body></html>

View File

@@ -1,4 +1,3 @@
<html><head><body>Pantheon:<br>
<html><body>Pantheon:<br>
I will ask again if there's something to ask.
<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Theodore:<br>
Ah, I see the Pantheon has sent another to ask me about the migration of the races here in Talking Island Village. Is this what you've come to discuss?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32975-02.html">Ask about migration of races.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10320_LetsGoToTheCentralSquare 32975-02.htm">Ask about migration of races.</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Theodore:<br>
Go away! I'm busy! Come back when you have something to say.<br>
(The quest is not in progress or the conditions are not satisfied.)
</body></html>

View File

@@ -39,7 +39,7 @@ import com.l2jserver.gameserver.util.Broadcast;
/**
* Let's Go To The Central Square (10320)
* @author ivantotov
* @author ivantotov, Gladicek
*/
public final class Q10320_LetsGoToTheCentralSquare extends Quest
{
@@ -62,8 +62,8 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
addStartNpc(PANTHEON);
addTalkId(PANTHEON, THEODORE);
addEnterZoneId(TALKING_ISLAND_PRESENTATION_MOVIE_ZONE);
addCondMaxLevel(MAX_LEVEL, "32972-01a.html");
addCondNotRace(Race.ERTHEIA, "32972-01b.html");
addCondMaxLevel(MAX_LEVEL, "32972-01a.htm");
addCondNotRace(Race.ERTHEIA, "32972-01b.htm");
}
@Override
@@ -90,7 +90,7 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
htmltext = event;
break;
}
case "32975-02.html":
case "32975-02.htm":
{
giveAdena(player, 30, true);
addExpAndSp(player, 30, 5);
@@ -107,26 +107,23 @@ public final class Q10320_LetsGoToTheCentralSquare extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
String htmltext = null;
switch (qs.getState())
{
case State.CREATED:
{
if (npc.getId() == PANTHEON)
{
htmltext = "32972-01.htm";
}
htmltext = npc.getId() == PANTHEON ? "32972-01.htm" : "32975-04.htm";
break;
}
case State.STARTED:
{
htmltext = npc.getId() == PANTHEON ? "32972-04.html" : "32975-01.html";
htmltext = npc.getId() == PANTHEON ? "32972-04.htm" : "32975-01.htm";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == PANTHEON ? "32972-05.html" : "32975-03.html";
htmltext = npc.getId() == PANTHEON ? "32972-05.htm" : "32975-03.htm";
break;
}
}

View File

@@ -1,5 +1,5 @@
<html><body>Shannon:<br>
Eh? You want to be a seeker<br>
You look weak.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.html">"Don't underestimate me."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.htm">"Don't underestimate me."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
Nice day, eh?<br>
(you have already completed the quest.)
(You have already completed the quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time. Go away.<br>
(The quest is not in progress, or the conditions have not been satisfied.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><head><body>Theodore:<br>
<html><body>Theodore:<br>
Haa... There are so many things to do around here!<br>
There's one problem here, and there another problem... I get a steady influx of seekers, but the pile of work just gets higher and higher. I'm not sure there are enough Seekers in the world to tackle this amount of work...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-02.htm">"What are the Seekers?"</Button>

View File

@@ -1,5 +0,0 @@
<html><body>Theodore:<br>
You are Ertheia. You should continue your learning somewhere else. <br>
(This quest is only available for characters of a non-Ertheia class.)
<br>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><head><body>Theodore:<br>
<html><body>Theodore:<br>
Seekers are scholars and warriors dedicated to searching through the Ruins of Ye Sagira.<br>
However, they recently ran into a spot of bother after the local monsters decided to get all territorial. Now, a good number of my Seekers are injured, and the work just keeps on piling up...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-03.htm">"Where do I sign up? I want to be a Seeker."</Button>

View File

@@ -1,7 +1,6 @@
<html><head><body>Theodore:<br>
<html><body>Theodore:<br>
You what? Really? Even after what I just told you?? <br>
Well, anyone can become a seeker, but you must first get certified. <font color="LEVEL">Shannon</font> can start you on that path - head to the <font color="LEVEL">Training Grounds</font> to see her, and she'll teach you about scouts. <br>
Well, anyone can become a seeker, but you must first get certified. <font color="LEVEL">Shannon</font> can start you on that path - head to the <font color="LEVEL">Training Grounds</font> to see her, and she'll teach you about scouts.<br>
Now get going - speed is of the essence and all that!<br>
I will briefly tell you how to get there.
<br>
</body></html>

View File

@@ -1,4 +1,3 @@
<html><head><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
<br>
<html><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
</body></html>

View File

@@ -1,4 +1,3 @@
<html><head><body>Theodore:<br>
<html><body>Theodore:<br>
Ah... Thanks for your help. If you can handle it again next time, that would be great.
<br>
</body></html>

View File

@@ -20,16 +20,20 @@ package quests.Q10321_QualificationsOfTheSeeker;
import quests.Q10320_LetsGoToTheCentralSquare.Q10320_LetsGoToTheCentralSquare;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.NpcSay;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
import com.l2jserver.gameserver.util.Broadcast;
/**
* Qualifications Of The Seeker (10321)
* @author ivantotov
* @author ivantotov, Gladicek
*/
public final class Q10321_QualificationsOfTheSeeker extends Quest
{
@@ -45,7 +49,6 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
addStartNpc(THEODORE);
addTalkId(THEODORE, SHANNON);
addCondMaxLevel(MAX_LEVEL, "32975-01a.htm");
addCondNotRace(Race.ERTHEIA, "32975-01b.htm");
addCondCompletedQuest(Q10320_LetsGoToTheCentralSquare.class.getSimpleName(), "32975-01a.htm");
}
@@ -73,11 +76,12 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
htmltext = event;
break;
}
case "32974-02.html":
case "32974-02.htm":
{
giveAdena(player, 50, true);
addExpAndSp(player, 40, 5);
qs.exitQuest(false, true);
Broadcast.toKnownPlayers(npc, new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getTemplate().getDisplayId(), NpcStringId.HM_DON_T_JUST_GO_I_STILL_HAVE_TONS_TO_TEACH_YOU));
htmltext = event;
break;
}
@@ -89,34 +93,24 @@ public final class Q10321_QualificationsOfTheSeeker extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
String htmltext = null;
switch (qs.getState())
{
if (npc.getId() == THEODORE)
case State.CREATED:
{
htmltext = "32975-01.htm";
htmltext = npc.getId() == THEODORE ? "32975-01.htm" : "32974-04.htm";
break;
}
}
else if (qs.isStarted())
{
if (npc.getId() == THEODORE)
case State.STARTED:
{
htmltext = "32975-04.html";
htmltext = npc.getId() == THEODORE ? "32975-04.htm" : "32974-01.htm";
break;
}
else if (npc.getId() == SHANNON)
case State.COMPLETED:
{
htmltext = "32974-01.html";
}
}
else if (qs.isCompleted())
{
if (npc.getId() == THEODORE)
{
htmltext = "32975-05.html";
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-03.html";
htmltext = npc.getId() == THEODORE ? "32975-05.htm" : "32974-03.htm";
break;
}
}
return htmltext;

View File

@@ -1,4 +1,4 @@
<html><head><body>Shannon:<br>
<html><body>Shannon:<br>
You've got style, friend, but you're missing a few key techniques.<br>
Hmm... you know, I could help you get stronger... teach you a few tricks of the trade...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10322_SearchingForTheMysteriousPower 32974-02.htm">"And why would you do that?"</Button>

View File

@@ -1,5 +1,4 @@
<html><head><body>Shannon:<br>
<html><body>Shannon:<br>
Did you need me?<br>
(Only characters under level 20, who have completed "Conditions of Scout" may start this quest)
<br>
(Only characters under level 20, who have completed "Conditions of Scout" may start this quest.)
</body></html>

View File

@@ -1,5 +0,0 @@
<html><head><body>Shannon:<br>
You are Ertheia. You should continue your learning somewhere else. <br>
(This quest is only available for characters of a non-Ertheia class.)
<br>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><head><body>Shannon:<br>
Why would I do that? <br1>
<html><body>Shannon:<br>
Why would I do that?<br1>
Well, let me see. For starters, I'm training up the entire district, so it's kind of what I do. Second, we need all the help we can get, and third, maybe I think you might have what it takes to be someone in this place. Thought about that?<br>
You know, suspicious isn't an attractive trait. Either you calm down and tell me where you need help, or you can jog on and find your own way.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10322_SearchingForTheMysteriousPower 32974-03.htm">"I just want to get stronger."</Button>

View File

@@ -1,7 +1,5 @@
<html><head><body>Shannon:<br>
<html><body>Shannon:<br>
Well, guess what? I can help. That's right - H.E.L.P.<br>
I've set up a little test for newbies - just head down the hill until you see <font color="LEVEL">Evain</font>.<br>
Go on. You'll have fun, probably.
<br>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
What are you waiting for?<br1>
Head down the hill until you see <font color="LEVEL">Evain</font> !
</body></html>

View File

@@ -1,5 +0,0 @@
<html><head><body>Shannon:<br>
What are you waiting for? <br1>
Head down the hill until you see <font color="LEVEL">Evain</font> !
<br>
</body></html>

View File

@@ -1,5 +1,4 @@
<html><head><body>Shannon:<br>
<html><body>Shannon:<br>
Still trying to get stronger? You'll have to look elsewhere, friend. I've taught you all I know.<br>
(You've already completed this quest)
<br>
(You've already completed this quest.)
</body></html>

View File

@@ -2,5 +2,5 @@
Did Shannon or Evain send you? Well, I guess I'll tell you what I know about the mysterious power.<br>
It's not complicated. You just have to dedicate yourself. Practice makes perfect.<br>
I can help if need be. What would you like to do?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10322_SearchingForTheMysteriousPower 32981-02.html">"I'll do anything to get stronger!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10322_SearchingForTheMysteriousPower 32981-02.htm">"I'll do anything to get stronger!"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Adventurers' Guide for Training:<br>
If you don't mind, I'll get back to work now.<br>
(Quest not in progress)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Evain:<br>
Unused weapon becomes dull and rusty.<br>
The mission I give you is not that diffcult - just attack any of the <font color="LEVEL">Scarecrow</font> araund here!
The mission I give you is not that diffcult - just attack any of the <font color="LEVEL">Scarecrow</font> around here!
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Evain:<br>
Good, but know that tis is just the beginning.<br>
Good, but know that this is just the beginning.<br>
Go and seek the <font color="LEVEL">Training Newbie Helper</font> for strength, then attack the scarecrow again. You'll get there!
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Evain:<br>
Attack the <font color="LEVEL">Scarecrow</font> again.<br>
You'll feel yourself changed from earlier
You'll feel yourself changed from earlier.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
Why did you come here?<br>
(Only characters under level 20, who have completed the Looking for Mysterious Power quest, may start this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
It's good to see you growing stronger with each passing day. Is there something you want from me?<br>
(This quest has already been completed)
</body></html>

View File

@@ -20,20 +20,23 @@ package quests.Q10322_SearchingForTheMysteriousPower;
import quests.Q10321_QualificationsOfTheSeeker.Q10321_QualificationsOfTheSeeker;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.SkillHolder;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jserver.gameserver.network.serverpackets.NpcSay;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
import com.l2jserver.gameserver.util.Broadcast;
import com.l2jserver.gameserver.util.Util;
/**
* Searching For The Mysterious Power (10322)
* @author ivantotov
* @author ivantotov, Gladicek
*/
public final class Q10322_SearchingForTheMysteriousPower extends Quest
{
@@ -53,10 +56,8 @@ public final class Q10322_SearchingForTheMysteriousPower extends Quest
private static final int APPRENTICE_ADVENTURERS_CESTUS = 7819;
private static final int APPRENTICE_ADVENTURERS_BOW = 7820;
private static final int APPRENTICE_ADVENTURERS_LONG_SWORD = 7821;
// Message
// Misc
private static final int MAX_LEVEL = 20;
private static final ExShowScreenMessage MESSAGE = new ExShowScreenMessage(NpcStringId.WEAPONS_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, 2, 5000);
// Buffs
private static final SkillHolder[] FIGHTER_BUFFS =
{
@@ -85,7 +86,6 @@ public final class Q10322_SearchingForTheMysteriousPower extends Quest
addTalkId(SHANNON, ADVENTURERS_GUIDE, EVAIN);
addKillId(SCARECROW);
addCondMaxLevel(MAX_LEVEL, "32974-01a.htm");
addCondNotRace(Race.ERTHEIA, "32974-01b.htm");
addCondCompletedQuest(Q10321_QualificationsOfTheSeeker.class.getSimpleName(), "32974-01a.htm");
}
@@ -112,7 +112,7 @@ public final class Q10322_SearchingForTheMysteriousPower extends Quest
htmltext = event;
break;
}
case "32981-02.html":
case "32981-02.htm":
{
if (qs.isCond(4))
{
@@ -157,90 +157,122 @@ public final class Q10322_SearchingForTheMysteriousPower extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
String htmltext = null;
switch (qs.getState())
{
if (npc.getId() == SHANNON)
case State.CREATED:
{
htmltext = "32974-01.htm";
}
}
else if (qs.isStarted())
{
if (npc.getId() == SHANNON)
{
if (qs.isCond(1))
if (npc.getId() == SHANNON)
{
htmltext = "32974-04.html";
htmltext = "32974-01.htm";
break;
}
else if (npc.getId() == EVAIN)
{
htmltext = "33464-07.htm";
break;
}
else if (npc.getId() == ADVENTURERS_GUIDE)
{
htmltext = "32981-04.htm";
break;
}
}
else if (npc.getId() == ADVENTURERS_GUIDE)
case State.STARTED:
{
if (qs.isCond(4))
if (npc.getId() == SHANNON)
{
htmltext = "32981-01.html";
}
else if (qs.isCond(5))
{
htmltext = "32981-03.html";
}
}
else if (npc.getId() == EVAIN)
{
switch (qs.getCond())
{
case 1:
if (qs.isCond(1))
{
qs.setCond(2, true);
htmltext = "33464-01.html";
break;
}
case 2:
{
htmltext = "33464-02.html";
break;
}
case 3:
{
qs.setCond(4, true);
htmltext = "33464-03.html";
break;
}
case 4:
{
htmltext = "33464-04.html";
break;
}
case 5:
{
htmltext = "33464-05.html";
break;
}
case 6:
{
htmltext = "33464-06.html";
player.sendPacket(MESSAGE);
giveItems(player, WOODEN_ARROW, 500);
giveItems(player, ADENA, 70);
giveItems(player, HEALING_POTION, 50);
giveItems(player, APPRENTICE_ADVENTURERS_STAFF, 1);
giveItems(player, APPRENTICE_ADVENTURERS_BONE_CLUB, 1);
giveItems(player, APPRENTICE_ADVENTURERS_KNIFE, 1);
giveItems(player, APPRENTICE_ADVENTURERS_CESTUS, 1);
giveItems(player, APPRENTICE_ADVENTURERS_BOW, 1);
giveItems(player, APPRENTICE_ADVENTURERS_LONG_SWORD, 1);
addExpAndSp(player, 300, 5);
qs.exitQuest(false, true);
htmltext = "32974-04.htm";
break;
}
}
else if (npc.getId() == ADVENTURERS_GUIDE)
{
if (qs.isCond(4))
{
htmltext = "32981-01.htm";
break;
}
else if (qs.isCond(5))
{
htmltext = "32981-03.htm";
break;
}
}
else if (npc.getId() == EVAIN)
{
switch (qs.getCond())
{
case 1:
{
qs.setCond(2, true);
htmltext = "33464-01.htm";
break;
}
case 2:
{
htmltext = "33464-02.htm";
break;
}
case 3:
{
qs.setCond(4, true);
htmltext = "33464-03.htm";
break;
}
case 4:
{
htmltext = "33464-04.htm";
break;
}
case 5:
{
htmltext = "33464-05.htm";
break;
}
case 6:
{
htmltext = "33464-06.htm";
showOnScreenMsg(player, NpcStringId.WEAPONS_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
giveItems(player, WOODEN_ARROW, 500);
giveItems(player, ADENA, 70);
giveItems(player, HEALING_POTION, 50);
giveItems(player, APPRENTICE_ADVENTURERS_STAFF, 1);
giveItems(player, APPRENTICE_ADVENTURERS_BONE_CLUB, 1);
giveItems(player, APPRENTICE_ADVENTURERS_KNIFE, 1);
giveItems(player, APPRENTICE_ADVENTURERS_CESTUS, 1);
giveItems(player, APPRENTICE_ADVENTURERS_BOW, 1);
giveItems(player, APPRENTICE_ADVENTURERS_LONG_SWORD, 1);
addExpAndSp(player, 300, 5);
Broadcast.toKnownPlayers(npc, new NpcSay(npc.getObjectId(), Say2.NPC_ALL, npc.getTemplate().getDisplayId(), NpcStringId.THERE_S_THE_NEXT_TRAINING_STEP));
qs.exitQuest(false, true);
break;
}
}
}
break;
}
}
else if (qs.isCompleted())
{
if (npc.getId() == SHANNON)
case State.COMPLETED:
{
htmltext = "32974-05.html";
if (npc.getId() == SHANNON)
{
htmltext = "32974-05.htm";
break;
}
else if (npc.getId() == EVAIN)
{
htmltext = "33464-08.htm";
break;
}
// Official is using same html for created/completed
else if (npc.getId() == ADVENTURERS_GUIDE)
{
htmltext = "32981-04.htm";
break;
}
}
}
return htmltext;

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
Did you learn a lot from Evain? Fight off the hordes of scarecrows? Travel to any exotic underground locations? Ha ha ha. You need to learn from the field! Did you learn ANYTHING there?
Did you learn a lot from Evain? Fight off the hordes of scarecrows? Travel to any exotic underground locations? Ha ha ha. You need to learn from the field! Did you learn ANYTHING there?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10323_TrainLikeItsReal 32974-02.htm">"I can use shots now... that's pretty cool."</button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time! Talk to me when you have something to say!<br>
(Only characters of level 20 or lower, who have completed the Searching for the Mysterious Power quest, may start this quest)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time! Talk to me when you have something to say!<br>
(Only characters of level 20 or lower, who have completed the Searching for the Mysterious Power quest, may start this quest)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time! Talk to me when you have something to say!<br>
(You have already completed this quest)
</body></html>

View File

@@ -1,5 +1,4 @@
<html><body>Evain:<br>
No need to hurry. Also, the mission is managed by
<font color=LEVEL>Holden</font> at the <font color=LEVEL>Training Grounds Underground Facility Entrance</font>.
No need to hurry. Also, the mission is managed by <font color=LEVEL>Holden</font> at the <font color=LEVEL>Training Grounds Underground Facility Entrance</font>.
If you tell him that I sent you, he will give you details.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
It's good to see you growing stronger with each passing day. Is there something you want from me?<br>
(This quest has already been completed)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Evain:<br>
Why did you come here?<br>
(Only characters under level 20, who have completed the Looking for Mysterious Power quest, may start this quest)
</body></html>

View File

@@ -21,18 +21,19 @@ package quests.Q10323_TrainLikeItsReal;
import quests.Q10322_SearchingForTheMysteriousPower.Q10322_SearchingForTheMysteriousPower;
import com.l2jserver.gameserver.enums.QuestSound;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.ItemHolder;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.serverpackets.ExQuestNpcLogList;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
/**
* @author Sdw
* @author Sdw, Gladicek
*/
public class Q10323_TrainLikeItsReal extends Quest
{
@@ -44,7 +45,6 @@ public class Q10323_TrainLikeItsReal extends Quest
private static final int TRAINING_GOLEM = 27532;
// Misc
private static final int MAX_LEVEL = 20;
private static final String KILL_VAR = "Q10323_KILL";
// Items
private static final ItemHolder SPIRITSHOTS = new ItemHolder(2509, 500);
private static final ItemHolder SOULSHOTS = new ItemHolder(1835, 500);
@@ -55,9 +55,8 @@ public class Q10323_TrainLikeItsReal extends Quest
addStartNpc(EVAIN);
addTalkId(HOLDEN, EVAIN, SHANNON);
addKillId(TRAINING_GOLEM);
addCondMaxLevel(MAX_LEVEL, "fixme.htm");
addCondNotRace(Race.ERTHEIA, "fixme.htm");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "fixme.htm");
addCondMaxLevel(MAX_LEVEL, "33464-05.htm");
addCondCompletedQuest(Q10322_SearchingForTheMysteriousPower.class.getSimpleName(), "33464-05.htm");
}
@Override
@@ -100,6 +99,9 @@ public class Q10323_TrainLikeItsReal extends Quest
if (qs.isCond(1))
{
qs.setCond(2, true);
final ExQuestNpcLogList packet = new ExQuestNpcLogList(getId());
packet.addNpc(TRAINING_GOLEM, 0);
player.sendPacket(packet);
htmltext = event;
}
break;
@@ -108,7 +110,7 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (qs.isCond(3))
{
qs.set(KILL_VAR, 0);
qs.setMemoState(0);
if (player.isMageClass())
{
giveItems(player, SPIRITSHOTS);
@@ -133,7 +135,7 @@ public class Q10323_TrainLikeItsReal extends Quest
{
if (qs.isCond(8))
{
qs.setCond(9);
qs.setCond(9, true);
htmltext = event;
}
break;
@@ -158,72 +160,87 @@ public class Q10323_TrainLikeItsReal extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
String htmltext = null;
if (qs.isCompleted())
switch (qs.getState())
{
htmltext = getAlreadyCompletedMsg(player);
}
switch (npc.getId())
{
case EVAIN:
case State.CREATED:
{
if (qs.isCreated())
if (npc.getId() == EVAIN)
{
htmltext = "33464-01.htm";
break;
}
else if (qs.isStarted())
else if (npc.getId() == SHANNON)
{
htmltext = "32974-03.htm";
break;
}
}
case State.STARTED:
{
if (npc.getId() == EVAIN)
{
htmltext = "33464-03.htm";
break;
}
break;
}
case HOLDEN:
{
switch (qs.getCond())
else if (npc.getId() == HOLDEN)
{
case 1:
switch (qs.getCond())
{
htmltext = "33194-01.htm";
break;
}
case 3:
{
htmltext = "33194-04.htm";
break;
}
case 4:
{
htmltext = "33194-06.htm";
qs.setCond(6);
break;
}
case 5:
{
htmltext = "33194-06.htm";
qs.setCond(7);
break;
}
case 8:
{
htmltext = "33194-07.htm";
break;
case 1:
{
htmltext = "33194-01.htm";
break;
}
case 3:
{
htmltext = "33194-04.htm";
break;
}
case 4:
{
htmltext = "33194-06.htm";
qs.setCond(6, true);
break;
}
case 5:
{
htmltext = "33194-06.htm";
qs.setCond(7, true);
break;
}
case 8:
{
htmltext = "33194-07.htm";
break;
}
}
break;
}
break;
}
case SHANNON:
{
if (qs.isCond(9))
else if (npc.getId() == SHANNON)
{
htmltext = "32974-01.htm";
if (qs.isCond(9))
{
htmltext = "32974-01.htm";
break;
}
}
}
case State.COMPLETED:
{
if (npc.getId() == EVAIN)
{
htmltext = "33464-04.htm";
break;
}
else if (npc.getId() == SHANNON)
{
htmltext = "32974-05.htm";
break;
}
break;
}
}
return htmltext;
}
@@ -234,31 +251,37 @@ public class Q10323_TrainLikeItsReal extends Quest
if ((qs != null) && qs.isStarted())
{
int killedGolem = qs.getInt(KILL_VAR);
int killedGolem = qs.getMemoState();
if (qs.isCond(2))
{
killedGolem++;
final ExQuestNpcLogList packet = new ExQuestNpcLogList(getId());
packet.addNpcString(NpcStringId.ELIMINATE_THE_TRAINING_GOLEM, killedGolem);
killer.sendPacket(packet);
if (killedGolem >= 4)
{
qs.setCond(3, true);
}
else
{
qs.set(KILL_VAR, killedGolem);
qs.setMemoState(killedGolem);
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
else if (qs.isCond(6) || qs.isCond(7))
{
killedGolem++;
final ExQuestNpcLogList packet = new ExQuestNpcLogList(getId());
packet.addNpcString(NpcStringId.ELIMINATE_THE_TRAINING_GOLEM2, killedGolem);
killer.sendPacket(packet);
if (killedGolem >= 4)
{
qs.setCond(8, true);
}
else
{
qs.set(KILL_VAR, killedGolem);
qs.setMemoState(killedGolem);
playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}

View File

@@ -1,4 +1,4 @@
<html><body>Gallint:<br>
I'm very busy! I haven't gotten a single day's rest since I was dropped off on Talking Island! Why did you come?
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32980-02.html">"Shannon told me about you."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10324_FindingMagisterGallint 32980-02.htm">"Shannon told me about you."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gallint:<br>
There's an order to everything, friend.<br>
(The Looking for Sorcecer Gallint quest can be started by talking to Shannon in the Basic Training Ground)
</body></html>

View File

@@ -20,16 +20,16 @@ package quests.Q10324_FindingMagisterGallint;
import quests.Q10323_TrainLikeItsReal.Q10323_TrainLikeItsReal;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
/**
* Finding Magister Gallint (10324)
* @author ivantotov
* @author ivantotov, Gladicek
*/
public final class Q10324_FindingMagisterGallint extends Quest
{
@@ -45,7 +45,6 @@ public final class Q10324_FindingMagisterGallint extends Quest
addStartNpc(SHANNON);
addTalkId(SHANNON, GALLINT);
addCondMaxLevel(MAX_LEVEL, "32974-01a.htm");
addCondNotRace(Race.ERTHEIA, "32974-01a.htm");
addCondCompletedQuest(Q10323_TrainLikeItsReal.class.getSimpleName(), "32974-01a.htm");
}
@@ -72,7 +71,7 @@ public final class Q10324_FindingMagisterGallint extends Quest
htmltext = event;
break;
}
case "32980-02.html":
case "32980-02.htm":
{
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_004_skill_01.htm", TutorialShowHtml.LARGE_WINDOW));
giveAdena(player, 110, true);
@@ -89,34 +88,48 @@ public final class Q10324_FindingMagisterGallint extends Quest
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
String htmltext = null;
switch (qs.getState())
{
if (npc.getId() == SHANNON)
case State.CREATED:
{
htmltext = "32974-01.htm";
if (npc.getId() == SHANNON)
{
htmltext = "32974-01.htm";
break;
}
else if (npc.getId() == GALLINT)
{
htmltext = "32980-04.htm";
break;
}
}
}
else if (qs.isStarted())
{
if (npc.getId() == SHANNON)
case State.STARTED:
{
htmltext = "32974-04.html";
if (npc.getId() == SHANNON)
{
htmltext = "32974-04.htm";
break;
}
else if (npc.getId() == GALLINT)
{
htmltext = "32980-01.htm";
break;
}
}
else if (npc.getId() == GALLINT)
case State.COMPLETED:
{
htmltext = "32980-01.html";
}
}
else if (qs.isCompleted())
{
if (npc.getId() == SHANNON)
{
htmltext = "32974-05.html";
}
else if (npc.getId() == GALLINT)
{
htmltext = "32980-03.html";
if (npc.getId() == SHANNON)
{
htmltext = "32974-05.htm";
break;
}
else if (npc.getId() == GALLINT)
{
htmltext = "32980-03.htm";
break;
}
}
}
return htmltext;

View File

@@ -0,0 +1,5 @@
<html><body>Master Xonia:<br>
Welcome, Kamael.<br>I am Xonia. I wish to teach you about the classes available to our kind.<br>
<font color="LEVEL">Kamael Soldiers</font> are powerful with both spell and sword, and attack with great speed. They use their opponents' souls to unleash their most powerful skills!<br>
As your strength grows, you'll notice a <font color="LEVEL">Skill Window automatically popping up</font> from time to time. You can also use the shortcut key <font color="LEVEL">ALT+K</font> to check out the list of skills you already know of.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Xonia:<br>
I'm finished with my explanation. Now, you can return to Gallint and report.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Master Xonia:<br>
Kamael strength to you, friend.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Xonia:<br>
I teach the Kamael, not your kind.
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Master Cidnet:<br>
Welcome! I am Cidnet, skillmaster to the Elves!<br>
If you have a moment, I would like to tell you a little about some of the classes available to us Elves.<br><font color="LEVEL">Elven Fighters</font> have high Evasion Rate, Attack Accuracy, and are skilled with bows.<br>
<font color="LEVEL">Elven Mages</font> can cast ferociously quickly, and recover lost mana at quite a rate!<br>
If your powers improve and gain access to stronger skills, a <font color="LEVEL">Skill Window will automatically pop up</font>. Furthermore, you can use the shortcut key <font color="LEVEL">ALT+K</font>, to check out the list of skills you've learned.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Cidnet:<br>
I'm finished with my explanation! You can return to Gallint and report.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Master Cidnet:<br>
Good, good! I have trained you well.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Cidnet:<br>
I train Elves, you bulderbuss!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Prefect Herz:<br>
Welcome, warrior of flame. I am Herz, the Orc race trainer. Listen up! I'll explain the characteristics and skills of Orc race classes to you.<br>
<font color="LEVEL">Orc Fighters</font> have fast and good physical and Mana healings, making long battles possible.<br>Even though an <font color="LEVEL">Orc Mystic</font> uses magic, the class also has warrior abilities. We are Orcs, after all.<br>
When your abilities improve, and you have new skills that you can learn, the <font color="LEVEL">Skill Window will automatically</font> appear. You can check the list of skills that you have by using the shortcut keys <font color="LEVEL">ALT+K</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Prefect Herz:<br>
I'm finished with my explanation. Hurry and return to Gallint and report.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Prefect Herz:<br>
Keep working hard<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Prefect Herz:<br>
Hmm? I'm in charge of Orc race's training. I think you might be confusing your races.
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Master Talbot:<br>
Welcome!<br>
I am Talbot, human skillmaster, here to explain the benefits and drawbacks of the classes we can choose from.<br>
<font color="LEVEL">Human Fighters</font> mainly employ short-range melee attacks, and can handle most basic weapons and armor types.<br>
<font color="LEVEL">Human Mages</font> have an innate affinity for the power of the spoken word. They use Elemental Magic, White Magic, Supplemental Magic, Dark Magic and Summon Magic!<br>
As your strength grows, you'll notice a <font color="LEVEL">Skill Window automatically show up</font> from time to time. You can also use the shortcut key <font color="LEVEL">ALT+K</font> to check out the skills you already know.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Talbot:<br>
I'm finished with my explanation! Return to Gallint and report.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Master Talbot:<br>
Never look back.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Talbot:<br>
Sorry, I only train Humans. I think you were confused.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Blacksmith Kincaid:<br>
I'm Kincaid, responsible for teaching the dwarven race. I'll tell you about characteristics and skills of certain dwarven classes, so listen closely.<br>
The <font color="LEVEL">Dwarven fighter</font> crafts items from materials acquired form monsters. If you want to improve your power with pure capital, this would be the class for you.<br>
And yes, you'll have new skills. Your skill window will <font color="LEVEL">open automatically</font> when you press <font color="LEVEL">ALT+K</font>, showing the full list of skills you have.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Blacksmith Kincaid:<br>
The explanation's over. Hurry back to Gallint!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Blacksmith Kincaid:<br>
The explanation's over. Hurry back to Gallint!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Blacksmith Kincaid:<br>
I'm responsible for the education of dwarves, so I'm afraid you're a bit outside my purview.
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Master Black:<br>
Welcome! My name is Black and I am a skillmaster to the Dark Elves.<br>
I want to take a minute to tell you about the different classes I train.<br>
<font color="LEVEL">Dark Fighters</font> fight extremely quickly thanks to their high Atk and Evasion rates.<br>
<font color="LEVEL">Dark Mages</font> have powerful M. Atk. and high Healing abilities.<br>
As you gain new levels and stronger skills become available a <font color="LEVEL">Skill Window icon will automatically appear</font>. Click it to open your Skills Window. Furthermore, you can open your Skills Window by pressing <font color="LEVEL">ALT+K</font>, to see your Active, Passive, and Skills you can learn.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Black:<br>
I'm finished with my explanation! Hurry and return to Gallint to report.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Master Black:<br>
Stay true to your nature, friend.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Master Black:<br>
Sorry - I only train Dark Elves.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Gallint:<br>
I guess I can take a few minutes to help you. Tell me - have you seen your race master yet?<br>
You can find out the specialities of your class and develop yourself in a multitude of directions.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10325_SearchingForNewPower 32980-02.htm">"I haven't met them yet, actually."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Gallint:<br>
Tsk tsk! You haven't met him!<br>
<font color="LEVEL">Race masters</font> are found <font color="LEVEL">in front of the Administration Office</font>! Go and hear about your future!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10325_SearchingForNewPower check_race">"Wait! Who's my race master?"</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
Have you met your race master? They're all stationed <font color="LEVEL">In front of the Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
Ah! Have you learned about your later class choices already? Remember, you'll learn a great many skills as your strength increases.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gallint:<br>
Books are food for your mind. Do not let your mind go hungry<br>
(You already completed this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Talbot!</font> Go and find them - they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Cidnet!</font> Go and find them... they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Black!</font> Go and find them... they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Herz!</font> Go and find them... they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Kincaid!</font> Go and find them... they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gallint:<br>
<font color="LEVEL">Xonia!</font> Go and find them... they should be in front of the <font color="LEVEL">Administration Office</font>.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gallint:<br>
My entire life, I've been paired with academia. But if there's anything, in all that time I now know, it is that I know nothing.<br>
(Only characters below level 20 who have completed the Looking for Sorcecer Gallint quest, can start this quest.)
</body></html>

View File

@@ -0,0 +1,299 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q10325_SearchingForNewPower;
import quests.Q10324_FindingMagisterGallint.Q10324_FindingMagisterGallint;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.ItemHolder;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
/**
* Searching For New Power (10325)
* @author Gladicek, Neanrakyr
*/
public class Q10325_SearchingForNewPower extends Quest
{
// NPCs
private static final int GALLINT = 32980;
private static final int TALBOT = 32156;
private static final int CIDNET = 32148;
private static final int BLACK = 32161;
private static final int HERTZ = 32151;
private static final int KINCAID = 32159;
private static final int XONIA = 32144;
// Items
private static final ItemHolder SPIRITSHOTS = new ItemHolder(2509, 1000);
private static final ItemHolder SOULSHOTS = new ItemHolder(1835, 1000);
// Misc
private static final int MAX_LEVEL = 20;
public Q10325_SearchingForNewPower()
{
super(10325, Q10325_SearchingForNewPower.class.getSimpleName(), "Searching For New Power");
addStartNpc(GALLINT);
addTalkId(GALLINT, TALBOT, CIDNET, BLACK, HERTZ, KINCAID, XONIA);
addCondMaxLevel(MAX_LEVEL, "32980-12.htm");
addCondCompletedQuest(Q10324_FindingMagisterGallint.class.getSimpleName(), "32980-12.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;
if (event.equals("check_race"))
{
switch (player.getRace())
{
case HUMAN:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-06.htm";
qs.setCond(2);
break;
}
case ELF:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-07.htm";
qs.setCond(3);
break;
}
case DARK_ELF:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-08.htm";
qs.setCond(4);
break;
}
case ORC:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-09.htm";
qs.setCond(5);
break;
}
case DWARF:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-10.htm";
qs.setCond(6);
break;
}
case KAMAEL:
{
qs.startQuest();
qs.setMemoState(1);
htmltext = "32980-11.htm";
qs.setCond(7);
break;
}
}
}
else if (event.equals("32980-02.htm"))
{
htmltext = event;
}
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() == GALLINT)
{
htmltext = "32980-01.htm";
break;
}
}
case State.STARTED:
{
switch (npc.getId())
{
case GALLINT:
{
if (qs.isCond(8))
{
if (player.isMageClass())
{
giveItems(player, SPIRITSHOTS);
}
else
{
giveItems(player, SOULSHOTS);
}
addExpAndSp(player, 4654, 5);
giveAdena(player, 120, true);
htmltext = "32980-04.htm";
qs.exitQuest(false, true);
break;
}
else if (qs.isMemoState(1))
{
htmltext = "32980-03.htm";
}
break;
}
case TALBOT:
{
if (player.getRace() == Race.HUMAN)
{
if ((qs.isCond(2)))
{
htmltext = "32156-01.htm";
qs.setCond(8);
break;
}
htmltext = "32156-02.htm";
break;
}
htmltext = "32156-04.htm";
break;
}
case CIDNET:
{
if (player.getRace() == Race.ELF)
{
if ((qs.isCond(3)))
{
htmltext = "32148-01.htm";
qs.setCond(8);
break;
}
htmltext = "32148-02.htm";
break;
}
htmltext = "32148-04.htm";
break;
}
case BLACK:
{
if (player.getRace() == Race.DARK_ELF)
{
if ((qs.isCond(4)))
{
htmltext = "32161-01.htm";
qs.setCond(8);
break;
}
htmltext = "32161-02.htm";
break;
}
htmltext = "32161-04.htm";
break;
}
case HERTZ:
{
if (player.getRace() == Race.ORC)
{
if ((qs.isCond(5)))
{
htmltext = "32151-01.htm";
qs.setCond(8);
break;
}
htmltext = "32151-02.htm";
break;
}
htmltext = "32151-04.htm";
break;
}
case KINCAID:
{
if (player.getRace() == Race.DWARF)
{
if ((qs.isCond(6)))
{
htmltext = "32159-01.htm";
qs.setCond(8);
break;
}
htmltext = "32159-02.htm";
break;
}
htmltext = "32159-04.htm";
break;
}
case XONIA:
{
if (player.getRace() == Race.KAMAEL)
{
if ((qs.isCond(7)))
{
htmltext = "32144-01.htm";
qs.setCond(8);
break;
}
htmltext = "32144-02.htm";
break;
}
htmltext = "32144-04.htm";
break;
}
}
break;
}
case State.COMPLETED:
{
switch (npc.getId())
{
case GALLINT:
{
htmltext = "32980-05.htm";
break;
}
case TALBOT:
case CIDNET:
case BLACK:
case HERTZ:
case KINCAID:
case XONIA:
{
htmltext = npc.getId() + "-03.htm";
break;
}
}
}
}
return htmltext;
}
}

View File

@@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
Hmm? You came Gallint instead? Injured by falling book... How is he? He could not move away from the shock of the fall of the Island, but still continued to work... Even don `t know what to say... just restless... Hmm...<br>
Right. What Gallint asked me to tell me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32972-02.htm">"To say that the Ruins Esagira began to notice Suspicious Types."</button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
Suspicious Types... Now I remember that in recent times have also seen in the Museum of strange personalities. It seemed to me that they are looking for material on the Giants... Maybe they're one of those bands that were seen in the Ruins?<br><br>
They tried to steal a book called <font color="LEVEL">War of the Gods and the Giants </ font>. In this ancient manuscript contains information in the power of the Giants, the origin of their powers, monsters era Giants and the like. I am afraid that now, after the fall of the Island of Giants, this information can be used for evil purposes. It is necessary to rearrange the book elsewhere.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
I worry about Gallint. When Ye Sagira dropped onto Talking Island, he was in Aden. He came back to find everything had been changed. He's struggling with adjusting. I can't say I blame him.<br>
(You have already completed this quest)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gallint:<br>
Ah-ah! My back... Something I overworked these documents... Ah... I wanted to give something... How am I so... <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32980-02.htm">"Ask describe the problem in detail"</button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gallint:<br>
You know... Today I long for the first time, brought order to the documents. There were so many that had to move folders using magic.<br><br>
But these manuscripts was so much dust that I started sneezing. Distracted, and documents that are carried through the air, dropped over. Now sore lower back.<br><br>
For three days had passed on his feet I stood up, but moving all Yeshe hard. It was necessary to convey something of the Pantheon. Phew. <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10326_RespectYourElders 32980-03.htm">"Offer Help"</button>
</body></html>

Some files were not shown because too many files have changed in this diff Show More