Quest Owner of Hall (10351).
Contributed by gigilo1968.
This commit is contained in:
@@ -70,7 +70,6 @@
|
|||||||
10312 Abandoned God's Creature
|
10312 Abandoned God's Creature
|
||||||
10315 To the Prison of Darkness
|
10315 To the Prison of Darkness
|
||||||
10316 Undecaying Memory of the Past
|
10316 Undecaying Memory of the Past
|
||||||
10351 Owner of Hall
|
|
||||||
10352 Legacy of Cruma Tower
|
10352 Legacy of Cruma Tower
|
||||||
10353 Certification of Value
|
10353 Certification of Value
|
||||||
10354 Resurrected Owner of Hall
|
10354 Resurrected Owner of Hall
|
||||||
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-00.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-00.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
Would you like to face the truth? One needs to wait for the right time.<br>
|
||||||
|
(This quest can only be fulfilled by characters level 95 or above.)
|
||||||
|
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-00a.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-00a.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
You haven't gained the qualifications you need to face the truth yet.<br>
|
||||||
|
(This quest can only be fulfilled by characters who have cleared the 'Decaying Darkness' quest).
|
||||||
|
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-01.htm
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-01.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
If you're ready, I'll tell you.... I'll tell you the story that has been passed down in this place, Magmeld. Originally this place was a place to rest that Einhasad made for distinguished heroes in the Merchants period. But the problem started when Gran Kain brought unchosen heroes and several races into Magmeld.<br>Einhasad did not wish this place to escape her control. So she gave the Sword of Light to <font color="LEVEL">Paulina</font> who is the fourth daughter in order to control them. Paulina created the <font color="LEVEL">Prison of Darkness</font>, a prison made of Starlight's Lattice, and imprisoned them all.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10351_OwnerOfHall 32892-02.htm">"Go on, please."</Button>
|
||||||
|
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-02.htm
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
Paulina was... a kind angel. She didn't want those not chosen by the Gods to be hurt. Paulina told them that these prison bars were a means of protection, even when we knew, of course, that they were imprisoning us.<br>
|
||||||
|
The situation was desperate, everyone was furious... everyone except <font color="LEVEL">Octavis</font>. The knight of obedience and order trusted the Gods even if he knew that he wasn't chosen...<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10351_OwnerOfHall 32892-03.htm">"Okay..."</Button>
|
||||||
|
</body></html>
|
6
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-03.htm
vendored
Normal file
6
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-03.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
The heroes led by Spezion wanted to escape. But Starlight's Lattice beheld the power of light from the Gods, and it wasn't to be destroyed by the power of heroes. After some time later, a hero and an excellent sorcerer <font color="LEVEL">Josephina</font> was successful in creating the magic of death that can destroy Starlight's Lattice by borrowing <font color="LEVEL">Shilen</font>'s power. That was... the <font color="LEVEL">Decaying Darkness</font>.<br>
|
||||||
|
Spezion and other heroes attempted to use this Decaying Darkness to destroy the Starlight's Lattice and convey their wishes to the gods. But all of them had to risk their life, as it was a great magic powerful enough to destroy the Starlight's Lattice and demanded much.<br>
|
||||||
|
In the end, Octavis swallowed the Decaying Darkness and died, and the attempt to escape failed. It could have been his faith in god, simple hesitation, or just lack of resolution that caused it, but I have no way of knowing.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10351_OwnerOfHall 32892-04.htm">"Go on. I am listening."</Button>
|
||||||
|
</body></html>
|
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-04.htm
vendored
Normal file
5
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
Spezion, the mastermind, was sent to the Prison of Darkness by the Gods, and Octavis was resurrected and given a role in protecting Orbis Temple.<br>
|
||||||
|
However, the Decaying Darkness didn't go away. It contaminated other heroes and infected Octavis. He suffered terribly, felt he had betrayed his comrades and, over time, changed.<br><font color="LEVEL">Octavis may no longer be a great hero,</font> but he will always be a loyal servant to the Gods. His was tasked with stopping the intruders who come here. That means you, pup.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10351_OwnerOfHall 32892-05.htm">"I'll defeat him."</Button>
|
||||||
|
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-05.htm
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-05.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
Be careful, young one. Octavis does not carry his strength of old, but he is a formidable foe nonetheless. Watch yourself, study his moves, and you may have a chance.
|
||||||
|
</body></html>
|
3
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-06.html
vendored
Normal file
3
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-06.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
I pray that you kill Octavis and return safely!
|
||||||
|
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-07.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
You defeated Octavis! You really are a hero! Please accept this as a token of my sincere gratitude!<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10351_OwnerOfHall 32892-08.html">"Fair enough."</Button>
|
||||||
|
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-08.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/32892-08.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
<font color="LEVEL">%name%</font>! You have brought peace to Orbis Temple, and deserve recognition throughout the continent. <br>
|
||||||
|
Please do never lose your way, and safeguard the world always.
|
||||||
|
</body></html>
|
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/Complete.html
vendored
Normal file
4
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/Complete.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Divine Messenger Lydia:<br>
|
||||||
|
You have shown your courage and bravery. You deserve to be called a true hero.<br>
|
||||||
|
(You already completed this quest.)
|
||||||
|
</body></html>
|
148
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/Q10351_OwnerOfHall.java
vendored
Normal file
148
L2J_Mobius_Underground/dist/game/data/scripts/quests/Q10351_OwnerOfHall/Q10351_OwnerOfHall.java
vendored
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
/*
|
||||||
|
* 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.Q10351_OwnerOfHall;
|
||||||
|
|
||||||
|
import com.l2jmobius.Config;
|
||||||
|
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.Q10318_DecayingDarkness.Q10318_DecayingDarkness;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Owner of Hall (10351)
|
||||||
|
* @URL https://l2wiki.com/Owner_of_Hall
|
||||||
|
* @author Gigi
|
||||||
|
*/
|
||||||
|
public final class Q10351_OwnerOfHall extends Quest
|
||||||
|
{
|
||||||
|
// NPCs
|
||||||
|
private static final int LYDIA = 32892;
|
||||||
|
private static final int OCTAVIS = 29209;
|
||||||
|
// Item
|
||||||
|
private static final int OCTAVIS_BRACELET = 19461;
|
||||||
|
// Misc
|
||||||
|
private static final int MIN_LEVEL = 95;
|
||||||
|
|
||||||
|
public Q10351_OwnerOfHall()
|
||||||
|
{
|
||||||
|
super(10351);
|
||||||
|
addStartNpc(LYDIA);
|
||||||
|
addTalkId(LYDIA);
|
||||||
|
addKillId(OCTAVIS);
|
||||||
|
addCondMinLevel(MIN_LEVEL, "32892-00.htm");
|
||||||
|
addCondCompletedQuest(Q10318_DecayingDarkness.class.getSimpleName(), "32892-00a.htm");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
String htmltext = null;
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "32892-02.htm":
|
||||||
|
case "32892-03.htm":
|
||||||
|
case "32892-04.htm":
|
||||||
|
{
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "32892-05.htm":
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "32892-08.html":
|
||||||
|
{
|
||||||
|
giveAdena(player, 23655000, false);
|
||||||
|
addExpAndSp(player, 897850000, 215484);
|
||||||
|
giveItems(player, OCTAVIS_BRACELET, 1);
|
||||||
|
qs.exitQuest(false, true);
|
||||||
|
htmltext = getHtm(player.getHtmlPrefix(), "32892-08.html").replace("%name%", player.getName());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = getNoQuestMsg(player);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
final int npcId = npc.getId();
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
if (npcId == LYDIA)
|
||||||
|
{
|
||||||
|
htmltext = "32892-01.htm";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
if (qs.isCond(1))
|
||||||
|
{
|
||||||
|
htmltext = "32892-06.html";
|
||||||
|
}
|
||||||
|
else if (qs.isCond(2))
|
||||||
|
{
|
||||||
|
htmltext = "32892-07.html";
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
htmltext = "Complete.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
|
||||||
|
{
|
||||||
|
executeForEachPlayer(player, npc, isSummon, true, false);
|
||||||
|
return super.onKill(npc, player, isSummon);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void actionForEachPlayer(L2PcInstance player, L2Npc npc, boolean isSummon)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if ((qs != null) && player.isInsideRadius(npc, Config.ALT_PARTY_RANGE, true, true))
|
||||||
|
{
|
||||||
|
qs.setCond(2, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -242,6 +242,7 @@ import quests.Q10343_DayOfDestinyDarkElfsFate.Q10343_DayOfDestinyDarkElfsFate;
|
|||||||
import quests.Q10344_DayOfDestinyOrcsFate.Q10344_DayOfDestinyOrcsFate;
|
import quests.Q10344_DayOfDestinyOrcsFate.Q10344_DayOfDestinyOrcsFate;
|
||||||
import quests.Q10345_DayOfDestinyDwarfsFate.Q10345_DayOfDestinyDwarfsFate;
|
import quests.Q10345_DayOfDestinyDwarfsFate.Q10345_DayOfDestinyDwarfsFate;
|
||||||
import quests.Q10346_DayOfDestinyKamaelsFate.Q10346_DayOfDestinyKamaelsFate;
|
import quests.Q10346_DayOfDestinyKamaelsFate.Q10346_DayOfDestinyKamaelsFate;
|
||||||
|
import quests.Q10351_OwnerOfHall.Q10351_OwnerOfHall;
|
||||||
import quests.Q10358_DividedSakumPoslof.Q10358_DividedSakumPoslof;
|
import quests.Q10358_DividedSakumPoslof.Q10358_DividedSakumPoslof;
|
||||||
import quests.Q10359_TracesOfEvil.Q10359_TracesOfEvil;
|
import quests.Q10359_TracesOfEvil.Q10359_TracesOfEvil;
|
||||||
import quests.Q10360_CertificationOfFate.Q10360_CertificationOfFate;
|
import quests.Q10360_CertificationOfFate.Q10360_CertificationOfFate;
|
||||||
@@ -630,6 +631,7 @@ public class QuestMasterHandler
|
|||||||
Q10344_DayOfDestinyOrcsFate.class,
|
Q10344_DayOfDestinyOrcsFate.class,
|
||||||
Q10345_DayOfDestinyDwarfsFate.class,
|
Q10345_DayOfDestinyDwarfsFate.class,
|
||||||
Q10346_DayOfDestinyKamaelsFate.class,
|
Q10346_DayOfDestinyKamaelsFate.class,
|
||||||
|
Q10351_OwnerOfHall.class,
|
||||||
Q10358_DividedSakumPoslof.class,
|
Q10358_DividedSakumPoslof.class,
|
||||||
Q10359_TracesOfEvil.class,
|
Q10359_TracesOfEvil.class,
|
||||||
Q10360_CertificationOfFate.class,
|
Q10360_CertificationOfFate.class,
|
||||||
|
Reference in New Issue
Block a user