Addition of quest Makkum in the Dimension (10658).
Contributed by gigilo1968.
This commit is contained in:
18
L2J_Mobius_4.0_GrandCrusade/dist/game/data/instances/DimensionMakkum.xml
vendored
Normal file
18
L2J_Mobius_4.0_GrandCrusade/dist/game/data/instances/DimensionMakkum.xml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Makkum in the Dimension (quest 10658) -->
|
||||
<instance id="10658" maxWorlds="10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/instance.xsd">
|
||||
<time duration="10" empty="1" />
|
||||
<locations>
|
||||
<enter type="FIXED">
|
||||
<location x="185055" y="-9092" z="-5488" />
|
||||
</enter>
|
||||
<exit type="FIXED">
|
||||
<location x="140613" y="79784" z="-5424" />
|
||||
</exit>
|
||||
</locations>
|
||||
<conditions>
|
||||
<condition type="Level">
|
||||
<param name="min" value="100" />
|
||||
</condition>
|
||||
</conditions>
|
||||
</instance>
|
6
L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/DimensionMakkum/34290.html
vendored
Normal file
6
L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/DimensionMakkum/34290.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Dimensional Researcher Piore:<br>
|
||||
I can't believe you actually defeated Makkum. I am the Dimensional Researcher Piore, studying the Dimensional Rift together with Lias.<br>
|
||||
While we have confirmed that Makkum is here, he is not an easy opponent, and we were looking for the right opportunity. Iy's quite a feat foe you to defeat Makkum so soon. I'd like to express the gratitude of the Dimensional Researchers.<br>
|
||||
I need to explore the Dimensional rift a bit more. If it's alright with you, could you go to Lias and tell her about the situation? I will send you to where Lias is.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DimensionMakkum exitInstance">"Alright. Please send me to Lias."</Button>
|
||||
</body></html>
|
109
L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/DimensionMakkum/DimensionMakkum.java
vendored
Normal file
109
L2J_Mobius_4.0_GrandCrusade/dist/game/data/scripts/instances/DimensionMakkum/DimensionMakkum.java
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* 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 instances.DimensionMakkum;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.instancezone.Instance;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
|
||||
import instances.AbstractInstance;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
|
||||
/**
|
||||
* Dimension Makkum instance
|
||||
* @author Gigi
|
||||
*/
|
||||
public class DimensionMakkum extends AbstractInstance
|
||||
{
|
||||
// NPCs
|
||||
private static final int PIORE = 34290;
|
||||
private static final int DIMENSIONAL_MAKKUM = 26195;
|
||||
// Misc
|
||||
private static final int TEMPLATE_ID = 10658;
|
||||
|
||||
public DimensionMakkum()
|
||||
{
|
||||
super(TEMPLATE_ID);
|
||||
addFirstTalkId(PIORE);
|
||||
addKillId(DIMENSIONAL_MAKKUM);
|
||||
addInstanceCreatedId(TEMPLATE_ID);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final Instance world = getPlayerInstance(player);
|
||||
switch (event)
|
||||
{
|
||||
case "enter_instance":
|
||||
{
|
||||
enterInstance(player, npc, TEMPLATE_ID);
|
||||
break;
|
||||
}
|
||||
case "spawn_piore":
|
||||
{
|
||||
addSpawn(PIORE, npc.getX(), npc.getY(), npc.getZ(), npc.getHeading(), false, 300000, false, world.getId());
|
||||
break;
|
||||
}
|
||||
case "exitInstance":
|
||||
{
|
||||
if (world != null)
|
||||
{
|
||||
teleportPlayerOut(player, world);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return super.onAdvEvent(event, npc, player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInstanceCreated(Instance instance, L2PcInstance player)
|
||||
{
|
||||
addSpawn(DIMENSIONAL_MAKKUM, 185064, -9610, -5488, 19610, false, 430000, true, instance.getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = killer.getQuestState(Q10658_MakkumInTheDimension.class.getSimpleName());
|
||||
final Instance world = npc.getInstanceWorld();
|
||||
if (world == null)
|
||||
{
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
startQuestTimer("spawn_piore", 4000, npc, killer);
|
||||
if ((qs != null) && qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
}
|
||||
world.finishInstance();
|
||||
return super.onKill(npc, killer, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
return "34290.html";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new DimensionMakkum();
|
||||
}
|
||||
}
|
@@ -147,7 +147,6 @@
|
||||
10538 Giant's Evolution Cause of failed evolution
|
||||
10539 Energy Supply Cutoff Plan Defeat Halisha's Henchman
|
||||
10540 Thwarting Mimir's Plan Defeating Mimir
|
||||
10658 Makkum in the Dimension Dimensional Makkum
|
||||
10712 The Minstrel's Song, Part 1
|
||||
10717 The Minstrel's Song, Part 2
|
||||
10720 The Minstrel's Song, Part 3
|
||||
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
to perform this task, you have to help me in the research Dimensional Crack.<br>
|
||||
(This quest is for characters Lv. 100 or above who have completed the "100-day Subjugation Operation" quest 100 times.)
|
||||
</body></html>
|
@@ -0,0 +1,6 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
Wow! Would you take a look see how much the Dimensional Traces accumulated! HaargI mean, you were building up so much of them, I knew there was something special about you, but wow, I never expected it to be so much!<br>
|
||||
You did know how much of the Dimensional Traces you picked up, didn't you?<br>
|
||||
With this much, we'll be able to make it to the depths of the Dimensional Rift! If what I suppose to be true is right, who we'll find there is Makkum!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension 34265-02.htm">"Could Makkum really be there?"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
Yes, I'm certain. My research says so, and Queen Navari also suspects that it's Makkum in there.<br>
|
||||
Of course, she said that it won't be the real form of Makkum. Still, everybody agreed that Makkum was the only one that has any reason to lie in hiding there!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension 34265-03.htm">"What do you mean, not the real form of Makkum?"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,7 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
The Dimensional is already crumbling here and there, causing strange phenomena here and there.<br>
|
||||
The Makkum who has hidden inside the Dimensional Rift was probably the one injured while fighting the adventurers, while the timeline is rather complicated...<br>
|
||||
I think that Makkum, who was injured somewhere, has chosen this place to lick his wounds and gather up his remaining strength. I guess he expected it would be safe, since it,s not an easily accessible place.<br>
|
||||
It appears that he took various measures to further improve the safety. He put in place the shells of Lillim and Nephilim we kept encountering, and the dimensional monsters that were hiding out inside.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension 34265-04.htm">"What should I do then?"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,8 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
The place where Makkum lies in hidden is so secret and hidden that even using the power emanating from the <font color="LEVEL">100 Dimensional Traces</font> you currently
|
||||
have will get just one person - you - there. Still, since Makkum has not yet recovered fully, I trust that if anyone were to be able to find and take advantage of any weaknesses he currently has, it's you!<br>
|
||||
But don't let down your guard! Makkum is going to attack you at cost, even if it means sacrificing himself. Be as careful as you can in order to survive the battle.<br>
|
||||
Remember, Makkum needs to be <font color="LEVEL">defeated within 7 minutes</font>! if you find yourself unable to defeat Makkum when 7 minutes have passed, you'll need to get out of there at any cost. Be sure to take along a <font color="LEVEL">Blessed Escape</font> with you.<br>
|
||||
If you're ready to go to see Makkum, tell me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DimensionMakkum enter_instance">"I'm ready to go into the Dimension"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,5 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
Makkum needs to be <font color="LEVEL">defeated within 7 minutes</font>! if you find yourself unable to defeat Makkum when 7 minutes have passed, you'll need to get out of there at any cost.<br>
|
||||
If you're ready to go to see Makkum, tell me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DimensionMakkum enter_instance">"I'm ready to go into the Dimension"</Button>
|
||||
</body></html>
|
@@ -0,0 +1,10 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
You've returned! Seeing as how the Dimensional Energy in you has changed, I'm guessing you've defeated Makkum! Amazing! I knew you'd succeed, Igoodboyl! Truly awesome.<br>
|
||||
I've had these lying around to give one you when you slay Makkum and return. I'm sure they'll prove helpful. Choose the one you like!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47509">Bracelet of the Conqueror - STR</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47507">Bracelet of the Conqueror - DEX</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47505">Bracelet of the Conqueror - CON</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47510">Bracelet of the Conqueror - INT</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47508">Bracelet of the Conqueror - WIT</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10658_MakkumInTheDimension giveReward_47506">Bracelet of the Conqueror - MEN</Button>
|
||||
</body></html>
|
@@ -0,0 +1,4 @@
|
||||
<html><body>Dimensional Researcher Lias:<br>
|
||||
We hope you like our gift for you. Thank you so much for helping us with our Dimensional research.<br>
|
||||
The Dimensional Traces that you have accumulated have been trained of there Dimensional Energy, so I'll take them off your hands. I'm sure Queen Navari greatly appreciates your help as well.
|
||||
</body></html>
|
@@ -0,0 +1,130 @@
|
||||
/*
|
||||
* 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.Q10658_MakkumInTheDimension;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestType;
|
||||
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.Q00928_100DaySubjugationOperation.Q00928_100DaySubjugationOperation;
|
||||
|
||||
/**
|
||||
* Makkum in the Dimension (10658)
|
||||
* @URL https://l2wiki.com/Makkum_in_the_Dimension
|
||||
* @VIDEO https://www.youtube.com/watch?v=1z5zLnMmKtw
|
||||
* @author Gigi
|
||||
*/
|
||||
public class Q10658_MakkumInTheDimension extends Quest
|
||||
{
|
||||
// Npc
|
||||
private static final int LIAS = 34265;
|
||||
// Items
|
||||
private static final int DIMENSIONAL_TRACES = 47511;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 100;
|
||||
|
||||
public Q10658_MakkumInTheDimension()
|
||||
{
|
||||
super(10658);
|
||||
addStartNpc(LIAS);
|
||||
addTalkId(LIAS);
|
||||
addCondMinLevel(MIN_LEVEL, "34265-00.htm");
|
||||
addCondCompletedQuest(Q00928_100DaySubjugationOperation.class.getSimpleName(), "34265-00.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 "34265-02.htm":
|
||||
case "34265-03.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34265-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
if (qs.isCond(2) && event.startsWith("giveReward_"))
|
||||
{
|
||||
final int itemId = Integer.parseInt(event.replace("giveReward_", ""));
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
giveItems(player, itemId, 1);
|
||||
addExpAndSp(player, 4_303_647_428L, 10_328_753);
|
||||
takeItems(player, DIMENSIONAL_TRACES, -1);
|
||||
qs.exitQuest(QuestType.ONE_TIME, true);
|
||||
htmltext = "34265-07.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getNoQuestLevelRewardMsg(player);
|
||||
}
|
||||
}
|
||||
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:
|
||||
{
|
||||
if (getQuestItemsCount(player, DIMENSIONAL_TRACES) >= 100)
|
||||
{
|
||||
htmltext = "34265-01.htm";
|
||||
break;
|
||||
}
|
||||
htmltext = "34265-00.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
htmltext = (qs.isCond(1)) ? "34265-05.html" : "34265-06.html";
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@@ -348,6 +348,7 @@ import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
|
||||
import quests.Q10542_SearchingForNewPower.Q10542_SearchingForNewPower;
|
||||
import quests.Q10543_SheddingWeight.Q10543_SheddingWeight;
|
||||
import quests.Q10544_SeekerSupplies.Q10544_SeekerSupplies;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction;
|
||||
import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity;
|
||||
import quests.Q10703_BottleOfIstinasSoul.Q10703_BottleOfIstinasSoul;
|
||||
@@ -781,6 +782,7 @@ public class QuestMasterHandler
|
||||
Q10542_SearchingForNewPower.class,
|
||||
Q10543_SheddingWeight.class,
|
||||
Q10544_SeekerSupplies.class,
|
||||
Q10658_MakkumInTheDimension.class,
|
||||
Q10701_TheRoadToDestruction.class,
|
||||
Q10702_TheRoadToInfinity.class,
|
||||
Q10703_BottleOfIstinasSoul.class,
|
||||
|
@@ -5498,14 +5498,26 @@
|
||||
</drop_lists>
|
||||
</npc>
|
||||
<npc id="26195" level="101" type="L2RaidBoss" name="Dimensional Makkum">
|
||||
<!-- AUTO GENERATED NPC TODO: FIX IT -->
|
||||
<parameters>
|
||||
<param name="IsAggressive" value="1" />
|
||||
<skill name="Skill01_ID" id="16780" level="2" />
|
||||
<skill name="Skill02_ID" id="16779" level="1" />
|
||||
<skill name="Skill03_ID" id="16866" level="1" />
|
||||
</parameters>
|
||||
<race>HUMANOID</race>
|
||||
<sex>FEMALE</sex>
|
||||
<sex>MALE</sex>
|
||||
<acquire exp="941348280" sp="1882696" />
|
||||
<stats str="88" int="79" dex="55" wit="78" con="82" men="78">
|
||||
<vitals hp="4100000" hpRegen="7.5" mp="24308" mpRegen="2.7" />
|
||||
<vitals hp="2200000.0" hpRegen="7.5" mp="24308.0" mpRegen="2.7" />
|
||||
<attack physical="37220.231122922" magical="6304.9036091231" critical="4" attackSpeed="253" range="40" />
|
||||
<defence physical="1680.3191489362" magical="1133.5047930793" />
|
||||
<attribute>
|
||||
<defence fire="350" water="350" wind="350" earth="350" holy="300" dark="350" />
|
||||
<attack type="DARK" value="430" />
|
||||
</attribute>
|
||||
<speed>
|
||||
<walk ground="60" />
|
||||
<run ground="240" />
|
||||
<walk ground="60.0" />
|
||||
<run ground="210.0" />
|
||||
</speed>
|
||||
</stats>
|
||||
<status attackable="false" />
|
||||
@@ -5521,7 +5533,10 @@
|
||||
<skill id="16547" level="10" /> <!-- Danger Zone Attack Resistance -->
|
||||
<skill id="4438" level="5" /> <!-- Greater Sleep Resistance -->
|
||||
<skill id="4440" level="5" /> <!-- Greater Paralysis Resistance -->
|
||||
<skill id="4441" level="5" /> <!-- Greater Mental Attack Resistance -->
|
||||
<skill id="4441" level="5" /> <!-- Greater Mental Attack Resistance -->
|
||||
<skill id="16780" level="2" /> <!-- Bloody Circle -->
|
||||
<skill id="16779" level="1" /> <!-- Black Hearts Rage -->
|
||||
<skill id="16866" level="1" /> <!-- Sentence of Death -->
|
||||
</skill_list>
|
||||
<drop_lists>
|
||||
<drop>
|
||||
|
Reference in New Issue
Block a user