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,4 @@
<html><body>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate 30862-02.htm">"I'm ready!"</button>
<html><body>Grand Master Oltran:<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 on a new stage normally 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 Q10343_DayOfDestinyDarkElfsFate 30862-02.htm">"I'm ready!"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grand Master Oltran:<br>
I have been given a divine revelation of a new destiny for all who are qualified to represent the Dark Elf Clan. I judge you to be qualified in all aspects.<br>
Our Dark Elf 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 Q10343_DayOfDestinyDarkElfsFate 30862-03.htm">"What's the mission?"</button>
<html><body>Grand Master Oltran:<br>
I have been given a divine revelation of a new destiny for all who are qualified to represent the Dark Elf Clan. I judge you to be qualified in all aspects.<br>
Our Dark Elf 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 Q10343_DayOfDestinyDarkElfsFate 30862-03.htm">"What's the mission?"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate 30862-04.htm">"I accept with pride."</button>
<html><body>Grand Master Oltran:<br>
You have surely heard of the Seal of Shilen, near to Aden Castle? The Goddess of Destruction has opened her evil eyes, and is strengthening her dark powers. She has already filled that place with evil energy, and her sprits 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 Q10343_DayOfDestinyDarkElfsFate 30862-04.htm">"I accept, with pride."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate 30862-05.html">"Count me in."</button>
<html><body>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate 30862-05.htm">"Count me in."</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Grand Master Oltran:<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.
<html><body>Grand Master Oltlin:<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>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate transfer_info">"Yeah, I do want to know more."</Button> -->
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10343_DayOfDestinyDarkElfsFate 30862-07.html">"No no, just give me the stuff, and I'll transfer."</Button>
<html><body>Grand Master Oltlin:<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,4 +1,6 @@
<html><body>Grand Master Oltran:<br>
So, you are ready? Absolutely sure?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10343_DayOfDestinyDarkElfsFate 30862-08.html">"I'm ready."</Button>
<html><body>Grand Master Oltran:<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 Q10343_DayOfDestinyDarkElfsFate nextClassInfo">"Yeah, I do want to know more."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10343_DayOfDestinyDarkElfsFate 30862-08.html">"No no, just give me the stuff, and I'll transfer."</Button>
</body></html>

View File

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

View File

