Quest Deep Inside Atelia Fortress (10841).
Contributed by gigilo1968.
This commit is contained in:
parent
578230093e
commit
2e7852ee8f
@ -122,7 +122,6 @@
|
||||
10806 The Dimensional Warp, Part 6
|
||||
10807 The Dimensional Warp, Part 7
|
||||
10809 The Hero's Journey: Blazing Swamp
|
||||
10841 Deep Inside Atelia Fortress
|
||||
10843 Anomaly in the Enchanted Valley
|
||||
10844 Bloody Battle - Seizing Supplies
|
||||
10845 Bloody Battle - Rescue the Smiths
|
||||
|
@ -0,0 +1,4 @@
|
||||
<html><body>Shadai's Disciple Kaysia:<br>
|
||||
I'm grateful you want to help, but you will need to get a little stronger to help me.<br>
|
||||
(This quest is for characters Lv. 101 and higher who have completed the "Deep Inside Atelia Fortress" quest.)
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Shadai's Disciple Kaysia:<br>
|
||||
//@TODO Need retail HTML dialog (Gigi).<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10841_DeepInsideAteliaFortress 34051-02.html">"NEXT."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Shadai's Disciple Kaysia:<br>
|
||||
//@TODO Need retail HTML dialog (Gigi).<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
I do not believe our paths are meant to cross here. Perhaps later down the road.<br>
|
||||
(Only characters above Lv. 101.)
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Good timing. I had something to tell you.<br>
|
||||
Did you know that there's a very suspicious place inside the Atelia Fortress? It's hard to reach since it's so deep inside...<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10841_DeepInsideAteliaFortress 34057-02.htm">"What do you know about this place?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
The Atelia Fortress is just very suspicious in general, so it wouldn't be strange if there's something else. <br>
|
||||
We call it the Atelia Castle. A high officer of the Embryo is there.<br>His name is <font color="LEVEL">Kelbim</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10841_DeepInsideAteliaFortress 34057-03.htm">"Tell me more about Kelbim."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Kelbim is a high officer of the Embryo. He isn't inside the Atelia Fortress all the time, but he does come from time to time to manage it. There are many obstacles you must go through to get to the castle.<br>First, you must defeat the <font color="LEVEL">Atelia Trial Guardian Captain</font> who guards the gate to where Kelbim is. That's how you'll be able to open the gate. This isn't the end.<br>
|
||||
That place makes people who know each other fight. It might be because of the Atelia's effect. Anyway, you have to be wary of everyone inside. There's more to that, though.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10841_DeepInsideAteliaFortress 34057-04.htm">"What else?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
From what I heard, Kelbim has received the Seal of Calamity. That, combined with the power of the Atelia is causing <font color="LEVEL">constant change</font>.<br>
|
||||
I know you what you are capable of, but Kelbim won't be an easy opponent. Are you sure you want to go find Kelbim?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10841_DeepInsideAteliaFortress 34057-05.htm">"Yes, I'm sure."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Alright, once you infiltrate the Atelia Castle, you'll be able to meet <font color="LEVEL">Kelbim</font>.<br>
|
||||
Once you defeat him, you'll be able to get <font color="LEVEL">Kelbim's Armor Piece</font>. There's someone who needs that item, so go find her.<br>
|
||||
Her name is in <font color="LEVEL">Kaysia</font>, and she's in the <font color="LEVEL">forge in the Town of Oren</font>. She was eyeing Kelbim's Armor Piece, so take it to her once you have it.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
You are still here? Once you get to the Atelia Castle, you'll be able to meet <font color="LEVEL">Kelbim</font>. <br>
|
||||
Defeat him and collect <font color="LEVEL">Kelbim's Armor Piece</font>. After that, go find <font color="LEVEL">Shadai's Disciple Kaysia</font> in the <font color="LEVEL">Town of Oren</font>.
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
It looks like you've defeated Kelbim.<br>
|
||||
You should go find the Ertheia Blacksmith <font color="LEVEL">Shadai's Disciple Kaysia</font> in the Town of Oren.<br>
|
||||
She was visiting a while back. You should go now.
|
||||
</body></html>
|
@ -0,0 +1,163 @@
|
||||
/*
|
||||
* 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.Q10841_DeepInsideAteliaFortress;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Deep Inside Atelia Fortress (10841)
|
||||
* @URL https://l2wiki.com/Deep_Inside_Atelia_Fortress
|
||||
* @author Gigi
|
||||
*/
|
||||
public final class Q10841_DeepInsideAteliaFortress extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ELIKIA = 34057;
|
||||
private static final int KAYSIA = 34051;
|
||||
// Boss
|
||||
private static final int KELBIM = 26124;
|
||||
// Items
|
||||
private static final int KELBIM_ARMOR_PIECE = 46144;
|
||||
private static final int SPIRIT_STONE_HAIR_ACCESSORY = 45937;
|
||||
private static final int SUPERIOR_GIANTS_CODEX = 46151;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 101;
|
||||
|
||||
public Q10841_DeepInsideAteliaFortress()
|
||||
{
|
||||
super(10841);
|
||||
addStartNpc(ELIKIA);
|
||||
addTalkId(ELIKIA, KAYSIA);
|
||||
addKillId(KELBIM);
|
||||
registerQuestItems(KELBIM_ARMOR_PIECE);
|
||||
addCondMinLevel(MIN_LEVEL, "34057-00.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "34057-02.htm":
|
||||
case "34057-03.htm":
|
||||
case "34057-04.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34057-05.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34051-02.html":
|
||||
{
|
||||
giveItems(player, SPIRIT_STONE_HAIR_ACCESSORY, 1);
|
||||
giveItems(player, SUPERIOR_GIANTS_CODEX, 1);
|
||||
addExpAndSp(player, 7262301690L, 17429400);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = "34057-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ELIKIA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34057-06.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34057-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case KAYSIA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34051-00.html";
|
||||
}
|
||||
else if (qs.isCond(2) && hasQuestItems(player, KELBIM_ARMOR_PIECE))
|
||||
{
|
||||
htmltext = "34051-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
|
||||
{
|
||||
executeForEachPlayer(player, npc, isSummon, true, false);
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionForEachPlayer(L2PcInstance player, L2Npc npc, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if ((qs != null) && player.isInsideRadius(npc, Config.ALT_PARTY_RANGE, true, true))
|
||||
{
|
||||
giveItems(player, KELBIM_ARMOR_PIECE, 1);
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
}
|
||||
}
|
@ -418,6 +418,7 @@ import quests.Q10837_LookingForTheBlackbirdClanMember.Q10837_LookingForTheBlackb
|
||||
import quests.Q10838_TheReasonForNotBeingAbleToGetOut.Q10838_TheReasonForNotBeingAbleToGetOut;
|
||||
import quests.Q10839_BlackbirdsNameValue.Q10839_BlackbirdsNameValue;
|
||||
import quests.Q10840_TimeToRecover.Q10840_TimeToRecover;
|
||||
import quests.Q10841_DeepInsideAteliaFortress.Q10841_DeepInsideAteliaFortress;
|
||||
|
||||
/**
|
||||
* @author NosBit
|
||||
@ -826,7 +827,8 @@ public class QuestMasterHandler
|
||||
Q10837_LookingForTheBlackbirdClanMember.class,
|
||||
Q10838_TheReasonForNotBeingAbleToGetOut.class,
|
||||
Q10839_BlackbirdsNameValue.class,
|
||||
Q10840_TimeToRecover.class
|
||||
Q10840_TimeToRecover.class,
|
||||
Q10841_DeepInsideAteliaFortress.class
|
||||
};
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user