Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
You know <font color="LEVEL">Daimon the White-Eyed</font>, yes? <font color="LEVEL">Einhasad</font> broke <font color="LEVEL">Argos</font> into pieces and spread them across this land. Whereas I am the bright side of the Argos, Daimon is the dark side. He tries to grow strong on this land and expand his evil force outside of it, but heroes like you stop him every time.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10417_DaimonTheWhiteEyed 31683-02.htm">Continue to listen</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
It seems that the organization called <font color="LEVEL">Embryo</font> approached Daimon when they failed to get me on their side. They've already started their ceremony for taking him out of the world. Although he is still weak, he will soon have the energy to complete his form by absorbing my power.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10417_DaimonTheWhiteEyed 31683-03.htm">"What should I do?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
Start by finding out how heroes stopped Daimon in the past. But do it quickly! He has already begun to recover his power through the Ceremony Executors of Embryo. He approaches. I am running out of time. I'll mark his current location on your map. Go there right now and defeat <font color="LEVEL">Daimon the White-Eyed</font>!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10417_DaimonTheWhiteEyed 31683-04.htm">"Got it."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
Wow. I'd have thought <font color="LEVEL">Daimon the White-eyed</font> would be too dangerous even for the <font color="LEVEL">Embryo</font> to try and control...but they tried to resurrect him? Good thing you managed to thwart that plan!I sure am glad <font color="LEVEL">Kekropus</font> sent you.<br>
Well, things may look up now, but since the <font color="LEVEL">Eye of Argos</font> has asked me to keep the Embryo away, I'll stay here a bit longer. See ya around!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
With my eye, I see the justice, courage, and wisdom inside you. I trust you can stop Daimon's complete resurrection.<br>
<font color="LEVEL">Daimon the White-Eyed</font> is already near. Find <font color="LEVEL">Daimon the White-Eyed</font> on your map and defeat him.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
With my eye, I see the justice, courage, and wisdom inside you. I trust you can stop Daimon's complete resurrection.<br>
<font color="LEVEL">Daimon the White-Eyed</font> is already near. Find <font color="LEVEL">Daimon the White-Eyed</font> on your map and defeat him.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
I felt <font color="LEVEL">Daimon the White-Eyed</font>'s power weaken! Did you kill him?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10417_DaimonTheWhiteEyed 31683-07.html">"Would I disappoint you?"</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
You put an end to Daimon's current threat, but he is not dead forever. He will resurrect one day and try to put the world in chaos once again. As long as there are organizations like <font color="LEVEL">Embryo</font>...<br>
Deliver my message to <font color="LEVEL">Giant's Minion Janitt</font> at the entrance of the <font color="LEVEL">Wall of Argos</font>. I still don't trust those minions, but I thank them for sending you to me. Tell them I hope they stop organizations like <font color="LEVEL">Embryo</font> from approaching Daimon.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
I'm waiting for an adventurer with wisdom and courage.<br>
(This quest can only be undertaken by characters of level 70 or higher who have completed the quest "In Search of the Eye of Argos".)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
I've been waiting for a wise and brave adventurer.<br>
(Ertheia classes cannot perform this quest.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Giant's Minion Janitt:<br>
The <font color="LEVEL">Eye of Argos</font> gave you some tasks, didn't he? Have you finished them? What? Not yet? Hurry up!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
I hope you're coming back from winning over the <font color="LEVEL">Eye of Argos</font>? What did he ask you to do?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10417_DaimonTheWhiteEyed 31683-03.html">"Where do I even begin?"</Button>
</body></html>

View File

@@ -0,0 +1,149 @@
/*
* 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.Q10417_DaimonTheWhiteEyed;
import com.l2jmobius.gameserver.enums.Race;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import quests.Q10416_InSearchOfTheEyeOfArgos.Q10416_InSearchOfTheEyeOfArgos;
/**
* Daimon the White-eyed (10417)
* @author St3eT
*/
public final class Q10417_DaimonTheWhiteEyed extends Quest
{
// NPCs
private static final int EYE_OF_ARGOS = 31683;
private static final int JANITT = 33851;
private static final int DAIMON_THE_WHITEEYED = 27499;
// Items
private static final int EAA = 730; // Scroll: Enchant Armor (A-grade)
// Misc
private static final int MIN_LEVEL = 70;
private static final int MAX_LEVEL = 75;
public Q10417_DaimonTheWhiteEyed()
{
super(10417);
addStartNpc(EYE_OF_ARGOS);
addTalkId(EYE_OF_ARGOS, JANITT);
addKillId(DAIMON_THE_WHITEEYED);
addCondNotRace(Race.ERTHEIA, "31683-09.html");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "31683-08.htm");
addCondCompletedQuest(Q10416_InSearchOfTheEyeOfArgos.class.getSimpleName(), "31683-08.htm");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "31683-02.htm":
case "31683-03.htm":
{
htmltext = event;
break;
}
case "31683-04.htm":
{
st.startQuest();
htmltext = event;
break;
}
case "31683-07.html":
{
if (st.isCond(2))
{
st.setCond(3, true);
htmltext = event;
}
break;
}
case "31683-03.html":
{
if (st.isCond(3))
{
st.exitQuest(false, true);
giveItems(player, EAA, 5);
giveStoryQuestReward(player, 26);
if (player.getLevel() > MIN_LEVEL)
{
addExpAndSp(player, 2_721_600, 653);
}
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, true);
String htmltext = null;
if (st.getState() == State.CREATED)
{
if (npc.getId() == EYE_OF_ARGOS)
{
htmltext = "31683-01.htm";
}
}
else if (st.getState() == State.STARTED)
{
switch (st.getCond())
{
case 1:
htmltext = npc.getId() == EYE_OF_ARGOS ? "31683-05.html" : "33851-01.html";
break;
case 2:
htmltext = npc.getId() == EYE_OF_ARGOS ? "31683-06.html" : "33851-01.html";
break;
case 3:
htmltext = npc.getId() == EYE_OF_ARGOS ? "31683-07.html" : "33851-02.html";
break;
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final QuestState st = getQuestState(killer, false);
if ((st != null) && st.isCond(1))
{
st.setCond(2, true);
}
return super.onKill(npc, killer, isSummon);
}
}