Addition of quest With All Your Might (10598).
Contributed by Dmitri.
This commit is contained in:
parent
78a060fcf1
commit
ad9b3da392
@ -164,7 +164,6 @@
|
||||
10594 Fergason's Scheme
|
||||
10595 The Dimensional Warp, Part 8
|
||||
10596 The Dimensional Warp, Part 9
|
||||
10598 With All Your Might
|
||||
10599 Thread of Fate Hanging on the Mother Tree
|
||||
10726 The Minstrel's Song, Part 5
|
||||
10731 The Minstrel's Song, Part 6
|
||||
|
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
5
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
The Enchanted Valley has changed, so it's very dangerous.<br>
|
||||
I don't think you are supposed to be here yet. Come back when you get stronger.<br>
|
||||
(Only characters above Lv. 103.)
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-02.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-03.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-04.htm">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-07.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-08.html">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-02.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-03.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html
vendored
Normal file
4
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-04.html">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html
vendored
Normal file
3
L2J_Mobius_5.0_Salvation/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,217 @@
|
||||
/*
|
||||
* 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.Q10598_WithAllYourMight;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.util.CommonUtil;
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
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;
|
||||
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
|
||||
/**
|
||||
* With All Your Might (10598)
|
||||
* @URL https://l2wiki.com/With_All_Your_Might
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASTERIOS = 34411;
|
||||
private static final int NERUPA = 34412;
|
||||
// Monsters
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
24117, // Crystal Reep
|
||||
24118, // Crystal Reep
|
||||
24119, // Crystal Needle
|
||||
24120, // Crystal Needle
|
||||
24121, // Treant Blossom
|
||||
24122, // Treant Blossom
|
||||
24123, // Flush Teasle
|
||||
24124, // Flush Teasle
|
||||
24125, // Creeper Rampike
|
||||
24126, // Creeper Rampike
|
||||
24139, // Reep Child
|
||||
24140, // Needle Child
|
||||
24141, // Blossom Child
|
||||
24142, // Teasle Child
|
||||
24127, // Lithra Aprias
|
||||
24128 // Nerupa Aprias
|
||||
};
|
||||
// Items
|
||||
private static final int LITHRAS_CONSIDERATION = 48366;
|
||||
// Rewards
|
||||
private static final int ELCYUM_CRYSTAL = 36514;
|
||||
private static final int RUNE_STONE = 39738;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 103;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(ASTERIOS);
|
||||
addTalkId(ASTERIOS, NERUPA);
|
||||
addKillId(MONSTERS);
|
||||
registerQuestItems(LITHRAS_CONSIDERATION);
|
||||
addCondMinLevel(MIN_LEVEL, "34411-00.htm");
|
||||
addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm");
|
||||
addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-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 "34411-02.htm":
|
||||
case "34411-03.htm":
|
||||
case "34412-02.html":
|
||||
case "34412-03.html":
|
||||
case "34411-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34412-04.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-08.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
addExpAndSp(player, 543832495200L, 543832200);
|
||||
takeItems(player, LITHRAS_CONSIDERATION, -1);
|
||||
giveItems(player, ELCYUM_CRYSTAL, 3);
|
||||
giveItems(player, RUNE_STONE, 1);
|
||||
qs.exitQuest(false, 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() == ASTERIOS)
|
||||
{
|
||||
htmltext = "34411-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ASTERIOS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34411-04.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34411-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34411-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NERUPA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34412-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34412-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34412-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
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(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId()))
|
||||
{
|
||||
giveItems(player, LITHRAS_CONSIDERATION, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
|
||||
if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000)
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -385,6 +385,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade;
|
||||
import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword;
|
||||
import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower;
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction;
|
||||
import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity;
|
||||
@ -956,7 +957,7 @@ public class QuestMasterHandler
|
||||
Q10595_TheDimensionalWarpPart8.class, // TODO: Not done.
|
||||
Q10596_TheDimensionalWarpPart9.class, // TODO: Not done.
|
||||
Q10597_EscapeToTheShadowOfTheMotherTree.class,
|
||||
Q10598_WithAllYourMight.class, // TODO: Not done.
|
||||
Q10598_WithAllYourMight.class,
|
||||
Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done.
|
||||
Q10658_MakkumInTheDimension.class,
|
||||
Q10701_TheRoadToDestruction.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 Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34411;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -176,7 +176,6 @@
|
||||
10594 Fergason's Scheme
|
||||
10595 The Dimensional Warp, Part 8
|
||||
10596 The Dimensional Warp, Part 9
|
||||
10598 With All Your Might
|
||||
10599 Thread of Fate Hanging on the Mother Tree
|
||||
10726 The Minstrel's Song, Part 5
|
||||
10731 The Minstrel's Song, Part 6
|
||||
|
5
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
5
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
The Enchanted Valley has changed, so it's very dangerous.<br>
|
||||
I don't think you are supposed to be here yet. Come back when you get stronger.<br>
|
||||
(Only characters above Lv. 103.)
|
||||
</body></html>
|
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-02.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-03.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
4
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-04.htm">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
3
L2J_Mobius_5.5_EtinasFate/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-07.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-08.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-02.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-03.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-04.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,217 @@
|
||||
/*
|
||||
* 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.Q10598_WithAllYourMight;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.util.CommonUtil;
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
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;
|
||||
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
|
||||
/**
|
||||
* With All Your Might (10598)
|
||||
* @URL https://l2wiki.com/With_All_Your_Might
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASTERIOS = 34411;
|
||||
private static final int NERUPA = 34412;
|
||||
// Monsters
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
24117, // Crystal Reep
|
||||
24118, // Crystal Reep
|
||||
24119, // Crystal Needle
|
||||
24120, // Crystal Needle
|
||||
24121, // Treant Blossom
|
||||
24122, // Treant Blossom
|
||||
24123, // Flush Teasle
|
||||
24124, // Flush Teasle
|
||||
24125, // Creeper Rampike
|
||||
24126, // Creeper Rampike
|
||||
24139, // Reep Child
|
||||
24140, // Needle Child
|
||||
24141, // Blossom Child
|
||||
24142, // Teasle Child
|
||||
24127, // Lithra Aprias
|
||||
24128 // Nerupa Aprias
|
||||
};
|
||||
// Items
|
||||
private static final int LITHRAS_CONSIDERATION = 48366;
|
||||
// Rewards
|
||||
private static final int ELCYUM_CRYSTAL = 36514;
|
||||
private static final int RUNE_STONE = 39738;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 103;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(ASTERIOS);
|
||||
addTalkId(ASTERIOS, NERUPA);
|
||||
addKillId(MONSTERS);
|
||||
registerQuestItems(LITHRAS_CONSIDERATION);
|
||||
addCondMinLevel(MIN_LEVEL, "34411-00.htm");
|
||||
addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm");
|
||||
addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-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 "34411-02.htm":
|
||||
case "34411-03.htm":
|
||||
case "34412-02.html":
|
||||
case "34412-03.html":
|
||||
case "34411-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34412-04.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-08.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
addExpAndSp(player, 543832495200L, 543832200);
|
||||
takeItems(player, LITHRAS_CONSIDERATION, -1);
|
||||
giveItems(player, ELCYUM_CRYSTAL, 3);
|
||||
giveItems(player, RUNE_STONE, 1);
|
||||
qs.exitQuest(false, 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() == ASTERIOS)
|
||||
{
|
||||
htmltext = "34411-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ASTERIOS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34411-04.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34411-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34411-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NERUPA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34412-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34412-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34412-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
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(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId()))
|
||||
{
|
||||
giveItems(player, LITHRAS_CONSIDERATION, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
|
||||
if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000)
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -339,6 +339,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade;
|
||||
import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword;
|
||||
import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower;
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction;
|
||||
import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity;
|
||||
@ -870,7 +871,7 @@ public class QuestMasterHandler
|
||||
Q10595_TheDimensionalWarpPart8.class, // TODO: Not done.
|
||||
Q10596_TheDimensionalWarpPart9.class, // TODO: Not done.
|
||||
Q10597_EscapeToTheShadowOfTheMotherTree.class,
|
||||
Q10598_WithAllYourMight.class, // TODO: Not done.
|
||||
Q10598_WithAllYourMight.class,
|
||||
Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done.
|
||||
Q10658_MakkumInTheDimension.class,
|
||||
Q10701_TheRoadToDestruction.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 Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34411;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -184,7 +184,6 @@
|
||||
10594 Fergason's Scheme
|
||||
10595 The Dimensional Warp, Part 8
|
||||
10596 The Dimensional Warp, Part 9
|
||||
10598 With All Your Might
|
||||
10599 Thread of Fate Hanging on the Mother Tree
|
||||
10726 The Minstrel's Song, Part 5
|
||||
10731 The Minstrel's Song, Part 6
|
||||
|
5
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
5
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-00.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
The Enchanted Valley has changed, so it's very dangerous.<br>
|
||||
I don't think you are supposed to be here yet. Come back when you get stronger.<br>
|
||||
(Only characters above Lv. 103.)
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-01.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-02.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-02.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-03.htm">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-03.htm
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-04.htm">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-04.htm
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-05.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-06.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-07.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-07.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-08.html">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34411-08.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-02.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-02.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-03.html">"Give me a reward"</button>
|
||||
</body></html>
|
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html
vendored
Normal file
4
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-04.html">"Give me a reward"</button>
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-05.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html
vendored
Normal file
3
L2J_Mobius_6.0_Fafurion/dist/game/data/scripts/quests/Q10598_WithAllYourMight/34412-06.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,217 @@
|
||||
/*
|
||||
* 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.Q10598_WithAllYourMight;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.util.CommonUtil;
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
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;
|
||||
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
|
||||
/**
|
||||
* With All Your Might (10598)
|
||||
* @URL https://l2wiki.com/With_All_Your_Might
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASTERIOS = 34411;
|
||||
private static final int NERUPA = 34412;
|
||||
// Monsters
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
24117, // Crystal Reep
|
||||
24118, // Crystal Reep
|
||||
24119, // Crystal Needle
|
||||
24120, // Crystal Needle
|
||||
24121, // Treant Blossom
|
||||
24122, // Treant Blossom
|
||||
24123, // Flush Teasle
|
||||
24124, // Flush Teasle
|
||||
24125, // Creeper Rampike
|
||||
24126, // Creeper Rampike
|
||||
24139, // Reep Child
|
||||
24140, // Needle Child
|
||||
24141, // Blossom Child
|
||||
24142, // Teasle Child
|
||||
24127, // Lithra Aprias
|
||||
24128 // Nerupa Aprias
|
||||
};
|
||||
// Items
|
||||
private static final int LITHRAS_CONSIDERATION = 48366;
|
||||
// Rewards
|
||||
private static final int ELCYUM_CRYSTAL = 36514;
|
||||
private static final int RUNE_STONE = 39738;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 103;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(ASTERIOS);
|
||||
addTalkId(ASTERIOS, NERUPA);
|
||||
addKillId(MONSTERS);
|
||||
registerQuestItems(LITHRAS_CONSIDERATION);
|
||||
addCondMinLevel(MIN_LEVEL, "34411-00.htm");
|
||||
addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm");
|
||||
addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-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 "34411-02.htm":
|
||||
case "34411-03.htm":
|
||||
case "34412-02.html":
|
||||
case "34412-03.html":
|
||||
case "34411-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34412-04.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-08.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
addExpAndSp(player, 543832495200L, 543832200);
|
||||
takeItems(player, LITHRAS_CONSIDERATION, -1);
|
||||
giveItems(player, ELCYUM_CRYSTAL, 3);
|
||||
giveItems(player, RUNE_STONE, 1);
|
||||
qs.exitQuest(false, 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() == ASTERIOS)
|
||||
{
|
||||
htmltext = "34411-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ASTERIOS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34411-04.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34411-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34411-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NERUPA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34412-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34412-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34412-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
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(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId()))
|
||||
{
|
||||
giveItems(player, LITHRAS_CONSIDERATION, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
|
||||
if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000)
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -338,6 +338,7 @@ import quests.Q10577_TemperARustingBlade.Q10577_TemperARustingBlade;
|
||||
import quests.Q10578_TheSoulOfASword.Q10578_TheSoulOfASword;
|
||||
import quests.Q10579_ContainingTheAttributePower.Q10579_ContainingTheAttributePower;
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction;
|
||||
import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity;
|
||||
@ -892,7 +893,7 @@ public class QuestMasterHandler
|
||||
Q10595_TheDimensionalWarpPart8.class, // TODO: Not done.
|
||||
Q10596_TheDimensionalWarpPart9.class, // TODO: Not done.
|
||||
Q10597_EscapeToTheShadowOfTheMotherTree.class,
|
||||
Q10598_WithAllYourMight.class, // TODO: Not done.
|
||||
Q10598_WithAllYourMight.class,
|
||||
Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done.
|
||||
Q10658_MakkumInTheDimension.class,
|
||||
Q10701_TheRoadToDestruction.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 Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34411;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -176,7 +176,6 @@
|
||||
10594 Fergason's Scheme
|
||||
10595 The Dimensional Warp, Part 8
|
||||
10596 The Dimensional Warp, Part 9
|
||||
10598 With All Your Might
|
||||
10599 Thread of Fate Hanging on the Mother Tree
|
||||
10673 Valentine's Day, Lucy's Reply
|
||||
10848 Trials before the Battle
|
||||
|
@ -0,0 +1,5 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
The Enchanted Valley has changed, so it's very dangerous.<br>
|
||||
I don't think you are supposed to be here yet. Come back when you get stronger.<br>
|
||||
(Only characters above Lv. 103.)
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-02.htm">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-03.htm">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-04.htm">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Hierarch Asterios:<br>
|
||||
NOT DONE QUEST (@TODO need retail html).<br>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-07.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34411-08.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Hierarch Asterios:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-02.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-03.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation<br>
|
||||
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10598_WithAllYourMight 34412-04.html">"Give me a reward"</button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><head>Nerupa:<br>
|
||||
I'm glad to see you again. Probably it was hard, but you and your friends were able to perform my job, now we can talk about compensation.
|
||||
</body></html>
|
@ -0,0 +1,217 @@
|
||||
/*
|
||||
* 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.Q10598_WithAllYourMight;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.commons.util.CommonUtil;
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestSound;
|
||||
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;
|
||||
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
|
||||
/**
|
||||
* With All Your Might (10598)
|
||||
* @URL https://l2wiki.com/With_All_Your_Might
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ASTERIOS = 34411;
|
||||
private static final int NERUPA = 34412;
|
||||
// Monsters
|
||||
private static final int[] MONSTERS =
|
||||
{
|
||||
24117, // Crystal Reep
|
||||
24118, // Crystal Reep
|
||||
24119, // Crystal Needle
|
||||
24120, // Crystal Needle
|
||||
24121, // Treant Blossom
|
||||
24122, // Treant Blossom
|
||||
24123, // Flush Teasle
|
||||
24124, // Flush Teasle
|
||||
24125, // Creeper Rampike
|
||||
24126, // Creeper Rampike
|
||||
24139, // Reep Child
|
||||
24140, // Needle Child
|
||||
24141, // Blossom Child
|
||||
24142, // Teasle Child
|
||||
24127, // Lithra Aprias
|
||||
24128 // Nerupa Aprias
|
||||
};
|
||||
// Items
|
||||
private static final int LITHRAS_CONSIDERATION = 48366;
|
||||
// Rewards
|
||||
private static final int ELCYUM_CRYSTAL = 36514;
|
||||
private static final int RUNE_STONE = 39738;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 103;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(ASTERIOS);
|
||||
addTalkId(ASTERIOS, NERUPA);
|
||||
addKillId(MONSTERS);
|
||||
registerQuestItems(LITHRAS_CONSIDERATION);
|
||||
addCondMinLevel(MIN_LEVEL, "34411-00.htm");
|
||||
addCondCompletedQuest(Q10597_EscapeToTheShadowOfTheMotherTree.class.getSimpleName(), "34411-00.htm");
|
||||
addFactionLevel(Faction.MOTHER_TREE_GUARDIANS, 10, "34411-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 "34411-02.htm":
|
||||
case "34411-03.htm":
|
||||
case "34412-02.html":
|
||||
case "34412-03.html":
|
||||
case "34411-07.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34412-04.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34411-08.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
addExpAndSp(player, 543832495200L, 543832200);
|
||||
takeItems(player, LITHRAS_CONSIDERATION, -1);
|
||||
giveItems(player, ELCYUM_CRYSTAL, 3);
|
||||
giveItems(player, RUNE_STONE, 1);
|
||||
qs.exitQuest(false, 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() == ASTERIOS)
|
||||
{
|
||||
htmltext = "34411-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ASTERIOS:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34411-04.htm";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34411-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34411-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case NERUPA:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "34412-01.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "34412-05.html";
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "34412-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
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(2) && player.isInsideRadius3D(npc, Config.ALT_PARTY_RANGE) && CommonUtil.contains(MONSTERS, npc.getId()))
|
||||
{
|
||||
giveItems(player, LITHRAS_CONSIDERATION, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
|
||||
if (getQuestItemsCount(player, LITHRAS_CONSIDERATION) >= 2000)
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -146,6 +146,7 @@ import quests.Q10589_WhereFatesIntersect.Q10589_WhereFatesIntersect;
|
||||
import quests.Q10590_ReawakenedFate.Q10590_ReawakenedFate;
|
||||
import quests.Q10591_NobleMaterial.Q10591_NobleMaterial;
|
||||
import quests.Q10597_EscapeToTheShadowOfTheMotherTree.Q10597_EscapeToTheShadowOfTheMotherTree;
|
||||
import quests.Q10598_WithAllYourMight.Q10598_WithAllYourMight;
|
||||
import quests.Q10658_MakkumInTheDimension.Q10658_MakkumInTheDimension;
|
||||
import quests.Q10701_TheRoadToDestruction.Q10701_TheRoadToDestruction;
|
||||
import quests.Q10702_TheRoadToInfinity.Q10702_TheRoadToInfinity;
|
||||
@ -446,7 +447,7 @@ public class QuestMasterHandler
|
||||
Q10595_TheDimensionalWarpPart8.class, // TODO: Not done.
|
||||
Q10596_TheDimensionalWarpPart9.class, // TODO: Not done.
|
||||
Q10597_EscapeToTheShadowOfTheMotherTree.class,
|
||||
Q10598_WithAllYourMight.class, // TODO: Not done.
|
||||
Q10598_WithAllYourMight.class,
|
||||
Q10599_ThreadOfFateHangingOnTheMotherTree.class, // TODO: Not done.
|
||||
Q10658_MakkumInTheDimension.class,
|
||||
Q10673_ValentinesDayLucysReply.class, // TODO: Not done.
|
||||
|
@ -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 Q10598_WithAllYourMight extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34411;
|
||||
|
||||
public Q10598_WithAllYourMight()
|
||||
{
|
||||
super(10598);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user