Quest Start of Fate (10331).

This commit is contained in:
mobius 2015-02-21 21:45:17 +00:00
parent 5a86b889d1
commit d394184c4c
93 changed files with 1671 additions and 24 deletions

View File

@ -0,0 +1,4 @@
<html><body>Sebion:<br>
It's taking my injuries so long to heal. I don't think I could move if I tried.<br>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
</body></html>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<instance name="Labyrinth of Belis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
<allowSummon val="false" />
<emptyDestroyTime val="5" />
<spawnPoint spawnX="-119942" spawnY="211142" spawnZ="-8591" />
<doorlist>
<door doorId="16240001" />
<door doorId="16240002" />
<door doorId="16240003" />
<door doorId="16240004" />
<door doorId="16240005" />
<door doorId="16240006" />
<door doorId="16240007" />
<door doorId="16240008" />
</doorlist>
<spawnlist>
<group name="room_1">
<!-- Room 1 -->
<spawn npcId="22998" x="-118586" y="211471" z="-8592" heading="61614" respawn="0" />
<spawn npcId="22998" x="-118136" y="211357" z="-8592" heading="16534" respawn="0" />
<spawn npcId="22998" x="-118039" y="210923" z="-8592" heading="40253" respawn="0" />
<spawn npcId="22998" x="-118036" y="211376" z="-8592" heading="56890" respawn="0" />
<spawn npcId="22998" x="-118689" y="211003" z="-8592" heading="20853" respawn="0" />
</group>
<group name="general">
<!-- Room 2 -->
<spawn npcId="33215" x="-116512" y="212974" z="-8575" heading="0" respawn="60" />
<spawn npcId="22997" x="-116418" y="212683" z="-8592" heading="32382" respawn="30" />
<spawn npcId="22997" x="-116724" y="212683" z="-8592" heading="20150" respawn="30" />
<spawn npcId="22997" x="-116353" y="213190" z="-8592" heading="58765" respawn="30" />
<spawn npcId="22997" x="-116103" y="213070" z="-8592" heading="38041" respawn="30" />
</group>
</spawnlist>
</instance>

View File

