Quest 10327 changes.

This commit is contained in:
MobiusDev
2015-04-20 19:21:25 +00:00
parent e27aaffbc9
commit f6f66fdbfa
16 changed files with 134 additions and 290 deletions

View File

@@ -1,5 +1,5 @@
<html><body>Pantheon:<br>
You're still here<br1>
You're still here.<br1>
Go into the museum!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"On my way!"</Button>
</body></html>

View File

@@ -1,4 +1,5 @@
<html><body>Pantheon:<br>
I just saw suspicious intruders entering the Museum! I fear for the rare valuable articles inside the Museum. Please hurry into the Museum and deal with the intruders!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"Sure. I am going in."</Button>
<html><head><body>Pantheon:<br>
You've brought the book? Good! It must have been difficult to find it amongst all those others!<br>
I hope you didn't get hurt either - Gallint may be a fool, but plenty have hurt themselves moving books around before him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-06.htm">"I had to fight someone!"</Button>
</body></html>

View File

@@ -1,5 +1,6 @@
<html><head><body>Pantheon:<br>
You've brought the book? Good! It must have been difficult to find it amongst all those others!<br>
I hope you didn't get hurt either - Gallint may be a fool, but plenty have hurt themselves moving books around before him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-07.htm">"I had to fight someone!"</Button>
<html><body>Pantheon:<br>
What? The thieves are getting more brash by the day!<br>
Hmm... So, I wonder if the books related to Giants... are also related to Embryo. It's just speculation, but something worth considering.<br>
Now, I must apologize for placing you in harm's way. Please accept these Earrings - accessories such as these help protect you against magic!<br>
Remember: you can wear up to two <font color="LEVEL">earrings</font> at a time. Purchase more from the <font color="LEVEL">General Merchant</font> if you wish.
</body></html>

View File

@@ -1,6 +1,4 @@
<html><body>Pantheon:<br>
What? The thieves are getting more brash by the day!<br>
Hmm... So, I wonder if the books related to Giants... are also related to Embryo. It's just speculation, but something worth considering.<br>
Now, I must apologize for placing you in harm's way. Please accept these Earrings - accessories such as these help protect you against magic!<br>
Remember: you can wear up to two <font color="LEVEL">earrings</font> at a time. Purchase more from the <font color="LEVEL">General Merchant</font> if you wish.
</body></html>
I'm still looking into things, friend. I'll let you know when I find anything.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Pantheon:<br>
I'm still looking into things, friend. I'll let you know when I find anything<br>
(You have already completed this quest.)
</body></html>

View File

@@ -1,4 +0,0 @@
<html><body>Pantheon:<br>
This mission can't be give to just anyone!<br>
(Only characters below 20, who've completed the "Let's Respect Elders" quest, may start this quest.)
</body></html>

View File

@@ -22,7 +22,6 @@ import quests.Q10326_RespectYourElders.Q10326_RespectYourElders;
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;
@@ -30,26 +29,27 @@ import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
/**
* @author Gladicek
* Intruder Who Wants the Book of Giants (10327)
* @author Mobius
*/
public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
{
// Npcs
// Npc
private static final int PANTHEON = 32972;
// Items
private static final int THE_WAR_OF_GODS_AND_GIANTS = 17575;
private static final ItemHolder APPRENTICE_EARRING = new ItemHolder(112, 2);
// Level Condition
private static final int APPRENTICE_EARRING = 112;
// Other
private static final int MAX_LEVEL = 20;
public Q10327_IntruderWhoWantsTheBookOfGiants()
{
super(10327, Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "Intruder Who Wants the Book of Giants ");
super(10327, Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "Intruder Who Wants the Book of Giants");
addStartNpc(PANTHEON);
addTalkId(PANTHEON);
registerQuestItems(THE_WAR_OF_GODS_AND_GIANTS);
addCondMaxLevel(MAX_LEVEL, "32972-09.htm");
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "32972-09.htm");
addCondMaxLevel(MAX_LEVEL, "no_level.htm");
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "no_level.htm");
}
@Override
@@ -75,16 +75,15 @@ public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
htmltext = event;
break;
}
case "32972-07.htm":
case "32972-06.htm":
{
if (qs.isCond(3))
{
showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
giveAdena(player, 160, true);
giveItems(player, APPRENTICE_EARRING);
giveAdena(player, 159, true);
giveItems(player, APPRENTICE_EARRING, 2);
addExpAndSp(player, 7800, 5);
showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 5000);
qs.exitQuest(false, true);
break;
}
break;
}
@@ -107,28 +106,23 @@ public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
}
case State.STARTED:
{
if (qs.isCond(1))
{
htmltext = "32972-04.htm";
break;
}
else if (qs.isCond(2))
if (qs.isCond(3))
{
htmltext = "32972-05.htm";
break;
}
else if (qs.isCond(3))
else
{
htmltext = "32972-06.htm";
break;
htmltext = "32972-04.htm";
}
break;
}
case State.COMPLETED:
{
htmltext = "32972-08.htm";
htmltext = "32972-07.htm";
break;
}
}
return htmltext;
}
}

View File

@@ -0,0 +1,4 @@
<html><body>Pantheon:<br>
This mission can't be give to just anyone!<br>
(Only characters below 20, who have completed the "Respect Your Elders" quest, may start this quest.)
</body></html>