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

@@ -1,4 +1,5 @@
<html><body>High Prefect Ladanza:<br>
Hum, has the time come? Your name is quite well-known throughout these parts. They say your star is rising, and that we can entrust you with our clan's future. Those that are an a new stage normnally seek new strength. It is time you demonstrated that you are worthy of such expectations.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-02.htm">"I'm ready!"</button>
<html><body>High Prefect Ladanza:<br>
Waaa? Uh...hhhh! Sorry, I fell asleep waiting for you. I knew you'd come to claim the strength of the Orc clan, but... I never mind having time for a little nap while I'm waiting.<br1>
Enough about me, it's time for you to embrace the strengths of the Orc Clan. Are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-02.htm">"Yes, I am!"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>High Prefect Ladanza:<br>
I have been given a divine revelation of a new destiny for all who are qualified to represent the Orc Clan. I judge you to be qualified in all aspects.<br>
Our Orc Clan is in a dire situation, and we need more candidates like you if we are to redeem ourselves for following the Goddess of Destruction. If you are ready to receive new powers and restore honor to our clan, accept this mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-03.htm">"What's the mission?"</button>
<html><body>High Prefect Ladanza:<br>
As your teacher, it is my responsibility to help you learn and grow, so that you might one day bring pride upon our great Orc Clan. You are more than qualified and I have no doubt that you will grow and prosper.<br>
Someday, your name will be known far and wide, and said with reverence and awe! But for now, I have a mission for you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-03.htm">"What's the mission?"</Button>
</body></html>

View File

@@ -1,5 +1,4 @@
<html><body>High Prefect Ladanza:<br>
You have surely heard of the Seal of Shilen, near to Aden Castle? The Goddess or Destruction has opened her evil eyes, and is strengthening her dark powers. She has already filled that place with evil energy, and her spirits are looking for an opportunity to take over Aden Castle.<br>
The Vanguard went to the underground lair where they believe the Spirits are coming from, but nothing has been heard from them in days. We are about to deploy a search team, and we would like you to accept the mission.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-04.htm">"I accept with pride."</button>
<html><body>High Prefect Ladanza:<br>Are you familiar with the Shilen's Seal region, near the outskirts of Aden Castle? It appears that the Goddess of Destruction has opened her eyes and is strengthening her dark powers. That place, it's now infused with evil energy. There've been reports of Shilen's monsters attacking civilians.<br>
The Aden Vanguard set out to destroy the monsters their underground lair, near Shilen's Seal. But we haven't heard a peep from them since. We'd like you to lead a search party.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-04.htm">"It's my honor."</Button>
</body></html>

View File

@@ -1,4 +1,3 @@
<html><body>High Prefect Ladanza:<br>
A person of your abilities, I don't doubt that you are well suited for this mission. From here, head toward the Seal of Shilen and the Cemetery, and look for the vanguard near the Evil Incubator. Don't forget that every step you take could change the future of our clan.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-05.html">"Count me in."</button>
<html><body>High Prefect Ladanza:<br>Good. I have chosen wisely. Go find the Vanguard Quartermaster, near Shilen's Seal and the Cemetery. Go to the Evil Incubator. Investigate the whereabouts of the Vanguard. Always remember the pride of the Orc Clan.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-05.htm">"Count me in."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Prefect Ladanza:<br>
I'll explain the mission, again. First, find the Aden Vanguard near Shilen's Seal and the Cemetary. Next, help them. The quartermaster will probably be waiting for you.
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>High Prefect Ladanza:<br>
I'll explain again about the mission. First, go to Shilen's Seal and the Cemetary, find the vanguard, and help them. The quartermaster will probably be waiting for you.
</body></html>

View File

@@ -1,6 +1,3 @@
<html><body>High Prefect Ladanza:<br>
Adolph has told me all about you. You were truly a sight to behold, I see. Well, it's time for you to be granted a new path, perhaps.<br>
I'll tell you more if you wish. Otherwise, I have a gift for you.<br>
<!-- <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate transfer_info">"Yeah, I do want to know more."</Button> -->
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-07.html">"No no, just give me the stuff, and I'll transfer."</Button>
<html><body>High Prefect Ladanza:<br>
I'll explain the mission, again. First, find the Aden Vanguard near Shilen's Seal and the Cemetary. Next, help them. The quartermaster will probably be waiting for you.
</body></html>