@ -31,8 +31,12 @@ import com.l2jserver.gameserver.model.skills.Skill;
*/
public final class AdventurersGuide extends AbstractNpcAI
{
// NPC
private static final int ADVENTURERS_GUIDE = 32327;
// NPCs
private static final int[] ADVENTURERS_GUIDE =
{
32327,
33454, // Newbie Helper
};
// Skills
private static final SkillHolder BLESS_PROTECTION = new SkillHolder(5182, 1); // Blessing of Protection
private static final SkillHolder KNIGHT = new SkillHolder(15648, 1); // Knight's Harmony (Adventurer)

View File

@ -41,6 +41,7 @@ import instances.JiniaGuildHideout2.JiniaGuildHideout2;
import instances.JiniaGuildHideout3.JiniaGuildHideout3;
import instances.JiniaGuildHideout4.JiniaGuildHideout4;
import instances.Kamaloka.Kamaloka;
import instances.LabyrinthOfBelis.LabyrinthOfBelis;
import instances.LibraryOfSages.LibraryOfSages;
import instances.MithrilMine.MithrilMine;
import instances.MonasteryOfSilence1.MonasteryOfSilence1;
@ -86,6 +87,7 @@ public final class InstanceLoader
JiniaGuildHideout3.class,
JiniaGuildHideout4.class,
Kamaloka.class,
LabyrinthOfBelis.class,
LibraryOfSages.class,
MithrilMine.class,
MonasteryOfSilence1.class,

View File

@ -0,0 +1,7 @@
<html><body>Terian:<br>
Lakcis spoke of you.<br>
I am Terian, and I have come to help you through the Labyrinth of Belis.<br>
Now, when we open this door, enemies win rush toward us. We must defeat them and go on to the next room.<br>
Ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis room_1">"Yes, I'm ready."</button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Terian:<br>
You're better than you look!<br>
Now, this is the second room. I've already checked the place out, and I think they did something to the device in the middle of the room.<br>
If we activate it, I'm sure the door will open.<br>
Ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis room_2">"Yes, I'm ready."</button>
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Terian:<br>
We reached the final room! Excellent!<br>
This will be the most difficult challenge, and will test us both to our limits.<br>
There is a powerful current flowing through this room, which you cannot pass. I can, but only with special equipment, and even then, I can only last a little while.<br>
I want you to watch over me while I destroy the circuit breaker, ok? As soon as I start, enemies will come pouring in, so keep them off me!<br>
Ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis room_3">"Ready!"</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Terian:<br>
Alright!<br>
One door left, and I have no idea what's behind it. Good luck, friend.<br>
Are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis room_4">"Let's do this."</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Terian:<br>
What happened?<br>
Someone scary has been resurrected. Let's go back to town! I'll move you.<br>
Are you ready?
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis exit_instance">"Ready!"</button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Terian:<br>
Focus on the battle. We'll talk later.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Belis Verification System:<br>
To open the door to the next room, you will need to insert Belis' Mark in order to confirm authorization.<br>
3 Marks of Belis Required.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis insert_belis_marks">"Insert Belis' Marks"</button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Belis Verification System:<br>
All necessary Belis' Marks entered. Electric current device activating...
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Belis Verification System:<br>
3 Belis' Mark required.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Electricity Generator:<br>
-Intrusion Alert-
</body></html>

View File

@ -0,0 +1,510 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* L2J DataPack is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package instances.LabyrinthOfBelis;
import instances.AbstractInstance;
import java.util.List;
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
import com.l2jserver.gameserver.ai.CtrlIntention;
import com.l2jserver.gameserver.enums.ChatType;
import com.l2jserver.gameserver.instancemanager.InstanceManager;
import com.l2jserver.gameserver.instancemanager.ZoneManager;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.L2Attackable;
import com.l2jserver.gameserver.model.actor.L2Character;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2MonsterInstance;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.actor.instance.L2QuestGuardInstance;
import com.l2jserver.gameserver.model.instancezone.InstanceWorld;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.zone.L2ZoneType;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
/**
* Labyrinth of Belis Instance Zone.
* @author Mobius
*/
public final class LabyrinthOfBelis extends AbstractInstance
{
// Npcs
private static final int OFFICER = 19155;
private static final int NEMERTESS = 22984;
private static final int EMBRYO_HANDYMAN = 22997;
private static final int EMBRYO_OPERATIVE = 22998;
private static final int VERIFICATION_SYSTEM = 33215;
private static final int ELECTRICITY_GENERATOR = 33216;
private static L2QuestGuardInstance terian;
private static L2Npc generator;
private List<L2Npc> savedSpawns;
// Items
private static final int SARIL_NECKLACE = 17580;
private static final int BELIS_MARK = 17615;
// Locations
private static final Location TERIAN_SPAWN_LOC = new Location(-119063, 211160, -8592, 32000);
private static final Location TERIAN_ROOM_2_CORIDOR = new Location(-117996, 211484, -8596);
private static final Location TERIAN_ROOM_2_WAIT_LOC = new Location(-117041, 212521, -8592);
private static final Location TERIAN_ROOM_3_CORIDOR = new Location(-116818, 213281, -8596);
private static final Location TERIAN_ROOM_3_WAIT_LOC = new Location(-117873, 214233, -8592);
private static final Location TERIAN_ROOM_3_INSIDE = new Location(-118248, 214676, -8590);
private static final Location TERIAN_ROOM_3_MONSTER_SPAWN = new Location(-116669, 213220, -8594);
private static final Location TERIAN_ROOM_4_CORIDOR = new Location(-119180, 214033, -8592);
private static final Location TERIAN_ROOM_4_WAIT_LOC = new Location(-119153, 213732, -8595);
private static final Location TERIAN_ROOM_4_INSIDE = new Location(-118336, 212973, -8680);
private static final Location GENERATOR_SPAWN_LOC = new Location(-118253, 214706, -8584, 57541);
private static final Location NEMERTESS_SPAWN_LOC = new Location(-118336, 212973, -8680);
private static final Location START_LOC = new Location(-119942, 211142, -8591);
private static final Location EXIT_LOC = new Location(-111733, 231790, -3168);
// Misc
private static final int TEMPLATE_ID = 178;
private static final int DOOR_1 = 16240001;
private static final int DOOR_2 = 16240002;
private static final int DOOR_3 = 16240003;
private static final int DOOR_4 = 16240004;
private static final int DOOR_5 = 16240005;
private static final int DOOR_6 = 16240006;
private static final int DOOR_7 = 16240007;
private static final int DOOR_8 = 16240008;
private static final int DAMAGE_ZONE_ID = 10331;
private boolean assistPlayer = false;
protected class LOBWorld extends InstanceWorld
{
}
public LabyrinthOfBelis()
{
super(LabyrinthOfBelis.class.getSimpleName());
addStartNpc(OFFICER);
addFirstTalkId(OFFICER, VERIFICATION_SYSTEM, ELECTRICITY_GENERATOR);
addKillId(EMBRYO_OPERATIVE, EMBRYO_HANDYMAN, NEMERTESS);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = player.getQuestState(Q10331_StartOfFate.class.getSimpleName());
if (qs == null)
{
return null;
}
switch (event)
{
case "enter_instance":
{
enterInstance(player, new LOBWorld(), "LabyrinthOfBelis.xml", TEMPLATE_ID);
break;
}
case "officer_wait_1":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
if (world.getStatus() == 1)
{
showOnScreenMsg(player, NpcStringId.LET_ME_KNOW_WHEN_YOU_RE_ALL_READY, ExShowScreenMessage.TOP_CENTER, 4000);
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.LET_ME_KNOW_WHEN_YOU_RE_ALL_READY, 1000);
startQuestTimer("officer_wait_1", 5000, terian, player);
}
break;
}
case "room_1":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
openDoor(DOOR_2, player.getInstanceId());
world.setStatus(3);
assistPlayer = true;
startQuestTimer("assist_player", 3000, terian, player);
return null;
}
case "assist_player":
{
if (assistPlayer)
{
terian.setIsRunning(true);
if (player.isInCombat() && (player.getTarget() != null) && player.getTarget().isMonster() && !((L2MonsterInstance) player.getTarget()).isAlikeDead())
{
if (terian.calculateDistance(player.getTarget(), false, false) > 50)
{
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, player.getTarget().getLocation());
}
else if (terian.getTarget() != player.getTarget())
{
terian.addDamageHate((L2Character) player.getTarget(), 0, 1000);
}
}
else
{
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_FOLLOW, player);
}
startQuestTimer("assist_player", 1000, terian, player);
}
break;
}
case "officer_goto_2":
{
if (terian.calculateDistance(TERIAN_ROOM_2_CORIDOR, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_2_CORIDOR);
startQuestTimer("officer_goto_2", 1000, terian, player);
}
else
{
startQuestTimer("officer_wait_2", 1000, terian, player);
}
break;
}
case "officer_wait_2":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
if (terian.calculateDistance(TERIAN_ROOM_2_WAIT_LOC, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_2_WAIT_LOC);
startQuestTimer("officer_wait_2", 1000, terian, player);
}
else
{
terian.setHeading(terian.getHeading() + 32500);
terian.broadcastInfo();
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.HEY_YOU_RE_NOT_ALL_BAD_LET_ME_KNOW_WHEN_YOU_RE_READY, 1000);
world.setStatus(4);
}
break;
}
case "room_2":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
world.setStatus(5);
openDoor(DOOR_4, player.getInstanceId());
showOnScreenMsg(player, NpcStringId.MARK_OF_BELIS_CAN_BE_ACQUIRED_FROM_ENEMIES_NUSE_THEM_IN_THE_BELIS_VERIFICATION_SYSTEM, ExShowScreenMessage.TOP_CENTER, 5000);
assistPlayer = true;
startQuestTimer("assist_player", 3000, terian, player);
return null;
}
case "insert_belis_marks":
{
if (getQuestItemsCount(player, BELIS_MARK) > 2)
{
takeItems(player, BELIS_MARK, 3);
openDoor(DOOR_5, player.getInstanceId());
assistPlayer = false;
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.COME_ON_ONTO_THE_NEXT_PLACE, 1000);
startQuestTimer("officer_goto_3", 5000, terian, player);
return "33215-02.html";
}
return "33215-03.html";
}
case "officer_goto_3":
{
if (terian.calculateDistance(TERIAN_ROOM_3_CORIDOR, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_3_CORIDOR);
startQuestTimer("officer_goto_3", 1000, terian, player);
}
else
{
startQuestTimer("officer_wait_3", 1000, terian, player);
}
break;
}
case "officer_wait_3":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
if (terian.calculateDistance(TERIAN_ROOM_3_WAIT_LOC, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_3_WAIT_LOC);
startQuestTimer("officer_wait_3", 1000, terian, player);
}
else
{
terian.setHeading(terian.getHeading() + 32500);
terian.broadcastInfo();
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.READY_LET_ME_KNOW, 1000);
world.setStatus(6);
}
break;
}
case "room_3":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
world.setStatus(7);
generator.setState(1);
final L2ZoneType dmgZone = ZoneManager.getInstance().getZoneById(DAMAGE_ZONE_ID);
if (dmgZone != null)
{
dmgZone.setEnabled(true);
}
openDoor(DOOR_6, player.getInstanceId());
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_3_INSIDE);
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.DON_T_COME_BACK_HERE, 1000);
startQuestTimer("room_3_spawns", 10000, terian, player);
return null;
}
case "room_3_spawns":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
showOnScreenMsg(player, NpcStringId.BEHIND_YOU_THE_ENEMY_IS_AMBUSHING_YOU, ExShowScreenMessage.TOP_CENTER, 4000);
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.DON_T_COME_BACK_HERE, 1000);
// TODO:
/*
* if (getRandomBoolean()) { showOnScreenMsg(player, NpcStringId.IF_TERAIN_DIES_THE_MISSION_WILL_FAIL, ExShowScreenMessage.TOP_CENTER, 4000); }
*/
final L2Npc invader;
if (getRandomBoolean())
{
invader = addSpawn(EMBRYO_HANDYMAN, TERIAN_ROOM_3_MONSTER_SPAWN, false, 0, true, world.getInstanceId());
}
else
{
invader = addSpawn(EMBRYO_OPERATIVE, TERIAN_ROOM_3_MONSTER_SPAWN, false, 0, true, world.getInstanceId());
}
invader.setSpawn(null);
((L2Attackable) invader).addDamageHate(terian, 0, 1000);
invader.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_3_INSIDE);
invader.setRunning();
if (world.getStatus() < 12)
{
startQuestTimer("room_3_spawns", 12000, terian, player);
}
else
{
final L2ZoneType dmgZone = ZoneManager.getInstance().getZoneById(DAMAGE_ZONE_ID);
if (dmgZone != null)
{
dmgZone.setEnabled(false);
}
if (generator != null)
{
generator.deleteMe();
}
openDoor(DOOR_7, player.getInstanceId());
showOnScreenMsg(player, NpcStringId.ELECTRONIC_DEVICE_HAS_BEEN_DESTROYED, ExShowScreenMessage.TOP_CENTER, 4000);
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.DEVICE_DESTROYED_LET_S_GO_ONTO_THE_NEXT, 1000);
startQuestTimer("officer_goto_4", 1000, terian, player);
}
break;
}
case "officer_goto_4":
{
if (terian.calculateDistance(TERIAN_ROOM_4_CORIDOR, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_4_CORIDOR);
startQuestTimer("officer_goto_4", 1000, terian, player);
}
else
{
startQuestTimer("officer_wait_4", 1000, terian, player);
}
break;
}
case "officer_wait_4":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
if (terian.calculateDistance(TERIAN_ROOM_4_WAIT_LOC, false, false) > 10)
{
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_4_WAIT_LOC);
startQuestTimer("officer_wait_4", 1000, terian, player);
}
else
{
terian.setHeading(terian.getHeading() + 32500);
terian.broadcastInfo();
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.SOMETHING_OMINOUS_IN_THERE_I_HOPE_YOU_RE_REALLY_READY_FOR_THIS_LET_ME_KNOW, 1000);
world.setStatus(13);
}
break;
}
case "room_4":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
world.setStatus(14);
player.showQuestMovie(43);
openDoor(DOOR_8, player.getInstanceId());
startQuestTimer("spawn_boss", 47000, terian, player);
break;
}
case "spawn_boss":
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
addSpawn(NEMERTESS, NEMERTESS_SPAWN_LOC, false, 0, false, world.getInstanceId());
break;
}
case "exit_instance":
{
if (terian != null)
{
terian.deleteMe();
}
final InstanceWorld world = InstanceManager.getInstance().getWorld(player.getInstanceId());
world.removeAllowed(player.getObjectId());
teleportPlayer(player, EXIT_LOC, 0);
break;
}
}
return super.onAdvEvent(event, npc, player);
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
if (npc.getId() == OFFICER)
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(npc.getInstanceId());
switch (world.getStatus())
{
case 1:
{
world.incStatus();
return "19155-01.html";
}
case 2:
{
return "19155-01.html";
}
case 4:
{
return "19155-02.html";
}
case 6:
{
return "19155-03.html";
}
case 13:
{
return "19155-04.html";
}
case 15:
{
return "19155-05.html";
}
default:
{
return "19155-06.html";
}
}
}
else if (npc.getId() == VERIFICATION_SYSTEM)
{
return "33215-01.html";
}
else if (npc.getId() == ELECTRICITY_GENERATOR)
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(npc.getInstanceId());
if (world.getStatus() < 12)
{
return "33216-01.html";
}
}
return null;
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final InstanceWorld world = InstanceManager.getInstance().getWorld(npc.getInstanceId());
if (world instanceof LOBWorld)
{
switch (npc.getId())
{
case EMBRYO_OPERATIVE:
{
if ((world.getStatus() > 6) && (world.getStatus() < 12))
{
world.incStatus();
}
else
{
savedSpawns.remove(0);
if ((world.getStatus() == 3) && savedSpawns.isEmpty())
{
assistPlayer = false;
openDoor(DOOR_3, npc.getInstanceId());
broadcastNpcSay(terian, ChatType.NPC_GENERAL, NpcStringId.ALL_RIGHT_LET_S_MOVE_OUT, 1000);
startQuestTimer("officer_goto_2", 100, terian, killer);
}
}
break;
}
case EMBRYO_HANDYMAN:
{
if ((world.getStatus() > 6) && (world.getStatus() < 12))
{
world.incStatus();
}
else
{
if (getRandomBoolean())
{
npc.dropItem(killer, BELIS_MARK, 1);
}
}
break;
}
case NEMERTESS:
{
world.incStatus();
npc.deleteMe();
killer.showQuestMovie(44);
terian.setIsRunning(true);
terian.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, TERIAN_ROOM_4_INSIDE);
final QuestState qs = killer.getQuestState(Q10331_StartOfFate.class.getSimpleName());
if (qs == null)
{
return null;
}
giveItems(killer, SARIL_NECKLACE, 1);
qs.setCond(5);
break;
}
}
}
return super.onKill(npc, killer, isSummon);
}
@Override
public void onEnterInstance(L2PcInstance player, InstanceWorld world, boolean firstEntrance)
{
if (firstEntrance)
{
world.setStatus(1);
world.addAllowed(player.getObjectId());
terian = (L2QuestGuardInstance) addSpawn(OFFICER, TERIAN_SPAWN_LOC, false, 0, false, world.getInstanceId());
terian.setSpawn(null);
savedSpawns = spawnGroup("room_1", world.getInstanceId());
generator = addSpawn(ELECTRICITY_GENERATOR, GENERATOR_SPAWN_LOC, false, 0, false, world.getInstanceId());
openDoor(DOOR_1, world.getInstanceId());
startQuestTimer("officer_wait_1", 5000, terian, player);
}
teleportPlayer(player, START_LOC, world.getInstanceId());
}
}

