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>Head Blacksmith Ferris:<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 Q10345_DayOfDestinyDwarfsFate 30847-02.htm">"I'm ready!"</button>
<html><body>Head Blacksmith Ferris:<br>
Hmm, I see great potential in you, young one. You have it in you to be someone important in this world. I approve.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-02.htm">"How can you do that?"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Head Blacksmith Ferris:<br>
I have been given a divine revelation of a new destiny for all who are qualified to represent the Blacksmith Guild. I judge you to be qualified in all aspects.<br>
The Blacksmith Guild 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 Q10345_DayOfDestinyDwarfsFate 30847-03.htm">"What's the mission?"</button>
<html><body>Head Blacksmith Ferris:<br>
Life only gets harder as you get older. If you are patient and industrious, and see each challenge as a new chance to grow in body, soul and name, you will do well. Hahaha! Like me!<br>
Deep within my soul, I feel that you will become something special. A great dwarf who will bring great renowned upon us all. Now, I have a mission that I want you to take on. If you are successful I will help you reach new levels.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-03.htm">"What's the mission?"</Button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Head Blacksmith Ferris:<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 Q10345_DayOfDestinyDwarfsFate 30847-04.htm">"I accept with pride."</button>
<html><body>Head Blacksmith Ferris:<br>
Do you know about the region of Shilen's Seal, near the edge of Aden Castle? The Goddess of Destruction has opened her evil eyes, and is strengthening her dark powers. That place is already full of evil energy. Shilen's new monsters seem to be looking for an opportunity to take over Aden Castle.<br>
The Aden Vanguard has left to destroy the monsters in their underground lair near Shilen's Seal. We haven't heard from them since. We're about to send out a search party. Would you like to lead that team?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-04.htm">"I accept, with pride."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Head Blacksmith Ferris:<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 Q10345_DayOfDestinyDwarfsFate 30847-05.html">"Count me in."</button>
<html><body>Head Blacksmith Ferris:<br>
Chance favors those who are prepared, and lost chances don't come back around very often. If you finish this mission successfully, no one will question your qualification.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-05.htm">"Count me in."</Button>
</body></html>

View File

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

View File

@@ -1,3 +0,0 @@
<html><body>Head Blacksmith Ferris:<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>Head Blacksmith Ferris:<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 Q10345_DayOfDestinyDwarfsFate transfer_info">"Yeah, I do want to know more."</Button> -->
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-07.html">"No no, just give me the stuff, and I'll transfer."</Button>
<html><body>Head Blacksmith Ferris:<br>
I'll explain again about the mission. First, find the Aden Vanguard near Shilen's Seal and the Cemetary, and help them. The quartermaster will probably be waiting for you.
</body></html>

View File

@@ -1,4 +1,6 @@
<html><body>Head Blacksmith Ferris:<br>
So, you are ready? Absolutely sure?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-08.html">"I'm ready."</Button>
<html><body>Head Blacksmith Ferris:<br>
I knew you would do it! Adolph has tooted horn after horn for you. Thanks! It would have been embarrassing for me if you hadn't done well.<br>
So, are you interested in getting onto a new path? I can tell you more about if you want. Or skip to my gift?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate nextClassInfo">"Yeah, I do want to know more."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate 30847-08.html">"No no, just give me the stuff, and I'll transfer."</Button>
</body></html>

View File

