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>
The Giant's Minion sent you here? Giant's Minions. <font color="LEVEL">Embryo</font>. They're one and the same. Both try to use me. Quite annoying.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10416_InSearchOfTheEyeOfArgos 31683-02.html">Continue to listen</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Eye of Argos:<br>
The annoying group called <font color="LEVEL">Embryo</font> failed to get me on their side. So now they want to recruit <font color="LEVEL">Daimon</font>. If they succeed... well.<br>
Give me some time to think about what to do.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
Aren't you the one who defeated <font color="LEVEL">Sakum</font> in the <font color="LEVEL">Wastelands</font>? I've got just the mission for you!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10416_InSearchOfTheEyeOfArgos 33851-02.htm">"I'm listening."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
It's kind of a saga, so listen carefully! An ancient Giant called <font color="LEVEL">Argos</font> once made <font color="LEVEL">Einhasad</font> angry, and was exiled to the <font color="LEVEL">Wall of Argos</font> for punishment. He's been there ever since. Now, we have <font color="LEVEL">Embryo</font> trying to get him on their side. Just imagine it! An ancient giant with incredible power, working for Embryo? What do you think will come of that?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10416_InSearchOfTheEyeOfArgos 33851-03.htm">"Nothing good, I'm sure."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Giant's Minion Janitt:<br>
So far, Argos isn't exactly falling all over himself to support Embryo. The problem is, he doesn't trust us either. I managed to get him to agree to give me a chance; I have to send someone brave and wise to convince him.<br>
Are you brave enough and wise enough? We're on a time limit here, so I don't know that we have the time to find out. I need you to go talk to him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10416_InSearchOfTheEyeOfArgos 33851-04.htm">"Got it."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Giant's Minion Janitt:<br>
Hurry, then. I'll mark the location of the <font color="LEVEL">Eye of Argos</font> on your map. Go talk to him right away.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Giant's Minion Janitt:<br>
Hurry, then. I'll mark the location of the <font color="LEVEL">Eye of Argos</font> on your map. Go talk to him right away.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
Be careful! You're too weak to be wandering around this dangerous place.<br>
(Ertheia are excluded from this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Giant's Minion Janitt:<br>
Be careful! You're too weak to be wandering around this dangerous place.<br>
(Only characters level 70 or above may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,128 @@
/*
* 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.Q10416_InSearchOfTheEyeOfArgos;
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;
/**
* In Search of the Eye of Argos (10416)
* @author St3eT
*/
public final class Q10416_InSearchOfTheEyeOfArgos extends Quest
{
// NPCs
private static final int JANITT = 33851;
private static final int EYE_OF_ARGOS = 31683;
// 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 Q10416_InSearchOfTheEyeOfArgos()
{
super(10416);
addStartNpc(JANITT);
addTalkId(JANITT, EYE_OF_ARGOS);
addCondNotRace(Race.ERTHEIA, "33851-06.html");
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33851-07.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 "33851-02.htm":
case "33851-03.htm":
{
htmltext = event;
break;
}
case "33851-04.htm":
{
st.startQuest();
htmltext = event;
break;
}
case "31683-02.html":
{
if (st.isCond(1))
{
st.exitQuest(false, true);
giveItems(player, EAA, 2);
giveStoryQuestReward(player, 2);
if (player.getLevel() > MIN_LEVEL)
{
addExpAndSp(player, 1_088_640, 261);
}
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, true);
String htmltext = null;
switch (st.getState())
{
case State.CREATED:
{
if (npc.getId() == JANITT)
{
htmltext = "33851-01.htm";
}
break;
}
case State.STARTED:
{
if (st.isCond(1))
{
htmltext = npc.getId() == JANITT ? "33851-05.html" : "31683-01.html";
}
break;
}
case State.COMPLETED:
{
if (npc.getId() == JANITT)
{
htmltext = getAlreadyCompletedMsg(player);
}
break;
}
}
return htmltext;
}
}