View File

@ -0,0 +1,5 @@
<html><body>Grand Master Valfar:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32146-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Grand Master Valfar:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32146-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Grand Master Valfar:<br>
Are you ready to change to your new class?<br>
<button value="Warder" action="bypass -h Quest Q10331_StartOfFate change_to_126" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: crossbow; Armor: leather<br1>
Specialty: ranged attacker - ranged attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Grand Master Valfar:<br>
Are you ready to change to your new class?<br>
<button value="Trooper" action="bypass -h Quest Q10331_StartOfFate change_to_125" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: sword; Armor: leather<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
Congratulations, new <font color="LEVEL">Warder</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Valfar:<br>
Congratulations, new <font color="LEVEL">Trooper</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Grand Master Rivian:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32147-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Grand Master Rivian:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32147-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>Grand Master Rivian:<br>
Which path interests you?<br>
<button value="Wizard" action="bypass -h Quest Q10331_StartOfFate change_to_26" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: magic attacker - water attack
</font></center></td></tr></table><br>
<button value="Oracle" action="bypass -h Quest Q10331_StartOfFate change_to_29" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: healer - healing and support magic
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>Grand Master Rivian:<br>
Which path interests you?<br>
<button value="Knight" action="bypass -h Quest Q10331_StartOfFate change_to_19" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: sword-shield; Armor: heavy<br1>
Specialty: tank - healing and support magic
</font></center></td></tr></table><br>
<button value="Scout" action="bypass -h Quest Q10331_StartOfFate change_to_22" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: dagger; Armor: leather<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Congratulations, new <font color="LEVEL">Wizard</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Congratulations, new <font color="LEVEL">Oracle</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Congratulations, new <font color="LEVEL">Knight</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Master Rivian:<br>
Congratulations, new <font color="LEVEL">Scout</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Prefect Took:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32150-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Prefect Took:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32150-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>High Prefect Took:<br>
Are you ready to change to your new class?<br>
<button value="Shaman" action="bypass -h Quest Q10331_StartOfFate change_to_50" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed blunt; Armor: leather<br1>
Specialty: buffer - spells and support magic
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>High Prefect Took:<br>
Which path interests you?<br>
<button value="Raider" action="bypass -h Quest Q10331_StartOfFate change_to_45" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed sword; Armor: heavy<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table><br>
<button value="Monk" action="bypass -h Quest Q10331_StartOfFate change_to_47" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: fists; Armor: leather<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Congratulations, new <font color="LEVEL">Shaman</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Congratulations, new <font color="LEVEL">Raider</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Prefect Took:<br>
Congratulations, new <font color="LEVEL">Monk</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Priest Franco:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32153-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Priest Franco:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32153-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>High Priest Franco:<br>
Which path interests you?<br>
<button value="Wizard" action="bypass -h Quest Q10331_StartOfFate change_to_11" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: magic attacker - fire attack
</font></center></td></tr></table><br>
<button value="Cleric" action="bypass -h Quest Q10331_StartOfFate change_to_15" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: healer - healing and support magic
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,18 @@
<html><body>High Priest Franco:<br>
Which path interests you?<br>
<button value="Warrior" action="bypass -h Quest Q10331_StartOfFate change_to_1" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed sword; Armor: heavy<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table><br>
<button value="Knight" action="bypass -h Quest Q10331_StartOfFate change_to_4" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: sword-shield; Armor: heavy<br1>
Specialty: tank - healing and support magic
</font></center></td></tr></table><br>
<button value="Rogue" action="bypass -h Quest Q10331_StartOfFate change_to_7" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: dagger; Armor: leather<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Congratulations, new <font color="LEVEL">Wizard</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Congratulations, new <font color="LEVEL">Cleric</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Congratulations, new <font color="LEVEL">Warrior</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Congratulations, new <font color="LEVEL">Knight</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>High Priest Franco:<br>
Congratulations, new <font color="LEVEL">Rogue</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Moka:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32157-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Moka:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32157-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>Head Blacksmith Moka:<br>
Which path interests you?<br>
<button value="Scavenger" action="bypass -h Quest Q10331_StartOfFate change_to_54" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: blunt-shield; Armor: heavy<br1>
Specialty: spoiler - physical attack
</font></center></td></tr></table><br>
<button value="Artisan" action="bypass -h Quest Q10331_StartOfFate change_to_56" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: blunt-shield; Armor: heavy<br1>
Specialty: crafter - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Congratulations, new <font color="LEVEL">Scavenger</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Moka:<br>
Congratulations, new <font color="LEVEL">Artisan</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Grand Magister Devon:<br>
Considering your skills, I don't believe you're ready to take on missions outside the own yet. However, I would like to awaken your potential so as to accelerate your path to the wider world.<br>
If you're interested, I have a task for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32160-02.htm">"Oh?"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Grand Magister Devon:<br>
As you know, the Talking Island changed a great deal after the sky island fell, and the monsters on it awoke. Now it is more dangerous outside of the town than ever before, especially so in and around the giants' relics. We sent a team there to research the site, but I've started to fear for their lives.<br>
This is a big ask, but I would like you to go there and find the team. If you complete the mission, I'll <font color="LEVEL">transfer your class</font>. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32160-03.htm">"I say we have a deal."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
<font color="LEVEL">Lakcis</font> is at the <font color="LEVEL">entrance of the Ruins of Ye Sagira</font>. Help him with his relic research. Dusty work, but interesting.<br>
Oh, you can get there by talking to <font color="LEVEL">Gatekeeper Milia</font>.
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>Grand Magister Devon:<br>
Which path interests you?<br>
<button value="Wizard" action="bypass -h Quest Q10331_StartOfFate change_to_39" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: magic attacker - wind attack
</font></center></td></tr></table><br>
<button value="Oracle" action="bypass -h Quest Q10331_StartOfFate change_to_42" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: two-handed staff; Armor: robe<br1>
Specialty: healer - healing and support magic
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,13 @@
<html><body>Grand Magister Devon:<br>
Which path interests you?<br>
<button value="Knight" action="bypass -h Quest Q10331_StartOfFate change_to_32" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: sword-shield; Armor: heavy<br1>
Specialty: tank - buffs and support magic
</font></center></td></tr></table><br>
<button value="Assassin" action="bypass -h Quest Q10331_StartOfFate change_to_35" width=180 height=30 back="L2UI_CT1.HtmlWnd_DF_Level_Down" fore="L2UI_CT1.HtmlWnd_DF_Level"><br1>
<table width=280 align=center border=0 bgcolor="111111"><tr><td><center><font color="CC8400">
Main weapon: dagger; Armor: leather<br1>
Specialty: melee attacker - physical attack
</font></center></td></tr></table>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Congratulations, new <font color="LEVEL">Wizard</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Congratulations, new <font color="LEVEL">Oracle</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Congratulations, new <font color="LEVEL">Knight</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Grand Magister Devon:<br>
Congratulations, new <font color="LEVEL">Assassin</font>! Your fate offers you no respite, but the light will continue to watch over you.<br>
<font color="LEVEL">Pa'agrio Lord Kakai</font> is looking for you at the administrative office. Go talk to him, and he'll give you guidance unto your next adventures. May Einhasad watch over you!
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Pantheon:<br>
Thank you for defeating those that were trying to hatch the Evil Fragment. You have saved the town from a terrible danger. Sadly, our work is never done, and we have another threat to deal with now.<br>
We've been tracking the warped monster, and it seems to have left the island... we think it's headed to the continent now. We must report this to Amadeo.<br>
Hey you're holding...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate pantheon_send_to_master">"Saril's Necklace. It's for you."</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">High Priest Franco</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">Grand Master Rivian</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">Grand Magister Devon</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">High Prefect Took</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">Head Blacksmith Moka</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Pantheon:<br>
This... this is the necklace I gave to Saril many months ago. Oh... Saril...
Thank you for giving me this. It may not seem like much, but now that my daughter is dead, anything that belonged to her means a great deal to me.<br>
You should find <font color="LEVEL">Grand Master Valfar</font> in the <font color="LEVEL">Administration Office</font>. I think your work on this island is done. I think it's time you were prepared for the world.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Lakcis:<br>
Ahh... The reckless adventurer we all heard about was you? Are you still planning on entering the labyrinth and fighting the huge monster everyone else is terrified of?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32977-02.html">"I am. I'm not afraid"</button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Lakcis:<br>
Oh!<br>
The Labyrinth of Belis, a terrifying lair that's home to the largest of the monsters, is in <font color="LEVEL">Exploration zone 5</font>. You'll find it at the end of the ruins, along with ranger <font color="LEVEL">Sebion</font>. Ask him, and he'll let you enter the labyrinth.<br>
I'll send you to Exploration zone 5, if you're ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate LakcisTeleport">"Let's go!"</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Sebion:<br>
They shoved up a few weeks ago, a group & humans acting secretive and weird. I followed them into the Labyrinth and spied on them a bit, long enough to see that they had a large Evil Fragment.<br>
There was one, who seemed to be the leader, doing some kind & magical ritual on the fragment. Probably trying to hatch it. Can you even imagine what will happen if they manage that? The whole place might collapse again. This is why I sent to town for help, and it seems like you're the one they dispatched. So, what do you say? Will you help me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32978-03.html">"sure. I'd like a challenge."</button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Sebion:<br>
Whoa, whoa, whoa, hold up there! This place is dangerous--someone died in here recently. We can't let just anyone go waltzing in and out. Ahh... You're the ranger dispatched from the town. You can go on your way, but you'll want to know a couple & things first.<br>
I haven't been able to investigate, because I'm recovering from an injury, but there've been rumors or strangers going in and out or the underground area, and also of suspicious intruders in the Museum. Are these things linked?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10331_StartOfFate 32978-02.html">"Anything else to go on?"</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Sebion:<br>
Well, I did some research into the group I spied on in the Labyrinth, and managed to rind out that the one performing the ritual was <font color="LEVEL">Nemertess</font>, the same one who killed my good friend Saril.<br>
If you want to help, I can send you <font color="LEVEL">inside the Labyrinth or Belis</font>, and you can stop whatever evil plan they're cooking up--and avenge my friend in the process.<br>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Sebion:<br>
Remember: you're to defeat <font color="LEVEL">Nemertess</font>, the scientist trying to awaken the monster in the labyrinth.<br>
When you're ready, I can send you to the Labyrinth.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest LabyrinthOfBelis enter_instance">"I'm ready."</button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Sebion:<br>
You're saying that Nemertess managed to finish part of his plan before you could get rid of him? That is no good, no good at all. <font color="LEVEL">Pantheon</font> needs to know, so we can inform the town. Go to the <font color="LEVEL">Museum</font> in town, and report this to him. Ah, and this Necklace that you found... it is Saril's. I think you should give that to Pantheon, as well.<br>
When you use the <font color="LEVEL">Scroll of Escape</font>, It will take you immediately back to town.
</body></html>