@@ -1,3 +1,4 @@
<html><body>Head Blacksmith Ferris:<br>
New destiny will open up your path.
<html><body>Head Blacksmith Ferris:<br>
Ready for a class transfer?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10345_DayOfDestinyDwarfsFate classTransfer">"I'm ready."</Button>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Ferris:<br>
On behalf of your masters and the dwarves, I will lead you to the new path by granting you the blessing given by Goddess of the Earth.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Ferris:<br>
You must return to your original class before you can carry out this mission.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Ferris:<br>
Ah, young one, you are not yet qualified to walk down this path.<br>
(This quest can only be accessed by level 76 or above Bounty Hunters or Warsmiths who have completed a 2nd class transfer.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Ferris:<br>
There is nothing more I can do for you.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<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 +0,0 @@
<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>
</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 Q10345_DayOfDestinyDwarfsFate 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 Q10345_DayOfDestinyDwarfsFate 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 Q10345_DayOfDestinyDwarfsFate 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 Q10345_DayOfDestinyDwarfsFate 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,315 +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.Q10345_DayOfDestinyDwarfsFate;
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: Dwarf's Fate (10345)
* @author Mobius
*/
public class Q10345_DayOfDestinyDwarfsFate extends Quest
{
// NPCs
private static final int FERRIS = 30847;
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 = 17752;
// 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 Q10345_DayOfDestinyDwarfsFate()
{
super(10345, Q10345_DayOfDestinyDwarfsFate.class.getSimpleName(), "Day of Destiny: Dwarf's Fate");
addStartNpc(FERRIS);
addTalkId(FERRIS, 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.DWARF, "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 "30847-02.htm":
case "30847-03.htm":
case "30847-04.htm":
case "30847-06.html":
case "30847-07.html":
{
htmltext = event;
break;
}
case "30847-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 "30847-08.html":
{
if (qs.isCond(13))
{
switch (player.getClassId().getId())
{
// Bounty Hunter -> Fortune Seeker
case 55:
{
player.setBaseClassId(117);
player.setClassId(117);
break;
}
// Warsmith -> Maestro
case 57:
{
player.setBaseClassId(118);
player.setClassId(118);
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 FERRIS:
{
if (qs.isCond(1))
{
htmltext = "30847-05.html";
}
else if (qs.isCond(13))
{
htmltext = "30847-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() == FERRIS) && !player.isSubClassActive() && !player.isDualClassActive() && (player.getClassId().level() == 2))
{
htmltext = "30847-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.DWARF))
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
final NpcHtmlMessage html = new NpcHtmlMessage();
html.setHtml(HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "scripts/quests/Q10345_DayOfDestinyDwarfsFate/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.Q10345_DayOfDestinyDwarfsFate;
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: Dwarf's Fate (10345)
* @author St3eT
*/
public final class Q10345_DayOfDestinyDwarfsFate extends ThirdClassTransferQuest
{
// NPC
private static final int FERRIS = 30847;
// Misc
private static final int MIN_LEVEL = 76;
private static final Race START_RACE = Race.DWARF;
public Q10345_DayOfDestinyDwarfsFate()
{
super(10345, MIN_LEVEL, START_RACE);
addStartNpc(FERRIS);
addTalkId(FERRIS);
addCondMinLevel(MIN_LEVEL, "30847-11.html");
addCondRace(START_RACE, "30847-11.html");
addCondInCategory(CategoryType.THIRD_CLASS_GROUP, "30847-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 "30847-02.htm":
case "30847-03.htm":
case "30847-04.htm":
case "30847-08.html":
{
htmltext = event;
break;
}
case "30847-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() == FERRIS)
{
if (st.getState() == State.CREATED)
{
htmltext = "30847-01.htm";
}
else if (st.getState() == State.STARTED)
{
if (st.isCond(1))
{
htmltext = "30847-06.html";
}
else if (st.isCond(13))
{
htmltext = "30847-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">[ Fortune Seeker ]</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.Dwarf.DW301_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>
Improving on the play style of the Bounty Hunters, Fortune Seekers have stronger Spoil skills that now deal damage. Their various stun skills are effective through blunt weapons as well, making them not only powerful in hunting but in PvP as well.<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 Q10345_DayOfDestinyDwarfsFate" 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">[ Maestro ]</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.Dwarf.DW302_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 higher HP and CP than any other race, Maestros show impressive prowess in battle as well as in crafting. Their use of Mechanic Golems opens doors to a variety of tactics in PvP.<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 Q10345_DayOfDestinyDwarfsFate" 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>Head Blacksmith Ferris:<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">Blacksmith Shop</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 Q10345_DayOfDestinyDwarfsFate close_window">Close Window.</Button>
<html><body>Head Blacksmith Ferris:<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">Blacksmith</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 Q10345_DayOfDestinyDwarfsFate 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 Q10345_DayOfDestinyDwarfsFate 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>