Quest Assassination of the Ketra Orc Chief (10427).
Contributed by Stayway.
This commit is contained in:
parent
7cc07b1ab4
commit
21377b0df1
@ -93,7 +93,6 @@
|
||||
10380 The Executioner's Execution
|
||||
10388 Conspiracy Behind Doors
|
||||
10389 The Voice of Authority
|
||||
10427 Assassination of the Ketra Orc Chief
|
||||
10430 Kekropus' Letter: Tracking the Evil (9/9)
|
||||
10431 The Seal of Punishment: Den of Evil
|
||||
10432 Chasing Varangka
|
||||
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-01.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-01.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
Things are not proceeding as expected. Since the Orcs' commander was assassinated, they have tightened their security. But we cannot just give up.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief 33852-02.htm">"Where do I fit in?"</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-02.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
I know it will be dangerous, but there is no other choice. We have to assassinate their chief, Brakki. If they lose their chief on top of their commander, the Ketra Orcs will surely fall into disorder. At that point, <font color="LEVEL">Belos</font> must appear.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief 33852-03.htm">"Ah..."</Button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-03.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
Of course, it won't be easy to assassinate the chief of the <font color="LEVEL">Ketra Orcs</font>. But you've shown great skills thus far.<br><
|
||||
Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief 33852-04.html">"I'll take care of everything."</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
Let me explain again. Find and kill <font color="LEVEL">Ketra's Chief Brakki</font> here in the <font color="LEVEL">Ketra Orc Barracks</font> and come back to me.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-05.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
You haven't finished the mission yet.<br>
|
||||
Let me explain again. Find and kill <font color="LEVEL">Ketra's Chief Brakki</font> here in the <font color="LEVEL">Ketra Orc Barracks</font> and come back to me.
|
||||
</body></html>
|
8
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-06.html
vendored
Normal file
8
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-06.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>Finally! Killing <font color="LEVEL">Ketra's Chief Brakki</font> was exactly what we needed to flush out <font color="LEVEL">Belos</font>. We should have done that first! <br>Well, I think that's it for both of us now. Time for some rest.<br>Oh right, rewards first! Hey, what kinds of attribute stones do you want?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9546">15 Fire Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9547">15 Water Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9548">15 Earth Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9549">15 Wind Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9550">15 Dark Stones</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10427_AssassinationOfTheKetraOrcChief reward_9551">15 Holy Stones</Button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-07.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-07.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
So you got rid of <font color="LEVEL">Belos</font>, and killed the chief of <font color="LEVEL">Ketra Orcs</font> working with <font color="LEVEL">Embryo</font>, huh? What progress!<br>Of course, that doesn't mean we can let our guard down against <font color="LEVEL">Embryo</font>. They'll be up to no good somewhere else before long! <br>Anyway, I'll let <font color="LEVEL">Kekropus</font> know of your valor. We will always remember you.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-08.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-08.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
I don't trust you.<br>
|
||||
(Ertheia classes cannot perform this quest.)
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-09.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10427_AssassinationOfTheKetraOrcChief/33852-09.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Lugonnes:<br>
|
||||
I don't think it's time to act quite yet.<br>
|
||||
(This quest may only be undertaken by a Wizard class character of level 76 to 80 who has completed the quest "Assassination Of The Ketra Orc Commander".)
|
||||
</body></html>
|
@ -0,0 +1,151 @@
|
||||
/*
|
||||
* 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.Q10427_AssassinationOfTheKetraOrcChief;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.CategoryType;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
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;
|
||||
|
||||
import quests.Q10426_AssassinationOfTheKetraOrcCommander.Q10426_AssassinationOfTheKetraOrcCommander;
|
||||
|
||||
/**
|
||||
* Assassination of the Ketra Orc Chief (10427)
|
||||
* @author Stayway
|
||||
*/
|
||||
public final class Q10427_AssassinationOfTheKetraOrcChief extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int LUGONNES = 33852;
|
||||
private static final int CHIEF_BRAKKI = 27501;
|
||||
private static final int KAMPF = 27516;
|
||||
// Items
|
||||
private static final int EAS = 26353; // Scroll: Enchant Armor (S-grade)
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 76;
|
||||
private static final int MAX_LEVEL = 80;
|
||||
|
||||
public Q10427_AssassinationOfTheKetraOrcChief()
|
||||
{
|
||||
super(10427);
|
||||
addStartNpc(LUGONNES);
|
||||
addTalkId(LUGONNES);
|
||||
addKillId(CHIEF_BRAKKI);
|
||||
addSpawnId(KAMPF);
|
||||
addCondNotRace(Race.ERTHEIA, "33852-08.html");
|
||||
addCondInCategory(CategoryType.WIZARD_GROUP, "33852-09.htm");
|
||||
addCondMinLevel(MIN_LEVEL, "33852-09.htm");
|
||||
addCondMaxLevel(MAX_LEVEL, "33852-09.htm");
|
||||
addCondCompletedQuest(Q10426_AssassinationOfTheKetraOrcCommander.class.getSimpleName(), "33853-09.htm");
|
||||
}
|
||||
|
||||
@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 "33852-02.htm":
|
||||
case "33852-04.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33852-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "reward_9546":
|
||||
case "reward_9547":
|
||||
case "reward_9548":
|
||||
case "reward_9549":
|
||||
case "reward_9550":
|
||||
case "reward_9551":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
final int stoneId = Integer.parseInt(event.replaceAll("reward_", ""));
|
||||
qs.exitQuest(false, true);
|
||||
giveItems(player, stoneId, 15);
|
||||
giveItems(player, EAS, 2);
|
||||
giveStoryQuestReward(player, 30);
|
||||
if ((player.getLevel() >= MIN_LEVEL) && (player.getLevel() <= MAX_LEVEL))
|
||||
{
|
||||
addExpAndSp(player, 7_665_840, 1839);
|
||||
}
|
||||
htmltext = "33852-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
|
||||
if (npc.getId() == LUGONNES)
|
||||
{
|
||||
if (qs.getState() == State.CREATED)
|
||||
{
|
||||
htmltext = "33852-01.htm";
|
||||
}
|
||||
else if (qs.getState() == State.STARTED)
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "33852-05.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "33852-06.html";
|
||||
}
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(killer, false);
|
||||
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
if ((qs != null) && qs.isCond(2))
|
||||
{
|
||||
addSpawn(KAMPF, 142130, -82520, -6487, 0, true, 60000);
|
||||
}
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
}
|
@ -286,6 +286,7 @@ import quests.Q10422_AssassinationOfTheVarkaSilenosChief.Q10422_AssassinationOfT
|
||||
import quests.Q10424_KekropusLetterBelosWhereabouts.Q10424_KekropusLetterBelosWhereabouts;
|
||||
import quests.Q10425_TheKetraOrcSupporters.Q10425_TheKetraOrcSupporters;
|
||||
import quests.Q10426_AssassinationOfTheKetraOrcCommander.Q10426_AssassinationOfTheKetraOrcCommander;
|
||||
import quests.Q10427_AssassinationOfTheKetraOrcChief.Q10427_AssassinationOfTheKetraOrcChief;
|
||||
import quests.Q10442_TheAnnihilatedPlains1.Q10442_TheAnnihilatedPlains1;
|
||||
import quests.Q10445_AnImpendingThreat.Q10445_AnImpendingThreat;
|
||||
import quests.Q10450_ADarkAmbition.Q10450_ADarkAmbition;
|
||||
@ -654,6 +655,7 @@ public class QuestMasterHandler
|
||||
Q10424_KekropusLetterBelosWhereabouts.class,
|
||||
Q10425_TheKetraOrcSupporters.class,
|
||||
Q10426_AssassinationOfTheKetraOrcCommander.class,
|
||||
Q10427_AssassinationOfTheKetraOrcChief.class,
|
||||
Q10442_TheAnnihilatedPlains1.class,
|
||||
Q10445_AnImpendingThreat.class,
|
||||
Q10450_ADarkAmbition.class,
|
||||
|
Loading…
Reference in New Issue
Block a user