View File

@ -0,0 +1,570 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* L2J DataPack is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package quests.Q10331_StartOfFate;
import com.l2jserver.gameserver.data.xml.impl.MultisellData;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.serverpackets.ExShowScreenMessage;
import com.l2jserver.gameserver.network.serverpackets.TutorialShowHtml;
/**
* Start of Fate (10331)
* @author Mobius
*/
public class Q10331_StartOfFate extends Quest
{
// Npcs
private static final int FRANCO = 32153;
private static final int VALFAR = 32146;
private static final int RIVIAN = 32147;
private static final int TOOK = 32150;
private static final int MOKA = 32157;
private static final int DEVON = 32160;
private static final int PANTHEON = 32972;
private static final int LAKCIS = 32977;
private static final int SEBION = 32978;
// Items
private static final int SARIL_NECKLACE = 17580;
private static final int BELIS_MARK = 17615;
private static final int PROOF_OF_COURAGE = 17821;
// Other
private static final Location LAKCIS_TELEPORT_LOC = new Location(-111774, 231933, -3160);
public Q10331_StartOfFate()
{
super(10331, Q10331_StartOfFate.class.getSimpleName(), "Start of Fate");
addStartNpc(FRANCO, VALFAR, RIVIAN, TOOK, MOKA, DEVON);
addTalkId(FRANCO, VALFAR, RIVIAN, TOOK, MOKA, DEVON, PANTHEON, LAKCIS, SEBION);
registerQuestItems(SARIL_NECKLACE, BELIS_MARK);
addCondMinLevel(18, "no_level.html");
// addCondCompletedQuest(Q10330_RuinsStatusUpdate.class.getSimpleName(), "no_prequest.html");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "32153-02.htm":
case "32147-02.htm":
case "32160-02.htm":
case "32150-02.htm":
case "32157-02.htm":
case "32146-02.htm":
case "32977-02.html":
case "32978-02.html":
{
htmltext = event;
break;
}
case "32153-03.htm":
case "32147-03.htm":
case "32160-03.htm":
case "32150-03.htm":
case "32157-03.htm":
case "32146-03.htm":
{
showOnScreenMsg(player, NpcStringId.GO_TO_THE_ENTRANCE_OF_THE_RUINS_OF_YE_SAGIRA_THROUGH_GATEKEEPER_MILIA_IN_TALKING_ISLAND_VILLAGE, ExShowScreenMessage.TOP_CENTER, 5000);
qs.startQuest();
qs.setCond(2);
qs.setCond(1);
htmltext = event;
break;
}
case "LakcisTeleport":
{
if (qs.isCond(1))
{
qs.setCond(2);
}
player.teleToLocation(LAKCIS_TELEPORT_LOC);
return null;
}
case "32978-03.html":
{
if (qs.isCond(2))
{
qs.setCond(3);
}
break;
}
case "pantheon_send_to_master":
{
if (!qs.isCond(5))
{
return null;
}
switch (player.getRace())
{
case HUMAN:
{
qs.setCond(6);
htmltext = "32972-02.html";
break;
}
case ELF:
{
qs.setCond(7);
htmltext = "32972-03.html";
break;
}
case DARK_ELF:
{
qs.setCond(8);
htmltext = "32972-04.html";
break;
}
case ORC:
{
qs.setCond(9);
htmltext = "32972-05.html";
break;
}
case DWARF:
{
qs.setCond(10);
htmltext = "32972-06.html";
break;
}
case KAMAEL:
{
qs.setCond(11);
htmltext = "32972-07.html";
break;
}
}
break;
}
}
if (event.startsWith("change_to_"))
{
if (qs.getCond() < 6)
{
return null;
}
final int classId = Integer.parseInt(event.replace("change_to_", ""));
player.setClassId(classId);
switch (classId)
{
case 1:
{
htmltext = "32153-09.html";
break;
}
case 4:
{
htmltext = "32153-10.html";
break;
}
case 7:
{
htmltext = "32153-11.html";
break;
}
case 11:
{
htmltext = "32153-07.html";
break;
}
case 15:
{
htmltext = "32153-08.html";
break;
}
case 19:
{
htmltext = "32147-09.html";
break;
}
case 22:
{
htmltext = "32147-10.html";
break;
}
case 26:
{
htmltext = "32147-07.html";
break;
}
case 29:
{
htmltext = "32147-08.html";
break;
}
case 32:
{
htmltext = "32160-09.html";
break;
}
case 35:
{
htmltext = "32160-10.html";
break;
}
case 39:
{
htmltext = "32160-07.html";
break;
}
case 42:
{
htmltext = "32160-08.html";
break;
}
case 45:
{
htmltext = "32150-08.html";
break;
}
case 47:
{
htmltext = "32150-09.html";
break;
}
case 50:
{
htmltext = "32150-07.html";
break;
}
case 54:
{
htmltext = "32157-06.html";
break;
}
case 56:
{
htmltext = "32157-07.html";
break;
}
case 125:
{
htmltext = "32146-08.html";
break;
}
case 126:
{
htmltext = "32146-07.html";
break;
}
}
giveAdena(player, 799, true);
giveItems(player, PROOF_OF_COURAGE, 40);
addExpAndSp(player, 200000, 48);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_009_enchant_01.htm", TutorialShowHtml.LARGE_WINDOW));
MultisellData.getInstance().separateAndSend(717, player, npc, false);
qs.exitQuest(false, true);
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = null;
switch (qs.getState())
{
case State.STARTED:
{
switch (npc.getId())
{
case FRANCO:
{
if (qs.isCond(1))
{
htmltext = "32153-04.html";
}
else if (qs.isCond(6))
{
if (player.isMageClass())
{
htmltext = "32153-05.html";
}
else
{
htmltext = "32153-06.html";
}
}
break;
}
case RIVIAN:
{
if (qs.isCond(1))
{
htmltext = "32147-04.html";
}
else if (qs.isCond(7))
{
if (player.isMageClass())
{
htmltext = "32147-05.html";
}
else
{
htmltext = "32147-06.html";
}
}
break;
}
case DEVON:
{
if (qs.isCond(1))
{
htmltext = "32160-04.html";
}
else if (qs.isCond(8))
{
if (player.isMageClass())
{
htmltext = "32160-05.html";
}
else
{
htmltext = "32160-06.html";
}
}
break;
}
case TOOK:
{
if (qs.isCond(1))
{
htmltext = "32150-04.html";
}
else if (qs.isCond(9))
{
if (player.getClassId().getId() == 49)
{
htmltext = "32150-05.html";
}
else
{
htmltext = "32150-06.html";
}
}
break;
}
case MOKA:
{
if (qs.isCond(1))
{
htmltext = "32157-04.html";
}
else if (qs.isCond(10))
{
htmltext = "32157-05.html";
}
break;
}
case VALFAR:
{
if (qs.isCond(1))
{
htmltext = "32146-04.html";
}
else if (qs.isCond(11))
{
if (player.getAppearance().getSex())
{
htmltext = "32146-05.html";
}
else
{
htmltext = "32146-06.html";
}
}
break;
}
case LAKCIS:
{
htmltext = "32977-01.html";
break;
}
case SEBION:
{
switch (qs.getCond())
{
case 2:
{
htmltext = "32978-01.html";
break;
}
case 3:
case 4:
{
htmltext = "32978-04.html";
break;
}
case 5:
{
htmltext = "32978-05.html";
break;
}
}
break;
}
case PANTHEON:
{
switch (qs.getCond())
{
case 5:
{
htmltext = "32972-01.html";
break;
}
case 6:
{
htmltext = "32972-02.html";
break;
}
case 7:
{
htmltext = "32972-03.html";
break;
}
case 8:
{
htmltext = "32972-04.html";
break;
}
case 9:
{
htmltext = "32972-05.html";
break;
}
case 10:
{
htmltext = "32972-06.html";
break;
}
case 11:
{
htmltext = "32972-07.html";
break;
}
}
break;
}
}
break;
}
case State.CREATED:
{
switch (player.getRace())
{
case HUMAN:
{
if (npc.getId() == FRANCO)
{
htmltext = "32153-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
case ELF:
{
if (npc.getId() == RIVIAN)
{
htmltext = "32147-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
case DARK_ELF:
{
if (npc.getId() == DEVON)
{
htmltext = "32160-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
case ORC:
{
if (npc.getId() == TOOK)
{
htmltext = "32150-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
case DWARF:
{
if (npc.getId() == MOKA)
{
htmltext = "32157-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
case KAMAEL:
{
if (npc.getId() == VALFAR)
{
htmltext = "32146-01.htm";
}
else
{
htmltext = getNoQuestMsg(player);
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -0,0 +1,3 @@
<html><body>I don't talk to youngsters. Come back when you've grown up a bit more.<br>
(This quest can only be taken by a character of level 18 or above.)
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Come back later!<br>
(Only characters who have completed the Ruins Status Update quest may take on this quest)
</body></html>

View File

@ -188,6 +188,7 @@ import quests.Q10323_TrainLikeItsReal.Q10323_TrainLikeItsReal;
import quests.Q10324_FindingMagisterGallint.Q10324_FindingMagisterGallint;
import quests.Q10325_SearchingForNewPower.Q10325_SearchingForNewPower;
import quests.Q10326_RespectYourElders.Q10326_RespectYourElders;
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
import quests.Q10501_ZakenEmbroideredSoulCloak.Q10501_ZakenEmbroideredSoulCloak;
import quests.Q10502_FreyaEmbroideredSoulCloak.Q10502_FreyaEmbroideredSoulCloak;
@ -384,6 +385,7 @@ public class QuestMasterHandler
Q10324_FindingMagisterGallint.class,
Q10325_SearchingForNewPower.class,
Q10326_RespectYourElders.class,
Q10331_StartOfFate.class,
Q10338_SeizeYourDestiny.class,
Q10501_ZakenEmbroideredSoulCloak.class,
Q10502_FreyaEmbroideredSoulCloak.class,

View File

@ -106,8 +106,13 @@
<item id="17821" name="Proof of Courage" additionalName="" type="EtcItem">
<!-- Proof received by those who have completed the first class transfer. Can be exchanged for equipment. -->
<set name="icon" val="icon.item_normal52" />
<set name="weight" val="2" />
<set name="immediate_effect" val="true" />
<set name="is_tradable" val="false" />
<set name="is_dropable" val="false" />
<set name="is_sellable" val="false" />
<set name="is_depositable" val="true" />
<set name="is_stackable" val="true" />
<set name="weight" val="2" />
</item>
<item id="17822" name="Proof of Justice" additionalName="" type="EtcItem">
<!-- Proof received by those who have completed the second class transfer. Can be exchanged for equipment. -->

View File

@ -935,18 +935,32 @@
<height normal="22.4" />
</collision>
</npc>
<npc id="19155" level="85" type="L2Npc" name="Infiltration Officer" title="Combat Assistant">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<npc id="19155" level="85" type="L2QuestGuard" name="Infiltration Officer" title="Combat Assistant">
<race>HUMAN</race>
<sex>FEMALE</sex>
<sex>MALE</sex>
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<vitals hp="7324" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<attribute>
<defence fire="160" water="160" wind="160" earth="160" holy="160" dark="160" />
</attribute>
<speed>
<walk ground="50" />
<run ground="120" />
</speed>
</stats>
<status attackable="false" />
<skill_list>
<skill id="4408" level="13" /> <!--HP Increase (5x) -->
<skill id="4409" level="1" /> <!--MP Increase (1x) -->
<skill id="4410" level="5" /> <!--Very Weak P. Atk. -->
<skill id="4411" level="4" /> <!--Extremely Weak M. Atk. -->
<skill id="4412" level="16" /> <!--Very Strong P. Def. -->
<skill id="4413" level="17" /> <!--Very Strong M. Def. -->
<skill id="4414" level="2" /> <!--Standard Type -->
<skill id="4415" level="3" /> <!--One-handed Sword -->
<skill id="4416" level="14" /> <!--Humans -->
</skill_list>
<ex_crt_effect>true</ex_crt_effect>
<s_npc_prop_hp_rate>5</s_npc_prop_hp_rate>
<collision>
<radius normal="9.5" />
<height normal="22.4" />

View File

@ -1275,18 +1275,30 @@
<height normal="22.4" />
</collision>
</npc>
<npc id="22984" level="85" type="L2Npc" name="Nemertess" title="Escort">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<race>HUMAN</race>
<sex>FEMALE</sex>
<npc id="22984" level="20" type="L2Monster" name="Nemertess" title="Escort">
<race>DARK_ELF</race>
<sex>MALE</sex>
<acquire expRate="0.5" sp="43" />
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<vitals hp="7324" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<vitals hp="1628" hpRegen="7.5" mp="637" mpRegen="2.7" />
<attribute>
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
</attribute>
<speed>
<walk ground="50" />
<run ground="120" />
</speed>
</stats>
<status attackable="false" />
<status attackable="true" targetable="true" showName="true" />
<skill_list>
<skill id="4416" level="9"/>
<skill id="5465" level="9"/>
</skill_list>
<ai type="FIGHTER" aggroRange="250" clanHelpRange="250" isAggressive="true">
<clan_list>
<clan>BELIS</clan>
</clan_list>
</ai>
<collision>
<radius normal="9.5" />
<height normal="22.4" />
@ -1411,35 +1423,65 @@
<height normal="22.4" />
</collision>
</npc>
<npc id="22997" level="85" type="L2Npc" name="Handyman" title="Embryo">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<npc id="22997" level="18" type="L2Monster" name="Handyman" title="Embryo">
<race>HUMAN</race>
<sex>FEMALE</sex>
<acquire expRate="0.5" sp="43" />
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<vitals hp="7324" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<vitals hp="478" hpRegen="7.5" mp="613" mpRegen="2.7" />
<attribute>
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
</attribute>
<speed>
<walk ground="50" />
<run ground="120" />
</speed>
</stats>
<status attackable="false" />
<status attackable="true" targetable="true" showName="true" />
<skill_list>
<skill id="4410" level="13" />
<skill id="4411" level="13" />
<skill id="4412" level="8" />
<skill id="4413" level="9" />
<skill id="4416" level="6" /> <!-- Humanoids -->
</skill_list>
<ai type="ARCHER" aggroRange="300" clanHelpRange="300" isAggressive="true">
<clan_list>
<clan>BELIS</clan>
</clan_list>
</ai>
<collision>
<radius normal="9.5" />
<height normal="22.4" />
</collision>
</npc>
<npc id="22998" level="85" type="L2Npc" name="Operative" title="Embryo">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<npc id="22998" level="18" type="L2Monster" name="Operative" title="Embryo">
<race>HUMAN</race>
<sex>FEMALE</sex>
<acquire expRate="0.5" sp="43" />
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<vitals hp="7324" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<vitals hp="478" hpRegen="7.5" mp="613" mpRegen="2.7" />
<attribute>
<defence fire="20" water="20" wind="20" earth="20" holy="20" dark="20" />
</attribute>
<speed>
<walk ground="50" />
<run ground="120" />
</speed>
</stats>
<status attackable="false" />
<status attackable="true" targetable="true" showName="true" />
<skill_list>
<skill id="4410" level="13" />
<skill id="4411" level="13" />
<skill id="4412" level="8" />
<skill id="4413" level="9" />
<skill id="4416" level="6" /> <!-- Humanoids -->
</skill_list>
<ai type="FIGHTER" aggroRange="250" clanHelpRange="250" isAggressive="true">
<clan_list>
<clan>BELIS</clan>
</clan_list>
</ai>
<collision>
<radius normal="9.5" />
<height normal="22.4" />

View File

@ -271,14 +271,13 @@
</collision>
</npc>
<npc id="33216" level="85" type="L2Npc" name="Electricity Generator" title="">
<!-- AUTO GENERATED NPC TODO: FIX IT -->
<race>HUMAN</race>
<sex>FEMALE</sex>
<stats str="40" int="21" dex="30" wit="20" con="43" men="20">
<vitals hp="7324" hpRegen="7.5" mp="1345.8" mpRegen="2.7" />
<speed>
<walk ground="50" />
<run ground="120" />
<walk ground="0" />
<run ground="0" />
</speed>
</stats>
<status attackable="false" />

View File

@ -22,4 +22,18 @@
<node X="-10033" Y="276448" />
<node X="-15016" Y="276448" />
</zone>
<!-- Labyrinth of Belis (Damage Zone) -->
<zone name="labyrinth_of_belis_damage_zone" id="10331" type="DamageZone" shape="NPoly" minZ="-9000" maxZ="-8000">
<stat name="dmgHPSec" val="67" />
<stat name="default_enabled" val="false" />
<stat name="reuse" val="5000" />
<node X="-117832" Y="214584 "/>
<node X="-117832" Y="215000 "/>
<node X="-118120" Y="215304 "/>
<node X="-118536" Y="215304 "/>
<node X="-118840" Y="215000 "/>
<node X="-118840" Y="214584 "/>
<node X="-118552" Y="214280 "/>
<node X="-118120" Y="214280 "/>
</zone>
</list>