Merged with released L2J-Unity files.
This commit is contained in:
5
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Captain Andrei:<br>
|
||||
Huh? <font color="LEVEL">Kekropus</font> sent you here again, then. Good! Let me cut to the chase. We just received a report from <font color="LEVEL">Hansen</font>, one of the Giant's Minions. Apparently a clone of a monster called <font color="LEVEL">Sakum</font> is heading right for the <font color="LEVEL">Varka Silenos Barracks</font>.<br>
|
||||
Are you at all familiar with <font color="LEVEL">Sakum</font>?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10419_KekropusLetterKampfsWhereabouts 31292-02.html">Just a little...</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Captain Andrei:<br>
|
||||
What?! You're the one who defeated <font color="LEVEL">Sakum</font> in the Wasteland? I'm sorry that I didn't recognize a hero like you. I guess <font color="LEVEL">Kekropus</font> trusted you for a reason! You're something of a legend around here.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10419_KekropusLetterKampfsWhereabouts 31292-03.html">"Tell me about the monster."</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Captain Andrei:<br>
|
||||
Giant's Minions have been chasing after <font color="LEVEL">Embryo</font> for a long time. They recently found out that the organization created clones of <font color="LEVEL">Sakum</font> and one of the clones went to the <font color="LEVEL">Varka Silenos Barracks</font>. That's all I know. For more information, you should talk to <font color="LEVEL">Giant's Minion Hansen</font> in the <font color="LEVEL">Varka Silenos Barracks</font>.<br>
|
||||
To get there quickly, use the <font color="LEVEL">Scroll of Escape: Varka Silenos Barracks</font> I gave you. You could also ask a Gatekeeper for help.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/31292-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Captain Andrei:<br>
|
||||
Hurry to the <font color="LEVEL">Varka Silenos Barracks</font> and help <font color="LEVEL">Giant's Minion Hansen</font> there.<br>
|
||||
To get there quickly, use the <font color="LEVEL">Scroll of Escape: Varka Silenos Barracks</font> I gave you. You could also ask a Gatekeeper for help.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/33853-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/33853-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Giant's Minion Hansen:<br>
|
||||
Well met. <font color="LEVEL">Kekropus</font> told me that you would come visit me. He also added that you had defeated <font color="LEVEL">Sakum</font> in the <font color="LEVEL">Wastelands</font>. It's a relief to have you here.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10419_KekropusLetterKampfsWhereabouts 33853-02.html">"Tell me about the monster."</Button>
|
||||
</body></html>
|
||||
6
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/33853-02.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/33853-02.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Giant's Minion Hansen:<br>
|
||||
After you mercilessly destroyed <font color="LEVEL">Sakum</font>, <font color="LEVEL">Embryo</font> succeeded in creating 2 clones of the monster: <font color="LEVEL">Belos</font> and <font color="LEVEL">Kampf</font>.<br>
|
||||
I tracked <font color="LEVEL">Kampf</font> to the <font color="LEVEL">Varka Silenos Barracks</font>. It seems <font color="LEVEL">Varka Silenoses</font> and <font color="LEVEL">Embryo</font> decided to work together and Kampf was handed over in the process. You and I must stop their cooperation.<br>
|
||||
There is much to be done. As soon as you are ready, let me know.<br><br>
|
||||
<font color="LEVEL">- Note: You can develop yourself through quests and hunting at the hunting ground of Varka Silenos Barracks. You can get the next item, Kekropus' Letter, at Lv. 81.</font>
|
||||
</body></html>
|
||||
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* 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.Q10419_KekropusLetterKampfsWhereabouts;
|
||||
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
import quests.LetterQuest;
|
||||
|
||||
/**
|
||||
* Kekropus' Letter: Kampf's Whereabouts (10419)
|
||||
* @author St3eT
|
||||
*/
|
||||
public final class Q10419_KekropusLetterKampfsWhereabouts extends LetterQuest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ANDREI = 31292;
|
||||
private static final int HANSEN = 33853;
|
||||
private static final int INVISIBLE_NPC = 19543;
|
||||
// Items
|
||||
private static final int SOE_TOWN_OF_GODDARD = 37121; // Scroll of Escape: Town of Goddard
|
||||
private static final int SOE_VARKA_SILENOS_BARRACKS = 37034; // Scroll of Escape: Varka Silenos Barracks
|
||||
private static final int EWS = 959; // Scroll: Enchant Weapon (S-grade)
|
||||
// Location
|
||||
private static final Location TELEPORT_LOC = new Location(147491, -56633, -2776);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 76;
|
||||
private static final int MAX_LEVEL = 80;
|
||||
|
||||
public Q10419_KekropusLetterKampfsWhereabouts()
|
||||
{
|
||||
super(10419);
|
||||
addTalkId(ANDREI, HANSEN);
|
||||
addSeeCreatureId(INVISIBLE_NPC);
|
||||
|
||||
setIsErtheiaQuest(false);
|
||||
setLevel(MIN_LEVEL, MAX_LEVEL);
|
||||
setStartQuestSound("Npcdialog1.kekrops_quest_9");
|
||||
setStartLocation(SOE_TOWN_OF_GODDARD, TELEPORT_LOC);
|
||||
registerQuestItems(SOE_TOWN_OF_GODDARD, SOE_VARKA_SILENOS_BARRACKS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "31292-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "31292-03.html":
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
takeItems(player, SOE_TOWN_OF_GODDARD, -1);
|
||||
giveItems(player, SOE_VARKA_SILENOS_BARRACKS, 1);
|
||||
st.setCond(2, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33853-02.html":
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
st.exitQuest(false, true);
|
||||
giveItems(player, EWS, 1);
|
||||
giveStoryQuestReward(player, 182);
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
addExpAndSp(player, 1_277_640, 306);
|
||||
}
|
||||
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_KEKROPUS_AT_LV_81, ExShowScreenMessage.TOP_CENTER, 6000);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState st = getQuestState(player, false);
|
||||
|
||||
if (st == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (st.isStarted())
|
||||
{
|
||||
if ((npc.getId() == ANDREI) && st.isCond(1))
|
||||
{
|
||||
htmltext = "31292-01.html";
|
||||
}
|
||||
else if (st.isCond(2))
|
||||
{
|
||||
htmltext = npc.getId() == ANDREI ? "31292-04.html" : "33853-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
|
||||
{
|
||||
if (creature.isPlayer())
|
||||
{
|
||||
final L2PcInstance player = creature.getActingPlayer();
|
||||
final QuestState st = getQuestState(player, false);
|
||||
|
||||
if ((st != null) && st.isCond(2))
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.VARKA_SILENOS_BARRACKS_IS_A_GOOD_HUNTING_ZONE_FOR_LV_76_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
|
||||
}
|
||||
}
|
||||
return super.onSeeCreature(npc, creature, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canShowTutorialMark(L2PcInstance player)
|
||||
{
|
||||
return !player.isMageClass();
|
||||
}
|
||||
}
|
||||
6
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/popup.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10419_KekropusLetterKampfsWhereabouts/popup.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><head><title>Kekropus' Letter</title></head><body>Kekropus' Letter:<br>
|
||||
A monster similar to <font color="LEVEL">Sakum</font> was seen at <font color="LEVEL">Varka Silenos Barracks</font> in the Goddard territory. Go to <font color="LEVEL">Captain Andrei</font> in the <font color="LEVEL">Town of Goddard</font> for details.<br>
|
||||
(A <font color="LEVEL">Scroll of Escape</font> is enclosed. If you want to go now, use it to travel immediately.)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h %teleport%">"I'll go right away with this scroll."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close</Button>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user