Bloody Swampland quests.
Contributed by NightBR.
This commit is contained in:
4
L2J_Mobius_5.0_Salvation/dist/game/data/html/default/34414.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/html/default/34414.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
I shall make them pay back for what they're done. I swear.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -1,7 +1,5 @@
|
|||||||
504 Competition for the Bandit Stronghold
|
504 Competition for the Bandit Stronghold
|
||||||
561 Basic Mission: Harnak Underground Ruins
|
561 Basic Mission: Harnak Underground Ruins
|
||||||
562 Basic Mission: Altar of Evil
|
|
||||||
563 Basic Mission: Bloody Swampland
|
|
||||||
565 Basic Mission: Fairy Settlement - West
|
565 Basic Mission: Fairy Settlement - West
|
||||||
566 Basic Mission: Fairy Settlement - East
|
566 Basic Mission: Fairy Settlement - East
|
||||||
567 Basic Mission: Isle of Souls
|
567 Basic Mission: Isle of Souls
|
||||||
@@ -15,10 +13,6 @@
|
|||||||
575 Special Mission: Fortuna
|
575 Special Mission: Fortuna
|
||||||
576 Special Mission: Defeat Spezion
|
576 Special Mission: Defeat Spezion
|
||||||
580 Beyond the Memories
|
580 Beyond the Memories
|
||||||
581 The Purification Ritual
|
|
||||||
582 Wash Blood with Blood
|
|
||||||
583 Meaning of Survival
|
|
||||||
584 Never Say Good Bye
|
|
||||||
585 Can't Go Against the Time
|
585 Can't Go Against the Time
|
||||||
586 Mutated Creatures
|
586 Mutated Creatures
|
||||||
587 More Aggressive Operation
|
587 More Aggressive Operation
|
||||||
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Teleport Device:<br>
|
||||||
|
(According to Gatekeeper Bella, in order to reach the <font color="LEVEL">Altar of Evil</font>, you need to go to the <font color="LEVEL">Bloody Swampland</font>Go there and look for <font color="LEVEL">Lapathia</font>a Mystic of Dark Arts.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
Do you have something else you need?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30256-02.html">"How do I go to the Altar of Evil?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.<br>
|
||||||
|
You'll have to select <font color="LEVEL">Dark Elf Village</font> from the teleport link I give you and go there. The area for an active mission will appear <font color="LEVEL">at the top of the teleport list</font> so it won't be hard to find.<br>
|
||||||
|
But you have to watch out for one thing.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30256-03.html">"What's that?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a <font color="LEVEL">Teleport Device</font>.<br>
|
||||||
|
Anyway, there's no other option. Go and check the missions.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Gatekeeper Elisa:<br>
|
||||||
|
You want to know how to go to the Altar of Evil? It must be because of your mission from the Adventure Guild! Alright, I'll tell you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30848-02.html">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Gatekeeper Elisa:<br>
|
||||||
|
The <font color="LEVEL">Altar of Evil</font> is a Hunting Zone that can be accessed by the Dark Elf Village. But, there is no direct channel to teleport from the Town of Aden to the Dark Elf Village. So, you'll have to go somewhere that has teleporting routes to the Dark Elf Village.<br>
|
||||||
|
You should go to the <font color="LEVEL">Town of Gludio</font>. Once you get there, ask <font color="LEVEL">Gatekeeper Bella</font> about how to teleport. For now, why don't you just focus on getting to the <font color="LEVEL">Town of Gludio</font>.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-02.htm">"Sure, no problem!"</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-03.htm">"Go on."</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your mission is to assist with the task at the Altar of Evil. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-04.htm">"Alright."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Altar of Evil. You should be able to start the mission right away without further explanation.<br>
|
||||||
|
But if you want to listen to the explanation again, I'd be happy to tell you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-05.html">"Receive the mission."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-09.html">"Hear the explanation again."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Good choice. Now, go to <font color="LEVEL">Black Wizard Lapathia</font> at the <font color="LEVEL">Altar of Evil</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Welcome back! So, did you do a good job?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-07.html">"Yes, I did."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
To do the mission, you have to go to <font color="LEVEL">Black Wizard Lapathia</font> at the <font color="LEVEL">Altar of Evil</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
I'm sure the Gatekeeper of the town, <font color="LEVEL">Gatekeeper Elise</font>, could give you a better explanation. Go to her and ask how you can go to the <font color="LEVEL">Altar of Evil</font>. She's very friendly so don't be shy.<br>
|
||||||
|
If you anive successfully, meet the black wizard, Lapathia, and ask about the mission.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
You need to leam how to get there first. Go to <font color="LEVEL">Gatekeeper Elise</font> and ask how to go to the <font color="LEVEL">Altar of Evil</font>. She will give you a detailed explanation.<br>
|
||||||
|
If you arive successfully, meet the black wizard, Lapathia, and ask about the mission.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
|
||||||
|
<font color="LEVEL">(To do "Basic Mission: Altar of Evil," you must do "The Purification Ritual" and "Wash Blood with Blood" through Black Wizard Lapathia.)</font>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<ht<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
|
||||||
|
Don't tell me you're going to walk all the way up there. I know a better way.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34414-03.html">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
|
||||||
|
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34414-04.html">"Thank you for your kindness."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<ht<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You can use the scroll now or later. Just don't forget to <font color="LEVEL">pack enough Scrolls of Escape once you retum to town</font>.<br>
|
||||||
|
You can easily buy Scrolls of Escape at stores. Be safe until we meet again.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil usescroll">"I'll use the Scroll of Escape."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil keepscroll">"I'll keep the scroll and use it later."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,271 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00562_BasicMissionAltarOfEvil;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.Faction;
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.Location;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.State;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Q00562_BasicMissionAltarOfEvil
|
||||||
|
* @URL https://l2wiki.com/Basic_Mission:_Altar_of_Evil
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00562_BasicMissionAltarOfEvil extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int PENNY = 34413;
|
||||||
|
private static final int LAPATHIA = 34414;
|
||||||
|
private static final int ELISA = 30848;
|
||||||
|
private static final int BELLA = 30256;
|
||||||
|
private static final int DE_VILLAGE_TELEPORT_DEVICE = 30134;
|
||||||
|
// Reward's
|
||||||
|
private static final long EXP = 231860550;
|
||||||
|
private static final int SP = 231840;
|
||||||
|
private static final int FP = 200; // Faction points
|
||||||
|
private static final int SCROLL_OF_ESCAPE_BLOODY_SWAMPLAND = 39494;
|
||||||
|
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||||
|
// Misc
|
||||||
|
private static final int MIN_LEVEL = 85;
|
||||||
|
private static final int MAX_LEVEL = 88;
|
||||||
|
// Location
|
||||||
|
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
|
||||||
|
|
||||||
|
public Q00562_BasicMissionAltarOfEvil()
|
||||||
|
{
|
||||||
|
super(562);
|
||||||
|
addStartNpc(PENNY);
|
||||||
|
addTalkId(PENNY, LAPATHIA);
|
||||||
|
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "34413-02.htm":
|
||||||
|
case "34413-03.htm":
|
||||||
|
case "34413-06.html":
|
||||||
|
case "30256-02.html":
|
||||||
|
case "34414-03.html":
|
||||||
|
{
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-04.htm":
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-05.html":
|
||||||
|
{
|
||||||
|
qs.setCond(5, true);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-09.html":
|
||||||
|
{
|
||||||
|
qs.setCond(2, true);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-07.html":
|
||||||
|
{
|
||||||
|
StringBuilder str = new StringBuilder("00");
|
||||||
|
checkQuestCompleted(player, str); // Initialize the array with all quests completed
|
||||||
|
|
||||||
|
if (str.indexOf("11") != -1) // verify if all quests completed
|
||||||
|
{
|
||||||
|
giveItems(player, SCROLL_OF_ESCAPE_BLOODY_SWAMPLAND, 1);
|
||||||
|
addExpAndSp(player, EXP, SP);
|
||||||
|
addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction
|
||||||
|
qs.exitQuest(QuestType.DAILY, true);
|
||||||
|
htmltext = event;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "34413-08.html";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30848-02.html": // ELISA
|
||||||
|
{
|
||||||
|
qs.setCond(3, true);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30256-03.html": // BELLA
|
||||||
|
{
|
||||||
|
qs.setCond(4, true);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34414-04.html": // DE_VILLAGE_TELEPORT_DEVICE
|
||||||
|
{
|
||||||
|
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "usescroll":
|
||||||
|
{
|
||||||
|
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
|
||||||
|
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
|
||||||
|
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
|
||||||
|
qs.setCond(8, true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "keepscroll":
|
||||||
|
{
|
||||||
|
qs.setCond(8, true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
if (npc.getId() == PENNY)
|
||||||
|
{
|
||||||
|
htmltext = "34413-01.htm";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
switch (npc.getId())
|
||||||
|
{
|
||||||
|
case PENNY:
|
||||||
|
{
|
||||||
|
if (qs.getCond() == 1)
|
||||||
|
{
|
||||||
|
htmltext = "34413-04.htm";
|
||||||
|
}
|
||||||
|
else if (qs.getCond() == 2)
|
||||||
|
{
|
||||||
|
// htmltext = qs.getCond() == 2 ? "34413-10.htm" : "34413-06.html";
|
||||||
|
htmltext = "33509-10.htm";
|
||||||
|
}
|
||||||
|
else if (qs.getCond() == 5)
|
||||||
|
{
|
||||||
|
// htmltext = qs.getCond() == 5 ? "34413-08.htm" : "34413-06.html";
|
||||||
|
htmltext = "34413-08.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "34413-06.html";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case ELISA:
|
||||||
|
{
|
||||||
|
htmltext = "30848-01.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case BELLA:
|
||||||
|
{
|
||||||
|
htmltext = "30256-01.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case DE_VILLAGE_TELEPORT_DEVICE:
|
||||||
|
{
|
||||||
|
qs.setCond(5, true);
|
||||||
|
htmltext = "30134-01.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case LAPATHIA:
|
||||||
|
{
|
||||||
|
if (qs.getCond() == 5)
|
||||||
|
{
|
||||||
|
qs.setCond(6, true);
|
||||||
|
htmltext = "34414-01.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
StringBuilder str = new StringBuilder("00");
|
||||||
|
checkQuestCompleted(player, str); // Initialize the array with all quests completed
|
||||||
|
if (str.indexOf("11") != -1) // verify if all quests completed
|
||||||
|
{
|
||||||
|
qs.setCond(7, true);
|
||||||
|
htmltext = "34414-02.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34413-01.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
private StringBuilder checkQuestCompleted(PlayerInstance player, StringBuilder string)
|
||||||
|
{
|
||||||
|
int index = 0;
|
||||||
|
char ch = '1';
|
||||||
|
final QuestState st1 = player.getQuestState("Q00581_ThePurificationRitual");
|
||||||
|
if ((st1 != null) && st1.isCompleted())
|
||||||
|
{
|
||||||
|
index = 0;
|
||||||
|
string.setCharAt(index, ch);
|
||||||
|
}
|
||||||
|
final QuestState st2 = player.getQuestState("Q00582_WashBloodWithBlood");
|
||||||
|
if ((st2 != null) && st2.isCompleted())
|
||||||
|
{
|
||||||
|
index = 1;
|
||||||
|
string.setCharAt(index, ch);
|
||||||
|
}
|
||||||
|
return string;
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Penny:<br>
|
||||||
|
I don't understand why someone like you is interested in this mission?<br>
|
||||||
|
(Only characters above Lv.85.)
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Adventure Guild? I really appreciate it. I was desperate for help. The more help I can get, the better.<br>
|
||||||
|
<font color="LEVEL">(To do "Basic Mission: Blood Swampland," you must first carry out "Meaning of Survival" and "Never Say Good Bye" through Grocer Volllodos.)</font>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<ht<html><body>Grocer Vollodos:<br>
|
||||||
|
Now go back to Adventure Guildsman Penny.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00563_BasicMissionBloodySwampland 34413-02.htm">"Sure, no problem!"</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00563_BasicMissionBloodySwampland 34413-03.htm">"Go on."</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your mission is to assist with task at Blood SwampLand. If are successful, our Adventure Guild will give you additional rewards on top of the mission payment and, your relationship with our faction will grow even stronger.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00563_BasicMissionBloodySwampland 34413-04.htm">"Alright."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Good choice. Now, go to <font color="LEVEL">Vollodos the Grocer</font> at the <font color="LEVEL">Blood Swampland</font>. He will give you a mission. Come back to me when you complete the mission.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Welcome back! So, did you do a good job?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00563_BasicMissionBloodySwampland 34413-06.html">"Yes, I did."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
To do the mission, you have to meet the <font color="LEVEL">Vollodos the Grocer</font> at the <font color="LEVEL">Bloody Swampland</font>. Do the mission, then come back to me.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,190 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00563_BasicMissionBloodySwampland;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.Faction;
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||||
|
import com.l2jmobius.gameserver.model.quest.State;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Q00563_BasicMissionBloodySwampland
|
||||||
|
* @URL https://l2wiki.com/Basic_Mission:_Bloody_Swampland
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00563_BasicMissionBloodySwampland extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int PENNY = 34413;
|
||||||
|
private static final int VOLLODOS = 30137;
|
||||||
|
// Reward's
|
||||||
|
private static final long EXP = 429526470;
|
||||||
|
private static final int SP = 429510;
|
||||||
|
private static final int FP = 220; // Faction points
|
||||||
|
private static final int SCROLL_OF_ESCAPE_BLOODY_SWAMPLAND = 39494;
|
||||||
|
// Misc
|
||||||
|
private static final int MIN_LEVEL = 86;
|
||||||
|
private static final int MAX_LEVEL = 90;
|
||||||
|
|
||||||
|
public Q00563_BasicMissionBloodySwampland()
|
||||||
|
{
|
||||||
|
super(563);
|
||||||
|
addStartNpc(PENNY);
|
||||||
|
addTalkId(PENNY, VOLLODOS);
|
||||||
|
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "34413-02.htm":
|
||||||
|
case "34413-03.htm":
|
||||||
|
case "34413-05.html":
|
||||||
|
{
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-04.htm":
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34413-06.html":
|
||||||
|
{
|
||||||
|
StringBuilder str = new StringBuilder("00");
|
||||||
|
checkQuestCompleted(player, str); // Initialize the array with all quests completed
|
||||||
|
|
||||||
|
if (str.indexOf("11") != -1) // verify if all quests completed
|
||||||
|
{
|
||||||
|
giveItems(player, SCROLL_OF_ESCAPE_BLOODY_SWAMPLAND, 1);
|
||||||
|
addExpAndSp(player, EXP, SP);
|
||||||
|
addFactionPoints(player, Faction.ADVENTURE_GUILD, FP); // add FP points to ADVENTURE_GUILD Faction
|
||||||
|
qs.exitQuest(QuestType.DAILY, true);
|
||||||
|
htmltext = event;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "34413-07.html";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
if (npc.getId() == PENNY)
|
||||||
|
{
|
||||||
|
htmltext = "34413-01.htm";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
switch (npc.getId())
|
||||||
|
{
|
||||||
|
case PENNY:
|
||||||
|
{
|
||||||
|
htmltext = qs.isCond(1) ? "34413-07.html" : "34413-05.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case VOLLODOS:
|
||||||
|
{
|
||||||
|
if (qs.isCond(1))
|
||||||
|
{
|
||||||
|
qs.setCond(2, true);
|
||||||
|
htmltext = "30137-01.html";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(2))
|
||||||
|
{
|
||||||
|
StringBuilder str = new StringBuilder("00");
|
||||||
|
checkQuestCompleted(player, str); // Initialize the array with all quests completed
|
||||||
|
|
||||||
|
if (str.indexOf("11") != -1) // verify if all quests completed
|
||||||
|
{
|
||||||
|
qs.setCond(3, true);
|
||||||
|
htmltext = "30137-02.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "30137-01.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34413-01.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
private StringBuilder checkQuestCompleted(PlayerInstance player, StringBuilder string)
|
||||||
|
{
|
||||||
|
int index = 0;
|
||||||
|
char ch = '1';
|
||||||
|
final QuestState st1 = player.getQuestState("Q00583_MeaningOfSurvival");
|
||||||
|
if ((st1 != null) && st1.isCompleted())
|
||||||
|
{
|
||||||
|
index = 0;
|
||||||
|
string.setCharAt(index, ch);
|
||||||
|
}
|
||||||
|
final QuestState st2 = player.getQuestState("Q00584_NeverSayGoodBye");
|
||||||
|
if ((st2 != null) && st2.isCompleted())
|
||||||
|
{
|
||||||
|
index = 1;
|
||||||
|
string.setCharAt(index, ch);
|
||||||
|
}
|
||||||
|
return string;
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Penny:<br>
|
||||||
|
I don't understand why someone like you is interested in this mission?<br>
|
||||||
|
(Only characters above Lv.85.)
|
||||||
|
</body></html>
|
@@ -1,4 +1,4 @@
|
|||||||
<html><body>Adventure Guildsman Penny:<br>
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
Welcome back! So, did you di a good job?<br>
|
Welcome back! So, did you do a good job?<br>
|
||||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00564_BasicMissionKartiasLabyrinthSolo 34413-09.html">"Yes, I did."</Button>
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00564_BasicMissionKartiasLabyrinthSolo 34413-09.html">"Yes, I did."</Button>
|
||||||
</body></html>
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Have you had a chance to visit this place before the Rain of Blood fell and drew crazy monsters here?<br>
|
||||||
|
Only few remember those days. This land is neither beautiful nor recommendable, but I still have precious memories here.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-01.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
I was away from the Dark Elf Village for a long time doing research in the Ivory Tower. So, I was safe when the Rain of Blood and the Fog of Plague took the lives of my people.<br>
|
||||||
|
As soon as I retumed after completing the research, I realized what I had to do: to purify this land.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-02.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
It is not easy to prepare and perform the Purification Ritual alone. If you help me, I'll be able to purify this land more quickly.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-03.htm">"I will help."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Defeat the <font color="LEVEL">Arbitor of Darkness, Altar of Evil Spirit Offering Box, Dartanion, and Dimensional Rifter</font> at the <font color="LEVEL">Altar of Evil</font>, and collect <font color="LEVEL">100 Traces of Evil Spirit</font>. You will get a reward for your effort, and I'll be able to perform the Purification Ritual more quickly.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You've brought all I asked for. Hand them over to me.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-05.html">"Here are the Traces of Evil Spirit." </Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Thank you. It will help me purify this land more quickly. Now get some rest while you can. I may need your help again.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You've brought all I asked for. Hand them over to me, and I'll give you the reward.<br>
|
||||||
|
Wait.. You didn't undertake the <font color="LEVEL">Adventure Guild's mission</font>? It's none of my business, but id you don't do it, you will lose a chance to gain an additional reward. <br>
|
||||||
|
Why don't you reconsider? I hope you make a wise choice.<br>
|
||||||
|
((If you do <font color="LEVEL">Basic Mission: Altar of Evil</font> and then complete this quest, you can eam additional rewards and Amity Points.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-05.html">"I'll take the reward, now."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-07.html">"I'll check the Adventure Guild's mission"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You made the wise decision. Get the mission from Adventure Guildsman Penny and come back to me.
|
||||||
|
</body></html>
|
@@ -0,0 +1,213 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00581_ThePurificationRitual;
|
||||||
|
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Meaning Of Survival (00581)
|
||||||
|
* @URL https://l2wiki.com/The_Purification_Ritual
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00581_ThePurificationRitual extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int START_NPC = 34414; // Lapathia
|
||||||
|
private static final int[] MONSTERS =
|
||||||
|
{
|
||||||
|
23174, // Arbitor of Darkness
|
||||||
|
23175, // Altar of Evil Spirit Offering Box
|
||||||
|
23177, // Dartanion
|
||||||
|
23179, // Dimensional Rifter
|
||||||
|
};
|
||||||
|
// Item
|
||||||
|
private static final int MONSTER_DROP = 48377; // Traces of Evil Spirit
|
||||||
|
// Misc
|
||||||
|
private static final int REQUIRED_DROP_COUNT = 100;
|
||||||
|
private static final int REQUIRED_KILL_COUNT = 100;
|
||||||
|
private static final String KILL_COUNT_VAR = "KillCount";
|
||||||
|
private static final int KILLING_NPCSTRING_ID1 = NpcStringId.LV_85_95_THE_PURIFICATION_RITUAL_IN_PROGRESS.getId();
|
||||||
|
private static final int KILLING_NPCSTRING_ID2 = NpcStringId.LV_85_95_THE_PURIFICATION_RITUAL_2.getId();
|
||||||
|
private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY
|
||||||
|
private static final boolean PARTY_QUEST = true;
|
||||||
|
private static final int KILLING_COND = 1;
|
||||||
|
private static final int FINISH_COND = 2;
|
||||||
|
private static final int MIN_LEVEL = 85;
|
||||||
|
// Rewards
|
||||||
|
private static final int XP = 231860550;
|
||||||
|
private static final int SP = 231840;
|
||||||
|
private static final int REWARD_ITEM1 = 57; // ADENA
|
||||||
|
private static final int REWARD_ITEM1_AMOUNT = 505080 ;
|
||||||
|
|
||||||
|
public Q00581_ThePurificationRitual()
|
||||||
|
{
|
||||||
|
super(581);
|
||||||
|
addStartNpc(START_NPC);
|
||||||
|
addTalkId(START_NPC);
|
||||||
|
addKillId(MONSTERS);
|
||||||
|
registerQuestItems(MONSTER_DROP);
|
||||||
|
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "34414-01.htm":
|
||||||
|
case "34414-02.htm":
|
||||||
|
{
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
case "34414-03.htm":
|
||||||
|
{
|
||||||
|
if (qs.isCreated())
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
qs.setCond(KILLING_COND);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34414-05.html":
|
||||||
|
{
|
||||||
|
if (qs.isCond(FINISH_COND) && (getQuestItemsCount(player, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
takeItems(player, MONSTER_DROP, -1);
|
||||||
|
// Reward.
|
||||||
|
addExpAndSp(player, XP, SP);
|
||||||
|
rewardItems(player, REWARD_ITEM1, REWARD_ITEM1_AMOUNT);
|
||||||
|
qs.exitQuest(QUEST_TYPE, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
if (npc.getId() == START_NPC)
|
||||||
|
{
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
htmltext = "34414-00.htm";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
if (qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
htmltext = "34414-03.htm";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(FINISH_COND))
|
||||||
|
{
|
||||||
|
// Check if Faction quest has been taken
|
||||||
|
final QuestState st = player.getQuestState("Q00562_BasicMissionAltarOfEvil");
|
||||||
|
if ((st != null) && st.isStarted())
|
||||||
|
{
|
||||||
|
htmltext = "34414-04.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "34414-06.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34414-00.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||||
|
{
|
||||||
|
QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
giveItemRandomly(killer, npc, MONSTER_DROP, 1, REQUIRED_DROP_COUNT, 1, true);
|
||||||
|
|
||||||
|
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||||
|
if (killCount < REQUIRED_KILL_COUNT)
|
||||||
|
{
|
||||||
|
qs.set(KILL_COUNT_VAR, killCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((killCount >= REQUIRED_KILL_COUNT) && (getQuestItemsCount(killer, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
qs.setCond(FINISH_COND, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
sendNpcLogList(killer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.onKill(npc, killer, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<NpcLogListHolder> getNpcLogList(PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID1, true, (int) getQuestItemsCount(player, MONSTER_DROP)));
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID2, true, qs.getInt(KILL_COUNT_VAR)));
|
||||||
|
return holder;
|
||||||
|
}
|
||||||
|
return super.getNpcLogList(player);
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
My ultimate goal is to purify this land, and Pm doing my best to fulfill it. But I don't want to lie to you. I have another goal.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00582_WashBloodWithBlood 34414-01.htm">"What is it?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
It's a personal <font color="LEVEL">vendetta</font>. I may be aiming at the wrong target or employing unacceptable means, but it means a lot to me. <br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00582_WashBloodWithBlood 34414-02.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
I shall make them wash away the blood of my people with theirs.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00582_WashBloodWithBlood 34414-03.htm">"How can I help you?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
If you want to help my personal vendetta, please kill <font color="LEVEL">Mutated Cerberos, Insane Phions, Hellgate Fighting Dog, and Dimensional Rifters</font> in the <font color="LEVEL">Bloody Swampland</font>. If you bring me <font color="LEVEL">100 Monster Fragments</font>. I'll give you a reward.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You've brought the Monster Fragments! This much must mean you've killed enough of them.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00582_WashBloodWithBlood 34414-05.html">"I did." </Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
Here is the reward I promised. I hope we can work together again.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You've brought all I asked for. Hand them over to me, and I'll give you the reward.<br>
|
||||||
|
Wait.. You didn't undertake the <font color="LEVEL">Adventure Guild's mission</font>? It's none of my business, but id you don't do it, you will lose a chance to gain an additional reward. <br>
|
||||||
|
Why don't you reconsider? I hope you make a wise choice.<br>
|
||||||
|
((If you do <font color="LEVEL">Basic Mission: Altar of Evil</font> and then complete this quest, you can eam additional rewards and Amity Points.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-05.html">"I'll take the reward, now."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00581_ThePurificationRitual 34414-07.html">"I'll check the Adventure Guild's mission"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You made the wise decision. Get the mission from Adventure Guildsman Penny and come back to me.
|
||||||
|
</body></html>
|
@@ -0,0 +1,213 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00582_WashBloodWithBlood;
|
||||||
|
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Meaning Of Survival (00581)
|
||||||
|
* @URL https://l2wiki.com/The_Purification_Ritual
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00582_WashBloodWithBlood extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int START_NPC = 34414; // Lapathia
|
||||||
|
private static final int[] MONSTERS =
|
||||||
|
{
|
||||||
|
23176, // Mutated Cerberos
|
||||||
|
23178, // Insane Phions
|
||||||
|
23180, // Hellgate Fighting Dog
|
||||||
|
23179, // Dimensional Rifter
|
||||||
|
};
|
||||||
|
// Item
|
||||||
|
private static final int MONSTER_DROP = 48378; // Monster Fragment
|
||||||
|
// Misc
|
||||||
|
private static final int REQUIRED_DROP_COUNT = 100;
|
||||||
|
private static final int REQUIRED_KILL_COUNT = 100;
|
||||||
|
private static final String KILL_COUNT_VAR = "KillCount";
|
||||||
|
private static final int KILLING_NPCSTRING_ID1 = NpcStringId.LV_85_95_WASH_BLOOD_WITH_BLOOD_IN_PROGRESS.getId();
|
||||||
|
private static final int KILLING_NPCSTRING_ID2 = NpcStringId.LV_85_95_WASH_BLOOD_WITH_BLOOD_2.getId();
|
||||||
|
private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY
|
||||||
|
private static final boolean PARTY_QUEST = true;
|
||||||
|
private static final int KILLING_COND = 1;
|
||||||
|
private static final int FINISH_COND = 2;
|
||||||
|
private static final int MIN_LEVEL = 85;
|
||||||
|
// Rewards
|
||||||
|
private static final int XP = 231860550;
|
||||||
|
private static final int SP = 231840;
|
||||||
|
private static final int REWARD_ITEM1 = 57; // ADENA
|
||||||
|
private static final int REWARD_ITEM1_AMOUNT = 505080 ;
|
||||||
|
|
||||||
|
public Q00582_WashBloodWithBlood()
|
||||||
|
{
|
||||||
|
super(582);
|
||||||
|
addStartNpc(START_NPC);
|
||||||
|
addTalkId(START_NPC);
|
||||||
|
addKillId(MONSTERS);
|
||||||
|
registerQuestItems(MONSTER_DROP);
|
||||||
|
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "34414-01.htm":
|
||||||
|
case "34414-02.htm":
|
||||||
|
{
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
case "34414-03.htm":
|
||||||
|
{
|
||||||
|
if (qs.isCreated())
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
qs.setCond(KILLING_COND);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "34414-05.html":
|
||||||
|
{
|
||||||
|
if (qs.isCond(FINISH_COND) && (getQuestItemsCount(player, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
takeItems(player, MONSTER_DROP, -1);
|
||||||
|
// Reward.
|
||||||
|
addExpAndSp(player, XP, SP);
|
||||||
|
rewardItems(player, REWARD_ITEM1, REWARD_ITEM1_AMOUNT);
|
||||||
|
qs.exitQuest(QUEST_TYPE, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
if (npc.getId() == START_NPC)
|
||||||
|
{
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
htmltext = "34414-00.htm";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
if (qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
htmltext = "34414-03.htm";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(FINISH_COND))
|
||||||
|
{
|
||||||
|
// Check if Faction quest has been taken
|
||||||
|
final QuestState st = player.getQuestState("Q00562_BasicMissionAltarOfEvil");
|
||||||
|
if ((st != null) && st.isStarted())
|
||||||
|
{
|
||||||
|
htmltext = "34414-04.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "34414-06.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "34414-00.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||||
|
{
|
||||||
|
QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
giveItemRandomly(killer, npc, MONSTER_DROP, 1, REQUIRED_DROP_COUNT, 1, true);
|
||||||
|
|
||||||
|
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||||
|
if (killCount < REQUIRED_KILL_COUNT)
|
||||||
|
{
|
||||||
|
qs.set(KILL_COUNT_VAR, killCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((killCount >= REQUIRED_KILL_COUNT) && (getQuestItemsCount(killer, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
qs.setCond(FINISH_COND, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
sendNpcLogList(killer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.onKill(npc, killer, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<NpcLogListHolder> getNpcLogList(PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID1, true, (int) getQuestItemsCount(player, MONSTER_DROP)));
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID2, true, qs.getInt(KILL_COUNT_VAR)));
|
||||||
|
return holder;
|
||||||
|
}
|
||||||
|
return super.getNpcLogList(player);
|
||||||
|
}
|
||||||
|
}
|
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-00.htm
vendored
Normal file
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-00.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Have you been to the Dark Elf Village?<br>
|
||||||
|
Some unusual events occurred here. Most of my clansmen were killed, and I had no choice but to abandon the village. <br>
|
||||||
|
The epidemic is covering the entire continent. Look! Don't you see the blackish red fog all over this area? It will kill us all! <br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 30137-01.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-01.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
The problem is that not everyone has found a safe haven. Those who have not found a place to retreat to, or have their reasons for not being able to relocate to some place safe, are bound to die of the epidemic. Many around me have met their demise that way.<br>
|
||||||
|
At this rate, the casualties will continue to mount. Could you possibly help me?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 30137-02.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-02.htm
vendored
Normal file
6
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
I am actually working on an antidote for the epidemic along with several Dark Elves who have survived. But I'm not a scholar or a magician, so there aren't that many things I can do. All I can do is collect research materials from nearby monsters to help with the research.<br>
|
||||||
|
But I'm not a warrior, so that's why I must ask adventurers like you for help.<br>
|
||||||
|
Please gather research ingredients from the monsters in the Bloody Swampland. If you do so, you'll have my etemal gratitude!<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 30137-03.htm">"Yes."</Button>
|
||||||
|
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-03.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00583_MeaningOfSurvival/30137-03.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Oh, great! So, what you have to do is to collect research ingredients from the monsters in the Bloody Swampland.<br>
|
||||||
|
Defeat <font color="LEVEL">Corpse Devourer, Corpse Absorber, Contaminated Rotten Root, Corpse Collector, and Decayed Spore,</font> and collect <font color="LEVEL">100 Putrefied Extracts</font>. I will certainly pay for your efforts.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Did you get them all already? You're... amazingly quick. I thought it would take longer to collect the Putrefied Extracts.<br>
|
||||||
|
Please give me the extracts. Then, I'll pay for them.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 30137-05.html">"Here are the Putrified Extracts."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Thank you for helping us. The researchers will be thrilled to see them.<br>
|
||||||
|
I hope that no more people perish from this epidemic. We will do our best to successfully develop an antidote.<br>
|
||||||
|
Please continue to be careful as you travel in this area.<br>
|
||||||
|
Oh! The antidote research will continue, so if you have time tomorrow, please stop by again.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You've brought all I asked for. Hand them over to me, and I'll give you the reward.<br>
|
||||||
|
Wait.. You didn't undertake the <font color="LEVEL">Adventure Guild's mission</font>? It's none of my business, but id you don't do it, you will lose a chance to gain an additional reward. <br>
|
||||||
|
Why don't you reconsider? I hope you make a wise choice.<br>
|
||||||
|
((If you do <font color="LEVEL">Basic Mission: Altar of Evil</font> and then complete this quest, you can eam additional rewards and Amity Points.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 34414-05.html">"I'll take the reward, now."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 34414-07.html">"I'll check the Adventure Guild's mission"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You made the wise decision. Get the mission from Adventure Guildsman Penny and come back to me.
|
||||||
|
</body></html>
|
@@ -0,0 +1,214 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00583_MeaningOfSurvival;
|
||||||
|
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Meaning Of Survival (00583)
|
||||||
|
* @URL https://l2wiki.com/Meaning_of_Survival
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00583_MeaningOfSurvival extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int START_NPC = 30137; // Vollodos
|
||||||
|
private static final int[] MONSTERS =
|
||||||
|
{
|
||||||
|
23162, // Corpse Devourer
|
||||||
|
23163, // Corpse Absorber
|
||||||
|
23166, // Contaminated Rotten Root
|
||||||
|
23167, // Decayed Spore
|
||||||
|
23171, // Corpse Collector
|
||||||
|
};
|
||||||
|
// Item
|
||||||
|
private static final int MONSTER_DROP = 48379; // Putrefied Extracts
|
||||||
|
// Misc
|
||||||
|
private static final int REQUIRED_DROP_COUNT = 100;
|
||||||
|
private static final int REQUIRED_KILL_COUNT = 100;
|
||||||
|
private static final String KILL_COUNT_VAR = "KillCount";
|
||||||
|
private static final int KILLING_NPCSTRING_ID1 = NpcStringId.LV_86_96_MEANING_OF_SURVIVAL_IN_PROGRESS.getId();
|
||||||
|
private static final int KILLING_NPCSTRING_ID2 = NpcStringId.LV_86_96_MEANING_OF_SURVIVAL_2.getId();
|
||||||
|
private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY
|
||||||
|
private static final boolean PARTY_QUEST = true;
|
||||||
|
private static final int KILLING_COND = 1;
|
||||||
|
private static final int FINISH_COND = 2;
|
||||||
|
private static final int MIN_LEVEL = 86;
|
||||||
|
// Rewards
|
||||||
|
private static final int XP = 284703720;
|
||||||
|
private static final int SP = 284700;
|
||||||
|
private static final int REWARD_ITEM1 = 57; // ADENA
|
||||||
|
private static final int REWARD_ITEM1_AMOUNT = 512370;
|
||||||
|
|
||||||
|
public Q00583_MeaningOfSurvival()
|
||||||
|
{
|
||||||
|
super(583);
|
||||||
|
addStartNpc(START_NPC);
|
||||||
|
addTalkId(START_NPC);
|
||||||
|
addKillId(MONSTERS);
|
||||||
|
registerQuestItems(MONSTER_DROP);
|
||||||
|
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "30137-01.htm":
|
||||||
|
case "30137-02.htm":
|
||||||
|
{
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
case "30137-03.htm":
|
||||||
|
{
|
||||||
|
if (qs.isCreated())
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
qs.setCond(KILLING_COND);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30137-05.html":
|
||||||
|
{
|
||||||
|
if (qs.isCond(FINISH_COND) && (getQuestItemsCount(player, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
takeItems(player, MONSTER_DROP, -1);
|
||||||
|
// Reward.
|
||||||
|
addExpAndSp(player, XP, SP);
|
||||||
|
rewardItems(player, REWARD_ITEM1, REWARD_ITEM1_AMOUNT);
|
||||||
|
qs.exitQuest(QUEST_TYPE, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
if (npc.getId() == START_NPC)
|
||||||
|
{
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
htmltext = "30137-00.htm";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
if (qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
htmltext = "30137-03.htm";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(FINISH_COND))
|
||||||
|
{
|
||||||
|
// Check if Faction quest has been taken
|
||||||
|
final QuestState st = player.getQuestState("Q00563_BasicMissionBloodySwampland");
|
||||||
|
if ((st != null) && st.isStarted())
|
||||||
|
{
|
||||||
|
htmltext = "30137-04.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "30137-06.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "30137-00.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||||
|
{
|
||||||
|
QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
giveItemRandomly(killer, npc, MONSTER_DROP, 1, REQUIRED_DROP_COUNT, 1, true);
|
||||||
|
|
||||||
|
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||||
|
if (killCount < REQUIRED_KILL_COUNT)
|
||||||
|
{
|
||||||
|
qs.set(KILL_COUNT_VAR, killCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((killCount >= REQUIRED_KILL_COUNT) && (getQuestItemsCount(killer, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
qs.setCond(FINISH_COND, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
sendNpcLogList(killer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.onKill(npc, killer, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<NpcLogListHolder> getNpcLogList(PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID1, true, (int) getQuestItemsCount(player, MONSTER_DROP)));
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID2, true, qs.getInt(KILL_COUNT_VAR)));
|
||||||
|
return holder;
|
||||||
|
}
|
||||||
|
return super.getNpcLogList(player);
|
||||||
|
}
|
||||||
|
}
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-00.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-00.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
An old saying has it that a disastrous event can change you to a completely different person. I heard it many times but never paid attention because I thought such event would never happen to me.<br>
|
||||||
|
But alas... the old saying was true after all.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00584_NeverSayGoodBye 30137-01.htm">"Please Continue."</Button>
|
||||||
|
</body></html>
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-01.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
I had friends. Not many, but they meant a lot to me.<br>
|
||||||
|
Then, a disaster occurred near Dark Elf Village and killed all of them. I survived, but with no friends.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00584_NeverSayGoodBye 30137-02.htm">"Go on."</Button>
|
||||||
|
</body></html>
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-02.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
They left forever before I said good-bye. So, I'd like to hold a memorial service for my dear friends.<br>
|
||||||
|
If you don't mind, I'd like to ask a favor of you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00584_NeverSayGoodBye 30137-03.htm">"Tell me what you want from me."</Button>
|
||||||
|
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-03.htm
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-03.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
I want you to gather materials for the memorial service for my poor friends. Hunt <font color="LEVEL">Swamp Trackers, Corpse Shredder, Swamp Assassins, Delegates of Blood, and Swamp Watchers</font> in the Bloody Swampland, and bring me <font color="LEVEL">100 Rotten Blood</font>.<br>
|
||||||
|
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-04.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You brought the Rotten Blood? Oh, that's plenty. Please give it to me.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00584_NeverSayGoodBye 30137-05.html">"Here you go."</Button>
|
||||||
|
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-05.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
Here is the reward I promised. There's one thing I'd like to tell you... Take care of your friends and make good memories with them. Otherwise, you'll regret it when they're gone.<br>
|
||||||
|
Ah... sorry. Forget what I just said. Anyway, you are always welcome here. I could always use your help. Visit me whenever you have time.<br>
|
||||||
|
</body></html>
|
8
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-06.html
vendored
Normal file
8
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-06.html
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You've brought all I asked for. Hand them over to me, and I'll give you the reward.<br>
|
||||||
|
Wait.. You didn't undertake the <font color="LEVEL">Adventure Guild's mission</font>? It's none of my business, but id you don't do it, you will lose a chance to gain an additional reward. <br>
|
||||||
|
Why don't you reconsider? I hope you make a wise choice.<br>
|
||||||
|
((If you do <font color="LEVEL">Basic Mission: Altar of Evil</font> and then complete this quest, you can eam additional rewards and Amity Points.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 34414-05.html">"I'll take the reward, now."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00583_MeaningOfSurvival 34414-07.html">"I'll check the Adventure Guild's mission"</Button>
|
||||||
|
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-07.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q00584_NeverSayGoodBye/30137-07.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Grocer Vollodos:<br>
|
||||||
|
You made the wise decision. Get the mission from Adventure Guildsman Penny and come back to me.
|
||||||
|
</body></html>
|
@@ -0,0 +1,214 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q00584_NeverSayGoodBye;
|
||||||
|
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
import com.l2jmobius.gameserver.enums.QuestType;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.Npc;
|
||||||
|
import com.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||||
|
import com.l2jmobius.gameserver.model.holders.NpcLogListHolder;
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Never Say Good Bye (00584)
|
||||||
|
* @URL https://l2wiki.com/Never_Say_Good_Bye
|
||||||
|
* @author NightBR
|
||||||
|
*/
|
||||||
|
public class Q00584_NeverSayGoodBye extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int START_NPC = 30137; // Vollodos
|
||||||
|
private static final int[] MONSTERS =
|
||||||
|
{
|
||||||
|
23164, // Corpse Shredder
|
||||||
|
23168, // Swamp Tracker
|
||||||
|
23169, // Swamp Assassin
|
||||||
|
23170, // Swamp Watcher
|
||||||
|
23172, // Delegate of Blood
|
||||||
|
};
|
||||||
|
// Item
|
||||||
|
private static final int MONSTER_DROP = 48380; // Rotten Blood
|
||||||
|
// Misc
|
||||||
|
private static final int REQUIRED_DROP_COUNT = 100;
|
||||||
|
private static final int REQUIRED_KILL_COUNT = 100;
|
||||||
|
private static final String KILL_COUNT_VAR = "KillCount";
|
||||||
|
private static final int KILLING_NPCSTRING_ID1 = NpcStringId.LV_86_96_NEVER_SAY_GOOD_BYE_IN_PROGRESS.getId();
|
||||||
|
private static final int KILLING_NPCSTRING_ID2 = NpcStringId.LV_86_96_NEVER_SAY_GOOD_BYE_2.getId();
|
||||||
|
private static final QuestType QUEST_TYPE = QuestType.DAILY; // REPEATABLE, ONE_TIME, DAILY
|
||||||
|
private static final boolean PARTY_QUEST = true;
|
||||||
|
private static final int KILLING_COND = 1;
|
||||||
|
private static final int FINISH_COND = 2;
|
||||||
|
private static final int MIN_LEVEL = 86;
|
||||||
|
// Rewards
|
||||||
|
private static final int XP = 284703720;
|
||||||
|
private static final int SP = 284700;
|
||||||
|
private static final int REWARD_ITEM1 = 57; // ADENA
|
||||||
|
private static final int REWARD_ITEM1_AMOUNT = 512370;
|
||||||
|
|
||||||
|
public Q00584_NeverSayGoodBye()
|
||||||
|
{
|
||||||
|
super(584);
|
||||||
|
addStartNpc(START_NPC);
|
||||||
|
addTalkId(START_NPC);
|
||||||
|
addKillId(MONSTERS);
|
||||||
|
registerQuestItems(MONSTER_DROP);
|
||||||
|
addCondMinLevel(MIN_LEVEL, getNoQuestMsg(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "30137-01.htm":
|
||||||
|
case "30137-02.htm":
|
||||||
|
{
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
case "30137-03.htm":
|
||||||
|
{
|
||||||
|
if (qs.isCreated())
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
qs.setCond(KILLING_COND);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30137-05.html":
|
||||||
|
{
|
||||||
|
if (qs.isCond(FINISH_COND) && (getQuestItemsCount(player, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
takeItems(player, MONSTER_DROP, -1);
|
||||||
|
// Reward.
|
||||||
|
addExpAndSp(player, XP, SP);
|
||||||
|
rewardItems(player, REWARD_ITEM1, REWARD_ITEM1_AMOUNT);
|
||||||
|
qs.exitQuest(QUEST_TYPE, true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(Npc npc, PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
|
||||||
|
if (npc.getId() == START_NPC)
|
||||||
|
{
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
htmltext = "30137-00.htm";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
if (qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
htmltext = "30137-03.htm";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(FINISH_COND))
|
||||||
|
{
|
||||||
|
// Check if Faction quest has been taken
|
||||||
|
final QuestState st = player.getQuestState("Q00563_BasicMissionBloodySwampland");
|
||||||
|
if ((st != null) && st.isStarted())
|
||||||
|
{
|
||||||
|
htmltext = "30137-04.html";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = "30137-06.html";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
if (qs.isNowAvailable())
|
||||||
|
{
|
||||||
|
qs.setState(State.CREATED);
|
||||||
|
htmltext = "30137-00.htm";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
htmltext = getAlreadyCompletedMsg(player, QUEST_TYPE);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(Npc npc, PlayerInstance killer, boolean isSummon)
|
||||||
|
{
|
||||||
|
QuestState qs = PARTY_QUEST ? getRandomPartyMemberState(killer, -1, 3, npc) : getQuestState(killer, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
giveItemRandomly(killer, npc, MONSTER_DROP, 1, REQUIRED_DROP_COUNT, 1, true);
|
||||||
|
|
||||||
|
final int killCount = qs.getInt(KILL_COUNT_VAR) + 1;
|
||||||
|
if (killCount < REQUIRED_KILL_COUNT)
|
||||||
|
{
|
||||||
|
qs.set(KILL_COUNT_VAR, killCount);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((killCount >= REQUIRED_KILL_COUNT) && (getQuestItemsCount(killer, MONSTER_DROP) >= REQUIRED_DROP_COUNT))
|
||||||
|
{
|
||||||
|
qs.setCond(FINISH_COND, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
sendNpcLogList(killer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.onKill(npc, killer, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Set<NpcLogListHolder> getNpcLogList(PlayerInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if ((qs != null) && qs.isCond(KILLING_COND))
|
||||||
|
{
|
||||||
|
final Set<NpcLogListHolder> holder = new HashSet<>();
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID1, true, (int) getQuestItemsCount(player, MONSTER_DROP)));
|
||||||
|
holder.add(new NpcLogListHolder(KILLING_NPCSTRING_ID2, true, qs.getInt(KILL_COUNT_VAR)));
|
||||||
|
return holder;
|
||||||
|
}
|
||||||
|
return super.getNpcLogList(player);
|
||||||
|
}
|
||||||
|
}
|
@@ -137,7 +137,13 @@ import quests.Q00511_AwlUnderFoot.Q00511_AwlUnderFoot;
|
|||||||
import quests.Q00512_BladeUnderFoot.Q00512_BladeUnderFoot;
|
import quests.Q00512_BladeUnderFoot.Q00512_BladeUnderFoot;
|
||||||
import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter;
|
import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter;
|
||||||
import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated;
|
import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated;
|
||||||
|
import quests.Q00562_BasicMissionAltarOfEvil.Q00562_BasicMissionAltarOfEvil;
|
||||||
|
import quests.Q00563_BasicMissionBloodySwampland.Q00563_BasicMissionBloodySwampland;
|
||||||
import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo;
|
import quests.Q00564_BasicMissionKartiasLabyrinthSolo.Q00564_BasicMissionKartiasLabyrinthSolo;
|
||||||
|
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
|
||||||
|
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
|
||||||
|
import quests.Q00583_MeaningOfSurvival.Q00583_MeaningOfSurvival;
|
||||||
|
import quests.Q00584_NeverSayGoodBye.Q00584_NeverSayGoodBye;
|
||||||
import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames;
|
import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames;
|
||||||
import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame;
|
import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame;
|
||||||
import quests.Q00620_FourGoblets.Q00620_FourGoblets;
|
import quests.Q00620_FourGoblets.Q00620_FourGoblets;
|
||||||
@@ -577,8 +583,8 @@ public class QuestMasterHandler
|
|||||||
Q00551_OlympiadStarter.class,
|
Q00551_OlympiadStarter.class,
|
||||||
Q00553_OlympiadUndefeated.class,
|
Q00553_OlympiadUndefeated.class,
|
||||||
Q00561_BasicMissionHarnakUndergroundRuins.class, // TODO: Not done.
|
Q00561_BasicMissionHarnakUndergroundRuins.class, // TODO: Not done.
|
||||||
Q00562_BasicMissionAltarOfEvil.class, // TODO: Not done.
|
Q00562_BasicMissionAltarOfEvil.class,
|
||||||
Q00563_BasicMissionBloodySwampland.class, // TODO: Not done.
|
Q00563_BasicMissionBloodySwampland.class,
|
||||||
Q00564_BasicMissionKartiasLabyrinthSolo.class,
|
Q00564_BasicMissionKartiasLabyrinthSolo.class,
|
||||||
Q00565_BasicMissionFairySettlementWest.class, // TODO: Not done.
|
Q00565_BasicMissionFairySettlementWest.class, // TODO: Not done.
|
||||||
Q00566_BasicMissionFairySettlementEast.class, // TODO: Not done.
|
Q00566_BasicMissionFairySettlementEast.class, // TODO: Not done.
|
||||||
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00562_BasicMissionAltarOfEvil extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 34413;
|
|
||||||
|
|
||||||
public Q00562_BasicMissionAltarOfEvil()
|
|
||||||
{
|
|
||||||
super(562);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00563_BasicMissionBloodySwampland extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 34413;
|
|
||||||
|
|
||||||
public Q00563_BasicMissionBloodySwampland()
|
|
||||||
{
|
|
||||||
super(563);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00581_ThePurificationRitual extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 34414;
|
|
||||||
|
|
||||||
public Q00581_ThePurificationRitual()
|
|
||||||
{
|
|
||||||
super(581);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00582_WashBloodWithBlood extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 34414;
|
|
||||||
|
|
||||||
public Q00582_WashBloodWithBlood()
|
|
||||||
{
|
|
||||||
super(582);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00583_MeaningOfSurvival extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 30137;
|
|
||||||
|
|
||||||
public Q00583_MeaningOfSurvival()
|
|
||||||
{
|
|
||||||
super(583);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,36 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.not_done;
|
|
||||||
|
|
||||||
import com.l2jmobius.Config;
|
|
||||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Mobius
|
|
||||||
*/
|
|
||||||
public class Q00584_NeverSayGoodBye extends Quest
|
|
||||||
{
|
|
||||||
private static final int START_NPC = 30137;
|
|
||||||
|
|
||||||
public Q00584_NeverSayGoodBye()
|
|
||||||
{
|
|
||||||
super(584);
|
|
||||||
addStartNpc(START_NPC);
|
|
||||||
addTalkId(START_NPC);
|
|
||||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
|
||||||
}
|
|
||||||
}
|
|
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/34414.htm
vendored
Normal file
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/html/default/34414.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
I shall make them pay back for what they're done. I swear.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||||
|
</body></html>
|
@@ -5,8 +5,6 @@
|
|||||||
556 Red Libra Request - Fallen Emperor's Throne
|
556 Red Libra Request - Fallen Emperor's Throne
|
||||||
557 Red Libra Request - Fall of Etina
|
557 Red Libra Request - Fall of Etina
|
||||||
561 Basic Mission: Harnak Underground Ruins
|
561 Basic Mission: Harnak Underground Ruins
|
||||||
562 Basic Mission: Altar of Evil
|
|
||||||
563 Basic Mission: Bloody Swampland
|
|
||||||
565 Basic Mission: Fairy Settlement - West
|
565 Basic Mission: Fairy Settlement - West
|
||||||
566 Basic Mission: Fairy Settlement - East
|
566 Basic Mission: Fairy Settlement - East
|
||||||
567 Basic Mission: Isle of Souls
|
567 Basic Mission: Isle of Souls
|
||||||
@@ -21,10 +19,6 @@
|
|||||||
576 Special Mission: Defeat Spezion
|
576 Special Mission: Defeat Spezion
|
||||||
577 Basic Mission: Silent Valley
|
577 Basic Mission: Silent Valley
|
||||||
580 Beyond the Memories
|
580 Beyond the Memories
|
||||||
581 The Purification Ritual
|
|
||||||
582 Wash Blood with Blood
|
|
||||||
583 Meaning of Survival
|
|
||||||
584 Never Say Good Bye
|
|
||||||
585 Can't Go Against the Time
|
585 Can't Go Against the Time
|
||||||
586 Mutated Creatures
|
586 Mutated Creatures
|
||||||
587 More Aggressive Operation
|
587 More Aggressive Operation
|
||||||
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Teleport Device:<br>
|
||||||
|
(According to Gatekeeper Bella, in order to reach the <font color="LEVEL">Altar of Evil</font>, you need to go to the <font color="LEVEL">Bloody Swampland</font>Go there and look for <font color="LEVEL">Lapathia</font>a Mystic of Dark Arts.)<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
Do you have something else you need?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30256-02.html">"How do I go to the Altar of Evil?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
Are you here on a mission from the Adventure Guild? I've seen many who are. If so, I'll explain the details.<br>
|
||||||
|
You'll have to select <font color="LEVEL">Dark Elf Village</font> from the teleport link I give you and go there. The area for an active mission will appear <font color="LEVEL">at the top of the teleport list</font> so it won't be hard to find.<br>
|
||||||
|
But you have to watch out for one thing.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30256-03.html">"What's that?"</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Gatekeeper Bella:<br>
|
||||||
|
There's no Gatekeeper in the Dark Elf Village. In the past, there had been a Gatekeeper, however, now, due to a tragic accident, there is only a <font color="LEVEL">Teleport Device</font>.<br>
|
||||||
|
Anyway, there's no other option. Go and check the missions.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Gatekeeper Elisa:<br>
|
||||||
|
You want to know how to go to the Altar of Evil? It must be because of your mission from the Adventure Guild! Alright, I'll tell you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 30848-02.html">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Gatekeeper Elisa:<br>
|
||||||
|
The <font color="LEVEL">Altar of Evil</font> is a Hunting Zone that can be accessed by the Dark Elf Village. But, there is no direct channel to teleport from the Town of Aden to the Dark Elf Village. So, you'll have to go somewhere that has teleporting routes to the Dark Elf Village.<br>
|
||||||
|
You should go to the <font color="LEVEL">Town of Gludio</font>. Once you get there, ask <font color="LEVEL">Gatekeeper Bella</font> about how to teleport. For now, why don't you just focus on getting to the <font color="LEVEL">Town of Gludio</font>.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_showTeleports">"Check Teleport List."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-02.htm">"Sure, no problem!"</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-03.htm">"Go on."</button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Your mission is to assist with the task at the Altar of Evil. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-04.htm">"Alright."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
You've already leamed everything you need to know about the mission. By that I mean, how to go to the Altar of Evil. You should be able to start the mission right away without further explanation.<br>
|
||||||
|
But if you want to listen to the explanation again, I'd be happy to tell you.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-05.html">"Receive the mission."</Button>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-09.html">"Hear the explanation again."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Good choice. Now, go to <font color="LEVEL">Black Wizard Lapathia</font> at the <font color="LEVEL">Altar of Evil</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Welcome back! So, did you do a good job?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34413-07.html">"Yes, I did."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
To do the mission, you have to go to <font color="LEVEL">Black Wizard Lapathia</font> at the <font color="LEVEL">Altar of Evil</font>. Do the mission that Lapathia gives. Then, come back to me. <br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
I'm sure the Gatekeeper of the town, <font color="LEVEL">Gatekeeper Elise</font>, could give you a better explanation. Go to her and ask how you can go to the <font color="LEVEL">Altar of Evil</font>. She's very friendly so don't be shy.<br>
|
||||||
|
If you anive successfully, meet the black wizard, Lapathia, and ask about the mission.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Adventure Guildsman Penny:<br>
|
||||||
|
You need to leam how to get there first. Go to <font color="LEVEL">Gatekeeper Elise</font> and ask how to go to the <font color="LEVEL">Altar of Evil</font>. She will give you a detailed explanation.<br>
|
||||||
|
If you arive successfully, meet the black wizard, Lapathia, and ask about the mission.<br>
|
||||||
|
</body></html>
|
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
|
||||||
|
<font color="LEVEL">(To do "Basic Mission: Altar of Evil," you must do "The Purification Ritual" and "Wash Blood with Blood" through Black Wizard Lapathia.)</font>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<ht<html><body>Black Wizard Lapathia:<br>
|
||||||
|
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
|
||||||
|
Don't tell me you're going to walk all the way up there. I know a better way.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34414-03.html">"Go on."</Button>
|
||||||
|
</body></html>
|
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Black Wizard Lapathia:<br>
|
||||||
|
When setting out for a joumey, veteran adventurers always pack <font color="LEVEL">Scrolls of Escape</font>, it teleports the user immediately to the closest village or to the check point.<br>
|
||||||
|
If you have these useful items, you can move easily after hunting or when you are far away from the village. Since you've been a great help to me, I'll give you the scroll that can teleport you directly to the Town of Aden.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00562_BasicMissionAltarOfEvil 34414-04.html">"Thank you for your kindness."</Button>
|
||||||
|
</body></html>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user