Addition of quest 824, 930 and 985.
Contributed by Dmitri.
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
781 Utilize the Darkness - Seed of Annihilation
|
||||
782 Utilize the Darkness - Seed of Hellfire
|
||||
789 Waiting for Pa'agrio
|
||||
824 Attack the Command Post
|
||||
834 Against Dragonclaw
|
||||
10352 Legacy of Cruma Tower
|
||||
10357 Altar of Blood that Awakens Destruction
|
||||
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Elikia:<br>
|
||||
Did you kill Burnshine?<br>
|
||||
You ruined Burnshine designs...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00824_AttackTheCommandPost 34057-07.html">"I figured out Burnshine"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,3 @@
|
||||
<html><body>Elikia:<br>
|
||||
Good job. This will help the Adventure Guild take the lead.
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Penny<br>
|
||||
I don't know where you heard it, but the guild has decided to assign it to a more reliable guild member. Let's talk later when we trust each other more.<br>
|
||||
(Only characters with Lv. 100+.)
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Devianne:<br>
|
||||
Have you seen? If not, it's okay.<br>
|
||||
Bershtein went on the run, and the gate to the Legion Headquarters opened. Good or bad, I don't know, but the main task has been completed.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest Q00824_AttackTheCommandPost 34089-02.htm">Ask about the gate</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Devianne:<br>
|
||||
It is these gates that do not allow us to find out what is happening inside the Headquarters of the Legion.<br>
|
||||
Only Bershtein can open them, and while he is inside the headquarters, they cannot be opened from the outside. The only possibility is the moment when Bershtein enters the Legion Headquarters. But this happens almost instantly. It is necessary to somehow hold the gates so that they do not close immediately.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00824_AttackTheCommandPost 34089-03.htm">"keep going"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Devianne:<br>
|
||||
The gates can be kept open briefly with the help of magic. That's what I'm doing.<br>
|
||||
It is impossible to fix the gates for a long time, and I can't take a single step, I keep them. Also, if Bernstein finds out, there will be big problems. As soon as I feel that he is going into the fortress, I am forced to drop everything and hide. But Bernstein, whom we want to destroy, is very dangerous.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00824_AttackTheCommandPost 34089-04.htm">How can I help you?</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Devianne:<br>
|
||||
Yes. I need help. The last time the gates opened, Aden Vanguard detachment burst into the Legion Headquarters, but so far there has been no news from them.<br>
|
||||
While I will keep the gate, enter the Legion Headquarters, find the Aden Vanguard Members and destroy Bernstein. Don't worry: even if the gate closes, you will be able to get out.<br>
|
||||
After you deal with Burnshine, report this to Elric.
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Devianne:<br>
|
||||
Yes. I need help. The last time the gates opened, Aden Vanguard detachment burst into the Legion Headquarters, but so far there has been no news from them.<br>
|
||||
While I will keep the gate, enter the Legion Headquarters, find the Aden Vanguard Members and destroy Bernstein. Don't worry: even if the gate closes, you will be able to get out.<br>
|
||||
After you deal with Burnshine, report this to Elric.
|
||||
</body></html>
|
@@ -0,0 +1,161 @@
|
||||
/*
|
||||
* 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.Q00824_AttackTheCommandPost;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Command Post Raid (824)
|
||||
* @URL https://l2wiki.com/Command_Post_Raid
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00824_AttackTheCommandPost extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int DEVIANNE = 34089;
|
||||
private static final int ELIKIA = 34057;
|
||||
// RaidBosses
|
||||
private static final int BURNSTEIN = 26136;
|
||||
// Rewards
|
||||
private static final int ADEN_VANGUARD_SUPPLY_BOX = 46283;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 100;
|
||||
|
||||
public Q00824_AttackTheCommandPost()
|
||||
{
|
||||
super(824);
|
||||
addStartNpc(DEVIANNE);
|
||||
addTalkId(DEVIANNE, ELIKIA);
|
||||
addKillId(BURNSTEIN);
|
||||
addCondMinLevel(MIN_LEVEL, "34089-00.htm");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
switch (event)
|
||||
{
|
||||
case "34089-02.htm":
|
||||
case "34089-03.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34089-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34057-07.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, ADEN_VANGUARD_SUPPLY_BOX, 1);
|
||||
addExpAndSp(player, 3954960000L, 9491880);
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == DEVIANNE)
|
||||
{
|
||||
htmltext = "34089-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DEVIANNE:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34089-05.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELIKIA:
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34057-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34089-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(Npc npc, PlayerInstance player, boolean isSummon)
|
||||
{
|
||||
executeForEachPlayer(player, npc, isSummon, true, false);
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void actionForEachPlayer(PlayerInstance player, Npc npc, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if ((qs != null) && qs.isCond(1) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
}
|
||||
}
|
@@ -217,6 +217,7 @@ import quests.Q00790_ObtainingFerinsTrust.Q00790_ObtainingFerinsTrust;
|
||||
import quests.Q00816_PlansToRepairTheStronghold.Q00816_PlansToRepairTheStronghold;
|
||||
import quests.Q00817_BlackAteliaResearch.Q00817_BlackAteliaResearch;
|
||||
import quests.Q00823_DisappearedRaceNewFairy.Q00823_DisappearedRaceNewFairy;
|
||||
import quests.Q00824_AttackTheCommandPost.Q00824_AttackTheCommandPost;
|
||||
import quests.Q00826_InSearchOfTheSecretWeapon.Q00826_InSearchOfTheSecretWeapon;
|
||||
import quests.Q00827_EinhasadsOrder.Q00827_EinhasadsOrder;
|
||||
import quests.Q00828_EvasBlessing.Q00828_EvasBlessing;
|
||||
@@ -510,7 +511,6 @@ import quests.not_done.Q00780_UtilizeTheDarknessSeedOfInfinity;
|
||||
import quests.not_done.Q00781_UtilizeTheDarknessSeedOfAnnihilation;
|
||||
import quests.not_done.Q00782_UtilizeTheDarknessSeedOfHellfire;
|
||||
import quests.not_done.Q00789_WaitingForPaagrio;
|
||||
import quests.not_done.Q00824_AttackTheCommandPost;
|
||||
import quests.not_done.Q10352_LegacyOfCrumaTower;
|
||||
import quests.not_done.Q10357_AltarOfBloodThatAwakensDestruction;
|
||||
import quests.not_done.Q10456_OperationRescue;
|
||||
@@ -756,7 +756,7 @@ public class QuestMasterHandler
|
||||
Q00816_PlansToRepairTheStronghold.class,
|
||||
Q00817_BlackAteliaResearch.class,
|
||||
Q00823_DisappearedRaceNewFairy.class,
|
||||
Q00824_AttackTheCommandPost.class, // TODO: Not done.
|
||||
Q00824_AttackTheCommandPost.class,
|
||||
Q00826_InSearchOfTheSecretWeapon.class,
|
||||
Q00827_EinhasadsOrder.class,
|
||||
Q00828_EvasBlessing.class,
|
||||
|
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00824_AttackTheCommandPost extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34089;
|
||||
|
||||
public Q00824_AttackTheCommandPost()
|
||||
{
|
||||
super(824);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user