Quest Disappeared Clan Member (10836).
Contributed by gigilo1968.
This commit is contained in:
parent
31f27b0cf2
commit
3a27cb68dc
@ -122,7 +122,6 @@
|
||||
10806 The Dimensional Warp, Part 6
|
||||
10807 The Dimensional Warp, Part 7
|
||||
10809 The Hero's Journey: Blazing Swamp
|
||||
10836 Disappeared Clan Member
|
||||
10837 Looking for the Blackbird Clan Member
|
||||
10838 The Reason For Not Being Able to Get Out
|
||||
10839 Blackbird's Name Value
|
||||
|
@ -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>
|
||||
We've met before. I'm glad to see someone I can trust.<br>
|
||||
It's an urgent matter so I'm looking for someone who I can trust.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q10836_DisappearedClanMember 34057-02.htm">"What? Why?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Do you know about the Blackbird clan? It's the clan that follows Leona. They aren't as powerful as before, but many people know about them.<br>
|
||||
The Blackbird clan is tracking the Embryo, but we've lost contact with them.<br>
|
||||
Then, I heard a rumor that the clan members were spotted in the Atelia Fortress, so I came to investigate.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10836_DisappearedClanMember 34057-03.htm">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
At first, I thought about going in myself to find the Blackbird clan members, but I don't specialize in combat, so i was looking for other ways.<br>
|
||||
If possible, I would like to request a favor. Will you help me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10836_DisappearedClanMember 34057-04.htm">"I'll help you."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
I heard a rumor that the Blackbird clan members were spotted inside the fortress. It looks like the Aden Vanguard went inside to secure the strongholds, so please go ask Adolph.<br>
|
||||
If you find the clan members, please bring them back. If it's difficult for them to escape, please at least bring some proof that they are safe.<br>
|
||||
Just in case the clan members get suspicious of you, I'll lend you a seal that is only given to Blackbird clan members. I'm counting on you.
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Did you ask Adolph?<br>
|
||||
Please find the Blackbird clan members inside the fortress.<br>
|
||||
Adolph is the one who went into the fortress last, so you should ask him.
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Are the Blackbird clan members safe? Leona is worried.<br>
|
||||
Since you are here by yourself... does that mean something happened to them?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10836_DisappearedClanMember 34057-07.html">"They are safe."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
Oh, glad to hear they are safe. How come they didn't come with you? <br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10836_DisappearedClanMember 34057-08.html">"Here are their reports."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Verdure Elder Elikia:<br>
|
||||
I told them to come back, and they just sent a report?<br>
|
||||
Well, at least it looks like they aren't in great danger. I'll have to tell Leona about this.<br>
|
||||
Thank you for your work.<br>
|
||||
</body></html>
|
@ -0,0 +1,148 @@
|
||||
/*
|
||||
* 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.Q10836_DisappearedClanMember;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.events.EventType;
|
||||
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.Id;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerItemAdd;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Disappeared Clan Member (10836)
|
||||
* @URL https://l2wiki.com/Disappeared_Clan_Member
|
||||
* @author Gigi
|
||||
*/
|
||||
public final class Q10836_DisappearedClanMember extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int ELIKIA = 34057;
|
||||
// Items
|
||||
private static final int BLACKBIRD_SEAL = 46132;
|
||||
private static final int BLACKBIRD_REPORT_GLENKINCHIE = 46134;
|
||||
private static final int BLACKBIRD_REPORT_HURAK = 46135;
|
||||
private static final int BLACKBIRD_REPORT_LAFFIAN = 46136;
|
||||
private static final int BLACKBIRD_REPORT_SHERRY = 46137;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 101;
|
||||
private static final int EAR = 17527;
|
||||
private static final int ELEXIR_OF_LIFE_R = 37097;
|
||||
private static final int ELEXIR_OF_MIND_R = 37098;
|
||||
|
||||
public Q10836_DisappearedClanMember()
|
||||
{
|
||||
super(10836);
|
||||
addStartNpc(ELIKIA);
|
||||
addTalkId(ELIKIA);
|
||||
registerQuestItems(BLACKBIRD_SEAL, BLACKBIRD_REPORT_GLENKINCHIE, BLACKBIRD_REPORT_HURAK, BLACKBIRD_REPORT_LAFFIAN, BLACKBIRD_REPORT_SHERRY);
|
||||
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-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34057-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34057-08.html":
|
||||
{
|
||||
giveItems(player, EAR, 5);
|
||||
giveItems(player, ELEXIR_OF_LIFE_R, 10);
|
||||
giveItems(player, ELEXIR_OF_MIND_R, 10);
|
||||
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:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34057-05.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "34057-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_ITEM_ADD)
|
||||
@RegisterType(ListenerRegisterType.ITEM)
|
||||
@Id(BLACKBIRD_REPORT_GLENKINCHIE)
|
||||
@Id(BLACKBIRD_REPORT_HURAK)
|
||||
@Id(BLACKBIRD_REPORT_LAFFIAN)
|
||||
@Id(BLACKBIRD_REPORT_SHERRY)
|
||||
public void onItemAdd(OnPlayerItemAdd event)
|
||||
{
|
||||
final L2PcInstance player = event.getActiveChar();
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if ((qs != null) && (qs.isCond(1)) && (hasQuestItems(player, BLACKBIRD_REPORT_GLENKINCHIE)) && (hasQuestItems(player, BLACKBIRD_REPORT_HURAK)) && (hasQuestItems(player, BLACKBIRD_REPORT_LAFFIAN)) && (hasQuestItems(player, BLACKBIRD_REPORT_SHERRY)))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
}
|
||||
}
|
@ -413,6 +413,7 @@ import quests.Q10830_TheLostGardenOfSpirits.Q10830_TheLostGardenOfSpirits;
|
||||
import quests.Q10831_UnbelievableSight.Q10831_UnbelievableSight;
|
||||
import quests.Q10832_EnergyOfSadnessAndAnger.Q10832_EnergyOfSadnessAndAnger;
|
||||
import quests.Q10833_PutTheQueenOfSpiritsToSleep.Q10833_PutTheQueenOfSpiritsToSleep;
|
||||
import quests.Q10836_DisappearedClanMember.Q10836_DisappearedClanMember;
|
||||
|
||||
/**
|
||||
* @author NosBit
|
||||
@ -816,7 +817,8 @@ public class QuestMasterHandler
|
||||
Q10830_TheLostGardenOfSpirits.class,
|
||||
Q10831_UnbelievableSight.class,
|
||||
Q10832_EnergyOfSadnessAndAnger.class,
|
||||
Q10833_PutTheQueenOfSpiritsToSleep.class
|
||||
Q10833_PutTheQueenOfSpiritsToSleep.class,
|
||||
Q10836_DisappearedClanMember.class
|
||||
};
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user