@@ -0,0 +1,3 @@
<html><body>Grand Master Oltrin:<br>
New destiny will open up your path.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Grand Master Oltrin:<br>
To complete this mission, you need to switch back to your previous class.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Oltlin:<br>
It would seem that you are not prepared to receive your new destiny. Come back to me again when you're fully qualified.<br>
(Only level 76+ Shillien Knights, Blade Dancers, Abyss Walkers, Wraith Rangers, Spellhowlers, Wraith Summoners, and Shillien Elder who have completed the second class transfer can take this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Grand Master Oltlin:<br>
There is nothing more I can do for you.<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 Q10343_DayOfDestinyDarkElfsFate 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 Q10343_DayOfDestinyDarkElfsFate 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 Q10343_DayOfDestinyDarkElfsFate 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 Q10343_DayOfDestinyDarkElfsFate 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,350 +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.Q10343_DayOfDestinyDarkElfsFate;
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: Dark Elf's Fate (10343)
* @author Mobius
*/
public class Q10343_DayOfDestinyDarkElfsFate extends Quest
{
// NPCs
private static final int OLTRAN = 30862;
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 = 17750;
// 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 Q10343_DayOfDestinyDarkElfsFate()
{
super(10343, Q10343_DayOfDestinyDarkElfsFate.class.getSimpleName(), "Day of Destiny: Dark Elf's Fate");
addStartNpc(OLTRAN);
addTalkId(OLTRAN, 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.DARK_ELF, "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 "30862-02.htm":
case "30862-03.htm":
case "30862-04.htm":
case "30862-06.html":
case "30862-07.html":
{
htmltext = event;
break;
}
case "30862-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 "30862-08.html":
{
if (qs.isCond(13))
{
switch (player.getClassId().getId())
{
// Shillien Knight -> Shillien Templar
case 33:
{
player.setBaseClassId(106);
player.setClassId(106);
break;
}
// Bladedancer -> Spectral Dancer
case 34:
{
player.setBaseClassId(107);
player.setClassId(107);
break;
}
// Abyss Walker -> Ghost Hunter
case 36:
{
player.setBaseClassId(108);
player.setClassId(108);
break;
}
// Phantom Ranger -> Ghost Sentinel
case 37:
{
player.setBaseClassId(109);
player.setClassId(109);
break;
}
// Spellhowler -> Storm Screamer
case 40:
{
player.setBaseClassId(110);
player.setClassId(110);
break;
}
// Phantom Summoner -> Spectral Master
case 41:
{
player.setBaseClassId(111);
player.setClassId(111);
break;
}
// Shillien Elder -> Shillien Saint
case 43:
{
player.setBaseClassId(112);
player.setClassId(112);
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 OLTRAN:
{
if (qs.isCond(1))
{
htmltext = "30862-05.html";
}
else if (qs.isCond(13))
{
htmltext = "30862-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() == OLTRAN) && !player.isSubClassActive() && !player.isDualClassActive() && (player.getClassId().level() == 2))
{
htmltext = "30862-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.DARK_ELF))
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
final NpcHtmlMessage html = new NpcHtmlMessage();
html.setHtml(HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "scripts/quests/Q10343_DayOfDestinyDarkElfsFate/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.Q10343_DayOfDestinyDarkElfsFate;
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: Dark Elf's Fate (10343)
* @author St3eT
*/
public final class Q10343_DayOfDestinyDarkElfsFate extends ThirdClassTransferQuest
{
// NPC
private static final int OLTRAN = 30862;
// Misc
private static final int MIN_LEVEL = 76;
private static final Race START_RACE = Race.DARK_ELF;
public Q10343_DayOfDestinyDarkElfsFate()
{
super(10343, MIN_LEVEL, START_RACE);
addStartNpc(OLTRAN);
addTalkId(OLTRAN);
addCondMinLevel(MIN_LEVEL, "30862-11.html");
addCondRace(START_RACE, "30862-11.html");
addCondInCategory(CategoryType.THIRD_CLASS_GROUP, "30862-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 "30862-02.htm":
case "30862-03.htm":
case "30862-04.htm":
case "30862-08.html":
{
htmltext = event;
break;
}
case "30862-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() == OLTRAN)
{
if (st.getState() == State.CREATED)
{
htmltext = "30862-01.htm";
}
else if (st.getState() == State.STARTED)
{
if (st.isCond(1))
{
htmltext = "30862-06.html";
}
else if (st.isCond(13))
{
htmltext = "30862-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">[ Ghost Hunter ]</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.DarkElf.DE303_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>
When there is one chance for a hit, let the Ghost Hunters take over. Their ability to force the enemy to turn their backs or increase accuracy makes them formidable opponents in PvP and superb damage dealers in groups.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Ghost Sentinel ]</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.DarkElf.DE304_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>
New skills for Ghost Sentinels are centered on physical damage in PvP. Though low in probability, their ability to take down an opponent in one hit can turn the tide of battle in an instant.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Shillien Saint ]</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.DarkElf.DE307_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>
As powerful party buffers, Shillien Saints have no attack spells of their own, but add their special touch onto attack magic and resistance buffs. Their healing is weaker than other healers, while their ability to keep a team alive and stable is superb.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Shillien Templar ]</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.DarkElf.DE301_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>
Descended from the legacy of Shillien Knights, Shillien Templars possess the former's strengths in terms of abnormal status debuffs and buffs that add onto magic attacks. Though a tank class, the Shillien Templar class wields attack skills, and makes for a powerful PvP fighter.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Spectral Dancer ]</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.DarkElf.DE302_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>
Spectral Dancers' group buffs enable steady teamwork and maximized damage-dealing as a group. As secondary buffers, their crisis management abilities have improved significantly, as in the case of momentarily petrifying nearby enemies.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Spectral Master ]</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.DarkElf.DE306_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>
Servitor-handlers themselves, Spectral Masters possess a number of critical servitor buffs. Their magic debuffs make them difficult PvP opponents, but their low magic defense requires assistance from other buffers. <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 Quest Q10343_DayOfDestinyDarkElfsFate" 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">[ Storm Screamer ]</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.DarkElf.DE305_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>
Storm Screamers are powerful magic damage dealers, who also excel in PvP. Though their skills either deal tremendous damage or momentarily maximize their magic potential, their flaws lie in their slow casting speed and large MP consumption. It would take strategy to use their skills well in battle.<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 Quest Q10343_DayOfDestinyDarkElfsFate" 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>Grand Master Oltran:<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">Dark Elf 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 Q10343_DayOfDestinyDarkElfsFate close_window">Close Window.</Button>
<html><body>Grand Master Oltran:<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">Dark Elf 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 Q10343_DayOfDestinyDarkElfsFate 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 Q10343_DayOfDestinyDarkElfsFate 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>