View File

@@ -1,4 +1,6 @@
<html><body>High Prefect Ladanza:<br>
So, you are ready? Absolutely sure?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-08.html">"I'm ready."</Button>
<html><body>High Prefect Ladanza:<br>
You are a great honor to us all. I bless you on your next step forward in this journey!<br>
I will tell you more if you're curious about the details. Meanwhile, here's a gift.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate nextClassInfo">"Yeah, I do want to know more."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 30865-08.html">"No no, just give me the stuff, and I'll transfer."</Button>
</body></html>

View File

@@ -1,3 +1,4 @@
<html><body>High Prefect Ladanza:<br>
New destiny will open up your path.
<html><body>High Prefect Ladanza:<br>
So, you are ready? Absolutely sure?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate classTransfer">"I'm ready."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Prefect Ladanza:<br>
Tejakar Oroca! On behalf of the great Pa'agrio Lord Kakai, I, Ladanza, acknowledge that you have stepped into a new Path to Awakening!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Prefect Ladanza:<br>
To finish this mission, you must return to your original class.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Ladanza:<br>
No. You, child, are not ready for new powers.<br>
(This quest can only be fulfilled by Destroyer, Tyrant, Overlord, and Warcryer characters, level 76 or above, who have completed the 2nd class transfer.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Prefect Ladanza:<br>
Grow in strength and make the Orc Clan proud.<br>
(Previously Completed Quest.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Aden Vanguard Member:<br>
High priest Orven, sent you to help, right? Great. The Captain ordered me to direct you to the underground crypt when you arrived. The soldiers are already there, battling monsters. Please hurry, they're going to need all the help they can get.<br>
Powerfull monsters are encamped there right now. So let me teleport you there. Otherwise, it would be too dangerous.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest IncubatorOfEvil enter_instance">"Enter"</button>
<html><body>Aden Vanguard Member:<br>
Grand Master Oltran sent you to help, right? Great. The Captain ordered me to direct you to the underground crypt when you arrived. The soldiers are already there, battling monsters. Please hurry, they're going to need all the help they can get.<br>
Powerful monsters are encamped there right now. So let me teleport you there. Otherwise, it would be too dangerous.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest EvilIncubator enterInstance">"I won't keep him waiting."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Quartermaster:<br>
Finally I've been waiting for Aden to send me backup for ages. Captain Adolph and his soldiers all went to the underground Evil Incubator to see about the monsters that have been flooding out of it, and I need help.<br>
Can you help?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 33407-02.html">"That's what I'm here for."</button>
<html><body>Quartermaster:<br>
Finally! I've been waiting for Aden to send me backup for ages. Captain Adolph and his soldiers all went to the underground Evil Incubator to see about the monsters that have been flooding out of it, and I need help.<br>
Can you help?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 33407-02.html">"That's what I'm here for."</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Quartermaster:<br>
So many monsters have broken through our lines, Captain Adolph and his men have pushed them back through a valiant fight, but casualties were unavoidable.<br>
We must pay the dead the respect of bringing their personal possessions back to their families, but we have no numbers to spare. Please, could you bring back 4 keepsakes from the bodies of Aden Vanguard Members in the Cemetary?<br>
It's horrible, but we haven't been able to retrieve the bodies. They're scattered all over the Cemetary, but your best bet would be to check the corners or the square guarded by the Grave Guards. It's between the Seal or Shilen and the Cemetary.
<html><body>Quartermaster:<br>
So many monsters have broken through our lines. Captain Adolph and his men have pushed them back through a valiant fight, but casualties were unavoidable.<br>
We must pay the dead the respect of bringing their personal possessions back to their families, but we have no numbers to spare. Please, could you bring back 4 keepsakes from the bodies of Aden Vanguard Members in the Cemetary?<br1>
It's horrible, but we haven't been able to retrieve the bodies. They're scattered all over the Cemetary, but your best bet would be to check the corners of the square guarded by the Grave Guards. It's between the Seal of Shilen and the Cemetary.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Quartermaster:<br>
Many Aden Vanguard Members have died at the Cemetary. Please bring back 4 keepsakes from their bodies.<br>
It's horrible, but we haven't been able to retrieve the bodies. They're scattered all over the Cemetary, but your be bet would be to check the corners of the square guarded by the Grave Guards. It's between the Seal of Shilen and the Cemetary.
<html><body>Quartermaster:<br>
Many Aden Vanguard Members have died at the Cemetary. Please bring back 4 keepsakes from their bodies.<br1>
It's horrible, but we haven't been able to retrieve the bodies. They're scattered all over the Cemetary, but your best bet would be to check the corners of the square guarded by the Grave Guards. It's between the Seal of Shilen and the Cemetary.
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Quartermaster:<br>
Yes, these are our fallen comrades' dog tags. Thank you. I'm sure the families will appreciate your hard work. Our heroes deserve to be remembered.<br>
Now, I don't think there's much else for you to do here. I'm worried about captain Adolph and the soldiers that went ahead to the monsters' base. I'm sure they could use some help there.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 33407-05.html">"I'll find the captain."</button>
<html><body>Quartermaster:<br>
Yes, these are our fallen comrades' dog tags. Thank you. I'm sure the families will appreciate your hard work. Our heroes deserve to be remembered.<br>
Now, I don't think there's much else for you to do here. I'm worried about captain Adolph and the soldiers that went ahead to the monsters' base. I'm sure they could use some help there.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate 33407-05.html">"I'll find the captain."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Quartermaster:<br>
Captain Adolph's team is in the underground crypt near the Cemetery, fighting monsters that resurrected through Shilen. Go and help him if you can. Powerful creatures are blocking the entrance to the crypt, so you'd better teleport through the Aden Vanguard Member standing behind me.<br>
Good luck, warrior of Aden.
<html><body>Quartermaster:<br>
Captain Adolph's team is in the underground crypt near the Cemetery, fighting monsters that resurrected through Shilen. Go and help him if you can. Powerful creatures are blocking the entrance to the crypt, so you'd better teleport through the Aden Vanguard Member standing behind me.<br>
Good luck, warrior of Aden.
</body></html>

View File

@@ -1,329 +1,111 @@
/*
* 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.Q10344_DayOfDestinyOrcsFate;
import com.l2jmobius.Config;
import com.l2jmobius.gameserver.cache.HtmCache;
import com.l2jmobius.gameserver.enums.QuestSound;
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.events.EventType;
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerLevelChanged;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.serverpackets.ExQuestNpcLogList;
import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
/**
* Day of Destiny: Orc's Fate (10344)
* @author Mobius
*/
public class Q10344_DayOfDestinyOrcsFate extends Quest
{
// NPCs
private static final int LADANZA = 30865;
private static final int QUARTERMASTER = 33407;
private static final int DEAD_SOLDIER_1 = 33166;
private static final int DEAD_SOLDIER_2 = 33167;
private static final int DEAD_SOLDIER_3 = 33168;
private static final int DEAD_SOLDIER_4 = 33169;
private static final int VANGUARD_MEMBER = 33165;
// Items
private static final int DEAD_SOLDIER_TAGS = 17751;
// Rewards
private static final int STEEL_DOOR_GUILD_COIN = 37045;
private static final int M_SOULSHOT_S = 22576;
private static final int M_SPIRITSHOT_S = 22607;
// Requirement
private static final int MIN_LEVEL = 76;
public Q10344_DayOfDestinyOrcsFate()
{
super(10344, Q10344_DayOfDestinyOrcsFate.class.getSimpleName(), "Day of Destiny: Orc's Fate");
addStartNpc(LADANZA);
addTalkId(LADANZA, QUARTERMASTER, DEAD_SOLDIER_1, DEAD_SOLDIER_2, DEAD_SOLDIER_3, DEAD_SOLDIER_4, VANGUARD_MEMBER);
registerQuestItems(DEAD_SOLDIER_TAGS);
addCondMinLevel(MIN_LEVEL, "no_level.html");
addCondRace(Race.ORC, "no_race.html");
}
@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 "30865-02.htm":
case "30865-03.htm":
case "30865-04.htm":
case "30865-06.html":
case "30865-07.html":
{
htmltext = event;
break;
}
case "30865-05.html":
{
qs.startQuest();
qs.setCond(2); // arrow hack
qs.setCond(1);
htmltext = event;
break;
}
case "33407-02.html":
{
if (qs.isCond(1))
{
qs.setCond(2, true);
htmltext = event;
}
break;
}
case "dead_collect.html":
{
if (qs.isCond(2))
{
if (qs.get("" + npc.getId()) == null)
{
qs.set("" + npc.getId(), 1);
giveItems(player, DEAD_SOLDIER_TAGS, 1);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
final int count = qs.getMemoState() + 1;
if (count >= 4)
{
qs.setCond(3, true);
qs.unset("" + DEAD_SOLDIER_1);
qs.unset("" + DEAD_SOLDIER_2);
qs.unset("" + DEAD_SOLDIER_3);
qs.unset("" + DEAD_SOLDIER_4);
htmltext = "dead_complete.html";
}
else
{
qs.setMemoState(count);
final ExQuestNpcLogList log = new ExQuestNpcLogList(getId());
log.addItem(DEAD_SOLDIER_TAGS, count);
player.sendPacket(log);
htmltext = event;
}
}
break;
}
case "33407-05.html":
{
if (qs.isCond(3))
{
takeItems(player, DEAD_SOLDIER_TAGS, -1);
qs.setCond(4, true);
htmltext = event;
}
break;
}
case "transfer_info":
{
if (qs.isCond(13))
{
switch (player.getClassId().getId())
{
// TODO: Return detail htmls.
}
}
break;
}
case "30865-08.html":
{
if (qs.isCond(13))
{
switch (player.getClassId().getId())
{
// Destroyer -> Titan
case 46:
{
player.setBaseClassId(113);
player.setClassId(113);
break;
}
// Tyrant -> Grand Khavatari
case 48:
{
player.setBaseClassId(114);
player.setClassId(114);
break;
}
// Overlord -> Dominator
case 51:
{
player.setBaseClassId(115);
player.setClassId(115);
break;
}
// Warcryer -> Doom Cryer
case 52:
{
player.setBaseClassId(116);
player.setClassId(116);
break;
}
}
rewardItems(player, STEEL_DOOR_GUILD_COIN, 87);
rewardItems(player, M_SOULSHOT_S, 1);
rewardItems(player, M_SPIRITSHOT_S, 1);
addExpAndSp(player, 2050000, 0);
player.broadcastUserInfo();
qs.exitQuest(false, true);
}
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.STARTED:
{
switch (npc.getId())
{
case LADANZA:
{
if (qs.isCond(1))
{
htmltext = "30865-05.html";
}
else if (qs.isCond(13))
{
htmltext = "30865-06.html";
}
break;
}
case QUARTERMASTER:
{
switch (qs.getCond())
{
case 1:
{
htmltext = "33407-01.html";
break;
}
case 2:
{
htmltext = "33407-03.html";
break;
}
case 3:
{
htmltext = "33407-04.html";
break;
}
case 4:
{
htmltext = "33407-05.html";
break;
}
}
break;
}
case DEAD_SOLDIER_1:
case DEAD_SOLDIER_2:
case DEAD_SOLDIER_3:
case DEAD_SOLDIER_4:
{
if (qs.isCond(2))
{
if (qs.get("" + npc.getId()) != null)
{
htmltext = "dead_collect.html";
}
else
{
htmltext = "dead_soldier.html";
}
}
else if (qs.isCond(3))
{
htmltext = "dead_complete.html";
}
break;
}
case VANGUARD_MEMBER:
{
if ((qs.getCond() > 3) && (qs.getCond() < 13))
{
htmltext = "33165-01.html";
}
break;
}
}
break;
}
case State.CREATED:
{
if ((npc.getId() == LADANZA) && !player.isSubClassActive() && !player.isDualClassActive() && (player.getClassId().level() == 2))
{
htmltext = "30865-01.htm";
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
@RegisterEvent(EventType.ON_PLAYER_LEVEL_CHANGED)
@RegisterType(ListenerRegisterType.GLOBAL)
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
{
if (Config.DISABLE_TUTORIAL)
{
return;
}
final L2PcInstance player = event.getActiveChar();
if ((player.getLevel() >= MIN_LEVEL) && (player.getRace() == Race.ORC))
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
final NpcHtmlMessage html = new NpcHtmlMessage();
html.setHtml(HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "scripts/quests/Q10344_DayOfDestinyOrcsFate/announce.html"));
player.sendPacket(html);
}
}
}
/*
* 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.Q10344_DayOfDestinyOrcsFate;
import com.l2jmobius.gameserver.enums.CategoryType;
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.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import quests.ThirdClassTransferQuest;
/**
* Day of Destiny: Orc's Fate (10344)
* @author St3eT
*/
public final class Q10344_DayOfDestinyOrcsFate extends ThirdClassTransferQuest
{
// NPC
private static final int LADANZA = 30865;
// Misc
private static final int MIN_LEVEL = 76;
private static final Race START_RACE = Race.ORC;
public Q10344_DayOfDestinyOrcsFate()
{
super(10344, MIN_LEVEL, START_RACE);
addStartNpc(LADANZA);
addTalkId(LADANZA);
addCondMinLevel(MIN_LEVEL, "30865-11.html");
addCondRace(START_RACE, "30865-11.html");
addCondInCategory(CategoryType.THIRD_CLASS_GROUP, "30865-12.html");
}
@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 "30865-02.htm":
case "30865-03.htm":
case "30865-04.htm":
case "30865-08.html":
{
htmltext = event;
break;
}
case "30865-05.htm":
{
st.startQuest();
st.set("STARTED_CLASS", player.getClassId().getId());
htmltext = event;
break;
}
default:
{
htmltext = super.onAdvEvent(event, npc, player);
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player, boolean isSimulated)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (npc.getId() == LADANZA)
{
if (st.getState() == State.CREATED)
{
htmltext = "30865-01.htm";
}
else if (st.getState() == State.STARTED)
{
if (st.isCond(1))
{
htmltext = "30865-06.html";
}
else if (st.isCond(13))
{
htmltext = "30865-07.html";
}
}
}
return (!htmltext.equals(getNoQuestMsg(player)) ? htmltext : super.onTalk(npc, player, isSimulated));
}
}

View File

@@ -0,0 +1,29 @@
<html><body scroll="no">
<!-- Decoration Table -->
<table border="0" cellpadding="0" cellspacing="0" width="288" height="355" background="L2UI_CH3.refinewnd_back_Pattern">
<tr><td>
<table border="0" cellpadding="2" cellspacing="0">
<tr><td height="12"><!-- Empty Space --></td></tr>
<tr><td height="20" align="center"><font style="subtitle">[ Dominator ]</font></td></tr>
<!-- Image -->
<tr><td align="center" height="166">
<table border="0" cellpadding="6" cellspacing="1">
<tr><td width="268" height="156" align="center"><img src="L2ClassGuide.Orc.OC303_001" width="256" height="150"></td></tr></table>
</td></tr>
<!-- Description -->
<tr><td height="8"><!-- Empty Space --></td></tr>
<tr><td align="center">
<table border="0" width="270" cellpadding="3" cellspacing="0"><tr><td>
<font style="subtitle">Characteristics</font><br1>
Not only are they skilled at PvP, but Dominators are crucial buffers that possess a number of cursing spells. Their powerful buffs affect an entire command channel, and their ability to boost magic attacks make them much desired in large battle heavy in magic casters.<br1>
</td></tr></table>
<!-- Previous and Next buttons -->
<center><table border=0 cellpadding=1 cellspacing=0>
<tr><td>
<button width=100 height=28 action="bypass -h Q10344_DayOfDestinyOrcsFate" value="Back" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</td></tr>
</table></center>
</td></tr></table>
</td></tr>
</table><!-- Decoration Table End -->
</body></html>

View File

@@ -0,0 +1,29 @@
<html><body scroll="no">
<!-- Decoration Table -->
<table border="0" cellpadding="0" cellspacing="0" width="288" height="355" background="L2UI_CH3.refinewnd_back_Pattern">
<tr><td>
<table border="0" cellpadding="2" cellspacing="0">
<tr><td height="12"><!-- Empty Space --></td></tr>
<tr><td height="20" align="center"><font style="subtitle">[ Doomcryer ]</font></td></tr>
<!-- Image -->
<tr><td align="center" height="166">
<table border="0" cellpadding="6" cellspacing="1">
<tr><td width="268" height="156" align="center"><img src="L2ClassGuide.Orc.OC304_001" width="256" height="150"></td></tr></table>
</td></tr>
<!-- Description -->
<tr><td height="8"><!-- Empty Space --></td></tr>
<tr><td align="center">
<table border="0" width="270" cellpadding="3" cellspacing="0"><tr><td>
<font style="subtitle">Characteristics</font><br1>
Doomcryers are buffing specialists. Their powerful group buffs boost resistance to buff cancellations and debuff attacks, as well as adding onto other buffs to boost battle prowess. Doomcryers can also buff themselves in PvP, much to their opponents' chagrin. <br1>
</td></tr></table>
<!-- Previous and Next buttons -->
<center><table border=0 cellpadding=1 cellspacing=0>
<tr><td>
<button width=100 height=28 action="bypass -h Q10344_DayOfDestinyOrcsFate" value="Back" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</td></tr>
</table></center>
</td></tr></table>
</td></tr>
</table><!-- Decoration Table End -->
</body></html>

View File

@@ -0,0 +1,29 @@
<html><body scroll="no">
<!-- Decoration Table -->
<table border="0" cellpadding="0" cellspacing="0" width="288" height="355" background="L2UI_CH3.refinewnd_back_Pattern">
<tr><td>
<table border="0" cellpadding="2" cellspacing="0">
<tr><td height="12"><!-- Empty Space --></td></tr>
<tr><td height="20" align="center"><font style="subtitle">[ Grand Khavatari ]</font></td></tr>
<!-- Image -->
<tr><td align="center" height="166">
<table border="0" cellpadding="6" cellspacing="1">
<tr><td width="268" height="156" align="center"><img src="L2ClassGuide.Orc.OC302_001" width="256" height="150"></td></tr></table>
</td></tr>
<!-- Description -->
<tr><td height="8"><!-- Empty Space --></td></tr>
<tr><td align="center">
<table border="0" width="270" cellpadding="3" cellspacing="0"><tr><td>
<font style="subtitle">Characteristics</font><br1>
With the abilites of Tyrants, Grand Khavataris have increased resistance to abnormal states. Their PvP capabilities have increased significantly as well, with the addition of various ranged skills and debuffs that slow down the opponent.<br1>
</td></tr></table>
<!-- Previous and Next buttons -->
<center><table border=0 cellpadding=1 cellspacing=0>
<tr><td>
<button width=100 height=28 action="bypass -h Q10344_DayOfDestinyOrcsFate" value="Back" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</td></tr>
</table></center>
</td></tr></table>
</td></tr>
</table><!-- Decoration Table End -->
</body></html>

View File

@@ -0,0 +1,29 @@
<html><body scroll="no">
<!-- Decoration Table -->
<table border="0" cellpadding="0" cellspacing="0" width="288" height="355" background="L2UI_CH3.refinewnd_back_Pattern">
<tr><td>
<table border="0" cellpadding="2" cellspacing="0">
<tr><td height="12"><!-- Empty Space --></td></tr>
<tr><td height="20" align="center"><font style="subtitle">[ Titan ]</font></td></tr>
<!-- Image -->
<tr><td align="center" height="166">
<table border="0" cellpadding="6" cellspacing="1">
<tr><td width="268" height="156" align="center"><img src="L2ClassGuide.Orc.OC301_001" width="256" height="150"></td></tr></table>
</td></tr>
<!-- Description -->
<tr><td height="8"><!-- Empty Space --></td></tr>
<tr><td align="center">
<table border="0" width="270" cellpadding="3" cellspacing="0"><tr><td>
<font style="subtitle">Characteristics</font><br1>
With superb attack and defense, Titans are unrivaled in PvP. An opponent with low defenses would be wise to flee before Titans launch a continuous assault, which can pummel even a tank to the ground. Their only weakness is in ranged battle, as they are melee fighters.<br1>
</td></tr></table>
<!-- Previous and Next buttons -->
<center><table border=0 cellpadding=1 cellspacing=0>
<tr><td>
<button width=100 height=28 action="bypass -h Q10344_DayOfDestinyOrcsFate" value="Back" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF">
</td></tr>
</table></center>
</td></tr></table>
</td></tr>
</table><!-- Decoration Table End -->
</body></html>

View File

@@ -1,3 +0,0 @@
<html><body>I don't talk to youngsters. Come back when you've grown up a bit more.<br>
(This quest can only be taken by a character of level 76 or above.)
</body></html>

View File

@@ -1 +0,0 @@
<html><body>You are either not on a quest that involves this NPC, or you don't meet this NPC's minimum quest requirements.</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>High Prefect Ladanza:<br>
So the Goddess of Death has opened her malicious eyes, at last. Shilen's vile creatures are rampaging all over Aden Castle. I heard a vanguard force from Aden Castle set out to eradicate those monsters and found an underground lair near the <font color="LEVEL">Seal of Shilen</font>. But the problem is that we haven't heard anything from them since then. So we're arranging to send a search party after them, and I hope you who of renown could help us with this mission. If you do, I'll help you gain greater powers.<br>
I shall be waiting for you in the <font color="LEVEL">Orc Guild</font> in the <font color="LEVEL">Town of Aden</font>. Do not be led astray from your fated duty.<br>
(When your level is <font color="LEVEL">76</font> or higher, you can complete the <font color="LEVEL">third class transfer</font>)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate close_window">Close Window.</Button>
<html><body>High Prefect Ladanza:<br>
So the Goddess of Death has opened her malicious eyes, at last. Shilen's vile creatures are rampaging all over Aden Castle. I heard a vanguard force from Aden Castle set out to eradicate those monsters and found an underground lair near the <font color="LEVEL">Seal of Shilen</font>. But the problem is that we haven't heard anything from them since then. So we're arranging to send a search party after them, and I hope you who of renown could help us with this mission. If you do, I'll help you gain greater powers.<br>
I shall be waiting for you in the <font color="LEVEL">Orc Guild</font> in the <font color="LEVEL">Town of Aden</font>. Do not be led astray from your fated duty.<br>
(When your level is <font color="LEVEL">76</font> or higher, you can complete the <font color="LEVEL">third class transfer</font>)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close Window.</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aden Vanguard Corpse:<br>
(It looks like this is one of the fallen soldiers the Vanguard quartermaster was talking about.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate dead_collect.html">Collect his belongings</button>
<html><body>Aden Vanguard Corpse:<br>
(It looks like this is one of the fallen soldiers the Vanguard Quartermaster was talking about.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10344_DayOfDestinyOrcsFate collectTag">Collect his belongings</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Aden Vanguard Corpse:<br>
(You collected the dog tag from this soldier.)
<html><body>Aden Vanguard Corpse:<br>
(You collected the dog tag from this soldier.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Aden Vanguard Corpse 1:<br>
Already collected.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Aden Vanguard Corpse:<br>
(You collected a dog tag from the corpse. You now have all you need and can return to the Aden Supplier.)
<html><body>Aden Vanguard Corpse:<br>
(You collected a dog tag from the corpse. You now have all you need and can return to the Aden Supplier.)
</body></html>