Sync with L2jServer HighFive Sep 6th 2015.

This commit is contained in:
MobiusDev 2015-09-06 18:56:23 +00:00
parent f24f8a6503
commit 511c3da2ac
212 changed files with 2466 additions and 24 deletions

View File

@ -0,0 +1,5 @@
<html><body>Trader Holly:<br>
How did you know that I'm researching the history of the empire? I'm trying to convince everyone I'm just a pure and naive girl...<br>
History is my passion! My grandfather was also a researcher studying the history of the Elmoreden empire. I'm currently researching the genealogy of the royal family.<br>
If you come across any books dealing with that subject, please bring them to me. You wouldn't refuse an innocent and naive girl's request, would you? Well... I wouldn't ask you to do it for free... If bring me all the records of genealogy of the empire, I'll give you a few valuable relics my grandfather left me.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Trader Holly:<br>
Amazing! Please give it to me. Hmm... I knew it! Baium wasn't the last emperor of the Elmoreden empire! Although his reign was brief, Printes, Baium's son, ruled the empire. He eventually went missing somewhere in the Goddard region...
<br>Thank you for bringing me the book! I find it so fascinating! Here is your reward. If you find any other books like this, please bring them to me!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Warehouse Keeper Walderal:<br>
Recently, some fearless people have gone into the Tower of Insolence. They are frantically searching for ancient, secret treasure. We of the Gray Pillar Guild cannot be left out of what's going on in there. That tower was built by dwarves! We can't allow outsiders to plunder it! We already have a team in there, are you interested? Well, come to think of it, you don't look very experienced... I wouldn't want to have to haul your cold corpse out of there...<br>
(This quest may only be undertaken by a character of level 59 or above.)
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Warehouse Keeper Walderal:<br>
Recently, some fearless people have gone into the Tower of Insolence. They are frantically searching for ancient, secret treasure. We of the Gray Pillar Guild cannot be left out of what's going on in there. That tower was built by dwarves! We can't allow outsiders to plunder it! We already have a team in there.<br>
Ah, the mysteries of the Tower... How did our noble ancestors do it? It is said that the original blueprints are located somewhere in the tower. Would you be interested in recovering them for us?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-03.htm">"I'll do it."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Warehouse Keeper Walderal:<br>
Marvelous! In the middle section of the Tower of Insolence you will find monsters such as <font color="LEVEL">corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects, and messenger angels</font>. It is they who are in possession of the blueprints of the tower. Please recover the blueprints and bring them to me. In return, I will give you a very rare and precious recipe or ingredient. What do you say? Interested?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-04.htm">"I'll do it."</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Warehouse Keeper Walderal:<br>
All right! Then, off you go! Make sure to bring me back the blueprints. All I need to do is to complete the blueprint for the entire tower... Although you may find some other stuff, I promise I won't touch it. The objective of our guild is to obtain the technical knowledge that was used to build the Tower of Insolence!
</body></html>

View File

@ -0,0 +1,8 @@
<html><body>Warehouse Keeper Walderal:<br>
Did you find anything? Or perhaps you have a question?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-05a.html">"Tell me more about the Contract I signed."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-05b.html">"I have found many other things besides blueprints..."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07.html">"I've brought you all the blueprints for 13 floors of the Tower of Insolence."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-08.html">"I'll continue to look for more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-09.html">"I want out of the Contract."</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Warehouse Keeper Walderal:<br>
Are you OK? How did you forget so quickly? OK, once more. Listen carefully. Bring to me the blueprints of the Tower of Insolence. There are 13 of them.<br>
Take them from <font color="LEVEL">corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects and messenger angels</font>. You can keep anything else you find on them. All I want are the blueprints... If you're able to get and bring back the blueprints for all 13 floors, then, I will give you a very rare and precious recipe or ingredient.<br>
Is that clear? Now, please, get going.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-05.html">Back</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Warehouse Keeper Walderal:<br>
Hmm, a book, eh? Well, we're only interested in blueprints... Wait a minute..., come to think of it, I heard that Madam Claudia Athebaldt is looking for a book titled <font color="LEVEL">"Revelation of the Seals"</font>. It seems that Magister Desmond is searching for the same book. It must be important...<br>
Trader Holly in the Town of Aden also collects history books. She is especially interested in any documents related to <font color="LEVEL">imperial genealogy</font>.<br>
Patrin of the Town of Oren, the antiques dealer, is wild about <font color="LEVEL">epics</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-05.html">Back</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Warehouse Keeper Walderal:<br>
Unfortunately, blueprints for just a couple of floors are of no use to us. We must have the design of the entire structure to truly understand its mysteries. Please bring them all to us.
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Walderal:<br>
Let me see... Ah, the blueprints for all 13 floors! Excellent! Now we shall learn the secrets of the tower! One day the mighty Gray Pillar Guild will construct an even grander building! Thank you for your hard work. You'll be well-rewarded... I just received several different recipes and ingredients from the famous workshop of Maestro Reorin! Which type would you like?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07a.html">Dark Crystal</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07b.html">Tallum</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07c.html">Nightmare</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07d.html">Majestic</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Walderal:<br>
Here it is! This will be helpful if you're thinking of getting any A-Grade dark crystal equipment.<br>
By the way... I've heard that there are still copies of the blueprints for the Tower of Insolence available! Would you bring me some?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-11.html">"Here are some more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-08.html">"I'll look for more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-09.html">"I want to quit."</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Walderal:<br>
Here it is! This will be helpful if you're thinking of getting any A-Grade tallum equipment.<br>
By the way... I've heard that there are still copies of the blueprints for the Tower of Insolence available! Would you bring me some?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-11.html">"Here are some more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-08.html">"I'll look for more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-09.html">"I want to quit."</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Walderal:<br>
Here it is! This will be helpful if you're thinking of getting any A-Grade nightmare equipment.<br>
By the way... I've heard that there are still copies of the blueprints for the Tower of Insolence available! Would you bring me some?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-11.html">"Here are some more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-08.html">"I'll look for more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-09.html">"I want to quit."</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Walderal:<br>
Here it is! This will be helpful if you're thinking of getting any A-Grade majestic equipment.<br>
By the way... I've heard that there are still copies of the blueprints for the Tower of Insolence available! Would you bring me some?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-11.html">"Here are some more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-08.html">"I'll look for more blueprints."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-09.html">"I want to quit."</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Warehouse Keeper Walderal:<br>
What...? I thought you said you had more blueprints...?<br>
No, no... Just one or two floors won't be helpful at all. We must understand the structure of each floor systematically, which means knowing the weight-bearing walls, types of pillars and things like that... I must have blueprints for all 13 floors! Please continue to look for them.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Warehouse Keeper Walderal:<br>
Wonderful! These blueprints are actually in quite poor condition... I'd appreciate it very much if you could find some more and bring them to me! Get them from <font color="LEVEL">corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects and messenger angels</font>. I'll wait here.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Warehouse Keeper Walderal:<br>
Oh, really? Well, I can hardly blame you. Thank you for your help.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Warehouse Keeper Walderal:<br>
Oh, really? Please show it to me!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00372_LegacyOfInsolence 30844-07.html">Show him the blueprint for the Tower of Insolence.</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Magister Desmond:<br>
You're bringing the "Revelation of the Seals", aren't you? Here, let me see.<br>
What's this? You didn't bring them all! Go get the rest! I'll hold onto these for now. When you bring more, I'll send them to my superior! Then you shall receive your reward.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Magister Desmond:<br>
Is this the entire set of the "Revelation of the Seals"? Ah, yes! Give them here! Now I am so much closer to discovering the secret of the seven seals! Soon we, the Revolutionaries of Dusk, will rule the world!<br>
Here is your reward. If you find any more of these kind of books, bring them to me, do you understand?
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Antique Dealer Patrin:<br>
There's a rumor that you've been collecting old scrolls at the Tower of Insolence... Have you come across a scroll of ancient epic, written by a troubadour from the ancient era? If you have such an item, it could be of great value. Artistic value is quite subjective. It may look like someone's doodling to you, but to the trained eye, it could prove to be more valuable than precious stones. If you find such an epic, please bring it to me! I'll pay you very well for it.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Antique Dealer Patrin:<br>
Wow! Is this an ancient epic? What a find! I'll take it!<br>
I can pay you this much. If you find any more ancient epics, please bring them all to me. I will appraise them and give you the best possible prices.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Lady Claudia:<br>
Have you brought "The Revelation of the Seals"? Remember - once you've collect all seven books, bring them straight to me! The Lords of Dawn have very high expectations of you!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Lady Claudia:<br>
This is "The Revelation of the Seals"! Many wish to possess this book, my husband foremost among them....<br>
I appreciate your hard work and hope this reward shows you just how grateful I am to you.
</body></html>

View File

@ -0,0 +1,711 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q00372_LegacyOfInsolence;
import java.util.HashMap;
import java.util.Map;
import com.l2jserver.gameserver.enums.QuestSound;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.QuestItemHolder;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.util.Util;
/**
* Legacy Of Insolence (372)
* @author ivantotov
*/
public final class Q00372_LegacyOfInsolence extends Quest
{
// NPCs
private static final int TRADER_HOLLY = 30839;
private static final int WAREHOUSE_KEEPER_WALDERAL = 30844;
private static final int MAGISTER_DESMOND = 30855;
private static final int ANTIQUE_DEALER_PATRIN = 30929;
private static final int CLAUDIA_ATHEBALDT = 31001;
// Items
private static final int ANCIENT_RED_PAPYRUS = 5966;
private static final int ANCIENT_BLUE_PAPYRUS = 5967;
private static final int ANCIENT_BLACK_PAPYRUS = 5968;
private static final int ANCIENT_WHITE_PAPYRUS = 5969;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_AVARICE = 5972;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_GNOSIS = 5973;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_STRIFE = 5974;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_VENGEANCE = 5975;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_AWEKENING = 5976;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_CALAMITY = 5977;
private static final int REVELATION_OF_THE_SEALS_CHAPTER_OF_DESCENT = 5978;
private static final int ANCIENT_EPIC_CHAPTER_1 = 5979;
private static final int ANCIENT_EPIC_CHAPTER_2 = 5980;
private static final int ANCIENT_EPIC_CHAPTER_3 = 5981;
private static final int ANCIENT_EPIC_CHAPTER_4 = 5982;
private static final int ANCIENT_EPIC_CHAPTER_5 = 5983;
private static final int IMPERIAL_GENEALOGY_1 = 5984;
private static final int IMPERIAL_GENEALOGY_2 = 5985;
private static final int IMPERIAL_GENEALOGY_3 = 5986;
private static final int IMPERIAL_GENEALOGY_4 = 5987;
private static final int IMPERIAL_GENEALOGY_5 = 5988;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR = 5989;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR = 5990;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR = 5991;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR = 5992;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR = 5993;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR = 5994;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR = 5995;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR = 5996;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR = 5997;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR = 5998;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR = 5999;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR = 6000;
private static final int BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR = 6001;
// Rewards
private static final int RECIPE_SEALED_DARK_CRYSTAL_BOOTS_60 = 5368;
private static final int RECIPE_SEALED_TALLUM_BOOTS_60 = 5370;
private static final int RECIPE_SEALED_BOOTS_OF_NIGHTMARE_60 = 5380;
private static final int RECIPE_SEALED_MAJESTIC_BOOTS_60 = 5382;
private static final int RECIPE_SEALED_DARK_CRYSTAL_GLOVES_60 = 5392;
private static final int RECIPE_SEALED_TALLUM_GLOVES_60 = 5394;
private static final int RECIPE_SEALED_GAUNTLETS_OF_NIGHTMARE_60 = 5404;
private static final int RECIPE_SEALED_MAJESTIC_GAUNTLETS_60 = 5406;
private static final int RECIPE_SEALED_DARK_CRYSTAL_HELMET_60 = 5426;
private static final int RECIPE_SEALED_TALLUM_HELMET_60 = 5428;
private static final int RECIPE_SEALED_HELM_OF_NIGHTMARE_60 = 5430;
private static final int RECIPE_SEALED_MAJESTIC_CIRCLET_60 = 5432;
private static final int SEALED_DARK_CRYSTAL_BOOTS_LINING = 5496;
private static final int SEALED_TALLUM_BOOTS_LINING = 5497;
private static final int SEALED_BOOTS_OF_NIGHTMARE_LINING = 5502;
private static final int SEALED_MAJESTIC_BOOTS_LINING = 5503;
private static final int SEALED_DARK_CRYSTAL_GLOVES_DESIGN = 5508;
private static final int SEALED_TALLUM_GLOVES_DESIGN = 5509;
private static final int SEALED_GAUNTLETS_OF_NIGHTMARE_DESIGN = 5514;
private static final int SEALED_MAJESTIC_GAUNTLETS_DESIGN = 5515;
private static final int SEALED_DARK_CRYSTAL_HELMET_DESIGN = 5525;
private static final int SEALED_TALLUM_HELM_DESIGN = 5526;
private static final int SEALED_HELM_OF_NIGHTMARE_DESIGN = 5527;
private static final int SEALED_MAJESTIC_CIRCLET_DESIGN = 5528;
// Monsters
private static final int HALLATES_INSPECTOR = 20825;
private static final Map<Integer, QuestItemHolder> MONSTER_REWARDS = new HashMap<>();
static
{
MONSTER_REWARDS.put(20817, new QuestItemHolder(ANCIENT_RED_PAPYRUS, 302, 1));
MONSTER_REWARDS.put(20821, new QuestItemHolder(ANCIENT_RED_PAPYRUS, 410, 1));
MONSTER_REWARDS.put(HALLATES_INSPECTOR, new QuestItemHolder(ANCIENT_RED_PAPYRUS, 1, 447));
MONSTER_REWARDS.put(20829, new QuestItemHolder(ANCIENT_BLUE_PAPYRUS, 451, 1));
MONSTER_REWARDS.put(21062, new QuestItemHolder(ANCIENT_WHITE_PAPYRUS, 290, 1));
MONSTER_REWARDS.put(21069, new QuestItemHolder(ANCIENT_BLACK_PAPYRUS, 280, 1));
}
// Misc
private static final int MIN_LEVEL = 59;
public Q00372_LegacyOfInsolence()
{
super(372, Q00372_LegacyOfInsolence.class.getSimpleName(), "Legacy Of Insolence");
addStartNpc(WAREHOUSE_KEEPER_WALDERAL);
addTalkId(WAREHOUSE_KEEPER_WALDERAL, TRADER_HOLLY, MAGISTER_DESMOND, ANTIQUE_DEALER_PATRIN, CLAUDIA_ATHEBALDT);
addKillId(MONSTER_REWARDS.keySet());
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
final int chance = getRandom(100);
if (qs == null)
{
return super.onAdvEvent(event, npc, player);
}
String htmltext = null;
switch (event)
{
case "30844-04.htm":
{
if (qs.isCreated())
{
qs.startQuest();
htmltext = event;
}
break;
}
case "30844-07.html":
{
if (hasQuestItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR))
{
htmltext = event;
}
else
{
htmltext = "30844-06.html";
}
break;
}
case "30844-09.html":
{
qs.exitQuest(true, true);
htmltext = event;
break;
}
case "30844-07a.html":
{
if (hasQuestItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR))
{
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR, 1);
if (chance < 10)
{
giveItems(player, SEALED_DARK_CRYSTAL_BOOTS_LINING, 1);
}
else if (chance < 20)
{
giveItems(player, SEALED_DARK_CRYSTAL_GLOVES_DESIGN, 1);
}
else if (chance < 30)
{
giveItems(player, SEALED_DARK_CRYSTAL_HELMET_DESIGN, 1);
}
else if (chance < 40)
{
giveItems(player, SEALED_DARK_CRYSTAL_BOOTS_LINING, 1);
giveItems(player, SEALED_DARK_CRYSTAL_GLOVES_DESIGN, 1);
giveItems(player, SEALED_DARK_CRYSTAL_HELMET_DESIGN, 1);
}
else if (chance < 51)
{
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_BOOTS_60, 1);
}
else if (chance < 62)
{
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_GLOVES_60, 1);
}
else if (chance < 79)
{
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_HELMET_60, 1);
}
else if (chance < 100)
{
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_BOOTS_60, 1);
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_GLOVES_60, 1);
giveItems(player, RECIPE_SEALED_DARK_CRYSTAL_HELMET_60, 1);
}
htmltext = event;
}
else
{
htmltext = "30844-07e.html";
}
break;
}
case "30844-07b.html":
{
if (hasQuestItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR))
{
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR, 1);
if (chance < 10)
{
giveItems(player, SEALED_TALLUM_BOOTS_LINING, 1);
}
else if (chance < 20)
{
giveItems(player, SEALED_TALLUM_GLOVES_DESIGN, 1);
}
else if (chance < 30)
{
giveItems(player, SEALED_TALLUM_HELM_DESIGN, 1);
}
else if (chance < 40)
{
giveItems(player, SEALED_TALLUM_BOOTS_LINING, 1);
giveItems(player, SEALED_TALLUM_GLOVES_DESIGN, 1);
giveItems(player, SEALED_TALLUM_HELM_DESIGN, 1);
}
else if (chance < 51)
{
giveItems(player, RECIPE_SEALED_TALLUM_BOOTS_60, 1);
}
else if (chance < 62)
{
giveItems(player, RECIPE_SEALED_TALLUM_GLOVES_60, 1);
}
else if (chance < 79)
{
giveItems(player, RECIPE_SEALED_TALLUM_HELMET_60, 1);
}
else if (chance < 100)
{
giveItems(player, RECIPE_SEALED_TALLUM_BOOTS_60, 1);
giveItems(player, RECIPE_SEALED_TALLUM_GLOVES_60, 1);
giveItems(player, RECIPE_SEALED_TALLUM_HELMET_60, 1);
}
htmltext = event;
}
else
{
htmltext = "30844-07e.html";
}
break;
}
case "30844-07c.html":
{
if (hasQuestItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR))
{
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR, 1);
if (chance < 17)
{
giveItems(player, SEALED_BOOTS_OF_NIGHTMARE_LINING, 1);
}
else if (chance < 34)
{
giveItems(player, SEALED_GAUNTLETS_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 49)
{
giveItems(player, SEALED_HELM_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 58)
{
giveItems(player, SEALED_BOOTS_OF_NIGHTMARE_LINING, 1);
giveItems(player, SEALED_GAUNTLETS_OF_NIGHTMARE_DESIGN, 1);
giveItems(player, SEALED_HELM_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 70)
{
giveItems(player, RECIPE_SEALED_BOOTS_OF_NIGHTMARE_60, 1);
}
else if (chance < 82)
{
giveItems(player, RECIPE_SEALED_GAUNTLETS_OF_NIGHTMARE_60, 1);
}
else if (chance < 92)
{
giveItems(player, RECIPE_SEALED_HELM_OF_NIGHTMARE_60, 1);
}
else if (chance < 100)
{
giveItems(player, RECIPE_SEALED_BOOTS_OF_NIGHTMARE_60, 1);
giveItems(player, RECIPE_SEALED_GAUNTLETS_OF_NIGHTMARE_60, 1);
giveItems(player, RECIPE_SEALED_HELM_OF_NIGHTMARE_60, 1);
}
htmltext = event;
}
else
{
htmltext = "30844-07e.html";
}
break;
}
case "30844-07d.html":
{
if (hasQuestItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, //
BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR))
{
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_1ST_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_2ND_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_3RD_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_4TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_5TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_6TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_7TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_8TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_9TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_10TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_11TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_12TH_FLOOR, 1);
takeItems(player, BLUEPRINT_TOWER_OF_INSOLENCE_13TH_FLOOR, 1);
if (chance < 17)
{
giveItems(player, SEALED_MAJESTIC_BOOTS_LINING, 1);
}
else if (chance < 34)
{
giveItems(player, SEALED_MAJESTIC_GAUNTLETS_DESIGN, 1);
}
else if (chance < 49)
{
giveItems(player, SEALED_MAJESTIC_CIRCLET_DESIGN, 1);
}
else if (chance < 58)
{
giveItems(player, SEALED_MAJESTIC_BOOTS_LINING, 1);
giveItems(player, SEALED_MAJESTIC_GAUNTLETS_DESIGN, 1);
giveItems(player, SEALED_MAJESTIC_CIRCLET_DESIGN, 1);
}
else if (chance < 70)
{
giveItems(player, RECIPE_SEALED_MAJESTIC_BOOTS_60, 1);
}
else if (chance < 82)
{
giveItems(player, RECIPE_SEALED_MAJESTIC_GAUNTLETS_60, 1);
}
else if (chance < 92)
{
giveItems(player, RECIPE_SEALED_MAJESTIC_CIRCLET_60, 1);
}
else if (chance < 100)
{
giveItems(player, RECIPE_SEALED_MAJESTIC_BOOTS_60, 1);
giveItems(player, RECIPE_SEALED_MAJESTIC_GAUNTLETS_60, 1);
giveItems(player, RECIPE_SEALED_MAJESTIC_CIRCLET_60, 1);
}
htmltext = event;
}
else
{
htmltext = "30844-07e.html";
}
break;
}
case "30844-05b.html":
{
qs.setCond(2);
htmltext = event;
break;
}
case "30844-03.htm":
case "30844-05.html":
case "30844-05a.html":
case "30844-08.html":
case "30844-10.html":
case "30844-11.html":
{
htmltext = event;
break;
}
}
return htmltext;
}
@Override
public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
{
final QuestItemHolder item = MONSTER_REWARDS.get(npc.getId());
if (npc.getId() == HALLATES_INSPECTOR)
{
if (getRandom(1000) < item.getChance())
{
final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc);
if (qs != null)
{
giveItems(qs.getPlayer(), item.getId(), item.getCount());
playSound(qs.getPlayer(), QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
return super.onKill(npc, killer, isSummon);
}
if (Util.checkIfInRange(1500, npc, killer, true) && (getRandom(1000) < item.getChance()))
{
L2PcInstance rewardedPlayer = null;
if (!killer.isInParty())
{
final QuestState qs = getQuestState(killer, false);
if ((qs != null) && qs.isStarted())
{
rewardedPlayer = killer;
}
}
else
{
int chance = 0;
for (L2PcInstance partyMember : killer.getParty().getMembers())
{
final QuestState partyMemberQuestState = getQuestState(partyMember, false);
if ((partyMemberQuestState != null) && partyMemberQuestState.isStarted())
{
final int chance2 = getRandom(1000);
if (chance < chance2)
{
chance = chance2;
rewardedPlayer = partyMember;
}
}
}
}
if ((rewardedPlayer != null) && Util.checkIfInRange(1500, npc, rewardedPlayer, true))
{
giveItems(rewardedPlayer, item.getId(), item.getCount());
playSound(rewardedPlayer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
return super.onKill(npc, killer, isSummon);
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
final int chance = getRandom(100);
String htmltext = getNoQuestMsg(player);
if (qs.isCreated())
{
if (npc.getId() == WAREHOUSE_KEEPER_WALDERAL)
{
if (player.getLevel() < MIN_LEVEL)
{
htmltext = "30844-01.htm";
}
else
{
htmltext = "30844-02.htm";
}
}
}
else if (qs.isStarted())
{
switch (npc.getId())
{
case WAREHOUSE_KEEPER_WALDERAL:
{
htmltext = "30844-05.html";
break;
}
case TRADER_HOLLY:
{
if (hasQuestItems(player, IMPERIAL_GENEALOGY_1, IMPERIAL_GENEALOGY_2, IMPERIAL_GENEALOGY_3, IMPERIAL_GENEALOGY_4, IMPERIAL_GENEALOGY_5))
{
takeItems(player, IMPERIAL_GENEALOGY_1, 1);
takeItems(player, IMPERIAL_GENEALOGY_2, 1);
takeItems(player, IMPERIAL_GENEALOGY_3, 1);
takeItems(player, IMPERIAL_GENEALOGY_4, 1);
takeItems(player, IMPERIAL_GENEALOGY_5, 1);
if (chance < 30)
{
giveItems(player, SEALED_DARK_CRYSTAL_BOOTS_LINING, 1);
}
else if (chance < 60)
{
giveItems(player, SEALED_DARK_CRYSTAL_GLOVES_DESIGN, 1);
}
else if (chance < 80)
{
giveItems(player, SEALED_DARK_CRYSTAL_HELMET_DESIGN, 1);
}
else if (chance < 90)
{
giveItems(player, SEALED_DARK_CRYSTAL_BOOTS_LINING, 1);
giveItems(player, SEALED_DARK_CRYSTAL_GLOVES_DESIGN, 1);
giveItems(player, SEALED_DARK_CRYSTAL_HELMET_DESIGN, 1);
}
else if (chance < 100)
{
giveAdena(player, 4000, true);
}
htmltext = "30839-02.html";
}
else
{
htmltext = "30839-01.html";
}
break;
}
case MAGISTER_DESMOND:
{
if (hasQuestItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AVARICE, REVELATION_OF_THE_SEALS_CHAPTER_OF_GNOSIS, REVELATION_OF_THE_SEALS_CHAPTER_OF_STRIFE, //
REVELATION_OF_THE_SEALS_CHAPTER_OF_VENGEANCE, REVELATION_OF_THE_SEALS_CHAPTER_OF_AWEKENING, REVELATION_OF_THE_SEALS_CHAPTER_OF_CALAMITY, //
REVELATION_OF_THE_SEALS_CHAPTER_OF_DESCENT))
{
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AVARICE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_GNOSIS, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_STRIFE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_VENGEANCE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AWEKENING, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_CALAMITY, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_DESCENT, 1);
if (chance < 31)
{
giveItems(player, SEALED_MAJESTIC_BOOTS_LINING, 1);
}
else if (chance < 62)
{
giveItems(player, SEALED_MAJESTIC_GAUNTLETS_DESIGN, 1);
}
else if (chance < 75)
{
giveItems(player, SEALED_MAJESTIC_CIRCLET_DESIGN, 1);
}
else if (chance < 83)
{
giveItems(player, SEALED_MAJESTIC_BOOTS_LINING, 1);
giveItems(player, SEALED_MAJESTIC_GAUNTLETS_DESIGN, 1);
giveItems(player, SEALED_MAJESTIC_CIRCLET_DESIGN, 1);
}
else if (chance < 100)
{
giveAdena(player, 4000, true);
}
htmltext = "30855-02.html";
}
else
{
htmltext = "30855-01.html";
}
break;
}
case ANTIQUE_DEALER_PATRIN:
{
if (hasQuestItems(player, ANCIENT_EPIC_CHAPTER_1, ANCIENT_EPIC_CHAPTER_2, ANCIENT_EPIC_CHAPTER_3, ANCIENT_EPIC_CHAPTER_4, ANCIENT_EPIC_CHAPTER_5))
{
takeItems(player, ANCIENT_EPIC_CHAPTER_1, 1);
takeItems(player, ANCIENT_EPIC_CHAPTER_2, 1);
takeItems(player, ANCIENT_EPIC_CHAPTER_3, 1);
takeItems(player, ANCIENT_EPIC_CHAPTER_4, 1);
takeItems(player, ANCIENT_EPIC_CHAPTER_5, 1);
if (chance < 30)
{
giveItems(player, SEALED_TALLUM_BOOTS_LINING, 1);
}
else if (chance < 60)
{
giveItems(player, SEALED_TALLUM_GLOVES_DESIGN, 1);
}
else if (chance < 80)
{
giveItems(player, SEALED_TALLUM_HELM_DESIGN, 1);
}
else if (chance < 90)
{
giveItems(player, SEALED_TALLUM_BOOTS_LINING, 1);
giveItems(player, SEALED_TALLUM_GLOVES_DESIGN, 1);
giveItems(player, SEALED_TALLUM_HELM_DESIGN, 1);
}
else if (chance < 100)
{
giveAdena(player, 4000, true);
}
htmltext = "30929-02.html";
}
else
{
htmltext = "30929-02.html";
}
break;
}
case CLAUDIA_ATHEBALDT:
{
if (hasQuestItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AVARICE, REVELATION_OF_THE_SEALS_CHAPTER_OF_GNOSIS, REVELATION_OF_THE_SEALS_CHAPTER_OF_STRIFE, //
REVELATION_OF_THE_SEALS_CHAPTER_OF_VENGEANCE, REVELATION_OF_THE_SEALS_CHAPTER_OF_AWEKENING, REVELATION_OF_THE_SEALS_CHAPTER_OF_CALAMITY, //
REVELATION_OF_THE_SEALS_CHAPTER_OF_DESCENT))
{
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AVARICE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_GNOSIS, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_STRIFE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_VENGEANCE, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_AWEKENING, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_CALAMITY, 1);
takeItems(player, REVELATION_OF_THE_SEALS_CHAPTER_OF_DESCENT, 1);
if (chance < 31)
{
giveItems(player, SEALED_BOOTS_OF_NIGHTMARE_LINING, 1);
}
else if (chance < 62)
{
giveItems(player, SEALED_GAUNTLETS_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 75)
{
giveItems(player, SEALED_HELM_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 83)
{
giveItems(player, SEALED_BOOTS_OF_NIGHTMARE_LINING, 1);
giveItems(player, SEALED_GAUNTLETS_OF_NIGHTMARE_DESIGN, 1);
giveItems(player, SEALED_HELM_OF_NIGHTMARE_DESIGN, 1);
}
else if (chance < 100)
{
giveAdena(player, 4000, true);
}
htmltext = "31001-02.html";
}
else
{
htmltext = "31001-01.html";
}
break;
}
}
}
return htmltext;
}
}

View File

@ -104,6 +104,7 @@ import quests.Q00350_EnhanceYourWeapon.Q00350_EnhanceYourWeapon;
import quests.Q00357_WarehouseKeepersAmbition.Q00357_WarehouseKeepersAmbition;
import quests.Q00359_ForASleeplessDeadman.Q00359_ForASleeplessDeadman;
import quests.Q00371_ShrieksOfGhosts.Q00371_ShrieksOfGhosts;
import quests.Q00372_LegacyOfInsolence.Q00372_LegacyOfInsolence;
import quests.Q00373_SupplierOfReagents.Q00373_SupplierOfReagents;
import quests.Q00376_ExplorationOfTheGiantsCavePart1.Q00376_ExplorationOfTheGiantsCavePart1;
import quests.Q00377_ExplorationOfTheGiantsCavePart2.Q00377_ExplorationOfTheGiantsCavePart2;
@ -334,6 +335,7 @@ public class QuestMasterHandler
Q00357_WarehouseKeepersAmbition.class,
Q00359_ForASleeplessDeadman.class,
Q00371_ShrieksOfGhosts.class,
Q00372_LegacyOfInsolence.class,
Q00373_SupplierOfReagents.class,
Q00376_ExplorationOfTheGiantsCavePart1.class,
Q00377_ExplorationOfTheGiantsCavePart2.class,

View File

@ -1,6 +1,6 @@
<html><body>Grand Magister Jurek:<br>
Welcome! I am Grand Magister Jurek of the Wizards' Guild, and I am responsible for the education and training of Wizards. What has led you to this place?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ElfHumanWizardChange2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Grand Magister Arkenias:<br>
Glad to see you. It is my task to mold wizards into high-level sorcerers here in this Ivory Tower. Have you come to learn how to freely manipulate the power of the elements themselves?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest 30115_jurek_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ElfHumanWizardChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Grand Magister Valleria:<br>
Nice to meet you. I am Grand Magister Valleria, responsible for transforming Wizards into high-level Sorcerers here in this Ivory Tower. Hey, Did you come here to learn how to freely manipulates the power of the elements themselves?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest 30115_jurek_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ElfHumanWizardChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Moke:<br>
Hey there, traveler! Pleased to meet you; I am Warehouse Chief Moke of the Steel Door Guild here in Gludin. You've heard our motto, right? "Sell anything to anyone, anywhere." We'll travel to frozen wastes, burning deserts, even the dangerous volcanic zones of the north, for the sake of plying our trade. Ha! Who can match that? Tell me, my friend, have you come here in order to become a member of our guild?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange1">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Head Blacksmith Tapoy:<br>
I'm Head Blacksmith Tapoy of the Black Anvil Guild located here in Gludin territory. I'm sure that you already know of our reputation for producing highly skilled Artisans and Warsmiths. As we say back home, a Dwarven tribe without our guild is like a "a bee without honey" or an "Elf without his pride." Ha ha! So, what has brought you here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 1st Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1">"Can you tell me about the 1st Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Rikadio:<br>
Hey there, traveler! Pleased to meet you; I am Warehouse Chief Rikadio of the Steel Door Guild here in Gludin. You've heard our motto, right? "Sell anything to anyone, anywhere." We'll travel to frozen wastes, burning deserts, even the dangerous volcanic zones of the north, for the sake of plying our trade. Ha! Who can match that? Tell me, my friend, have you come here in order to become a member of our guild?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange1">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">"Use the coupon to exchange Reflection Weapons."</Button>

View File

@ -2,7 +2,7 @@
Welcome to Gludio! I'm Head Blacksmith Mendio of the Black Anvil Guild. Have we met before? Hmm?<br>
With all sincerity, I can honestly say that without the Black Anvil Guild human civilization would have stagnated! You don't believe me? Do you really think the races could wage war without blacksmiths? Not a chance! Without our siege golems and weapons, warriors would be flailing at each other with sticks and stones instead of solid steel!<br1>
Ah, my apologies for the lecture, sometimes I get a wee bit carried away. What can I do for you?<br>
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 1st Class Transfer?"</button>
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1">"Can you tell me about the 1st Class Transfer?"</button>
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest ProofOfJustice">"I want to use the Proof of Justice."</button>
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</button>
<button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</button>

View File

@ -1,7 +1,7 @@
<html><body>Warehouse Chief Gesto:<br>
I am Warehouse Chief Gesto of the Steel Door Guild here in Giran. Our motto is "We sell anything to anyone, anywhere." We travel to frozen wastes, deserts, even volcanic zones, to create prosperity for our Dwarven tribe. Who else can claim that?<br>
But you're a new face around here, I see. What can I do for you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange2">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,7 +1,7 @@
<html><body>Head Blacksmith Kusto:<br>
Well hello, stranger! I'm Head Blacksmith Kusto of the Black Anvil Guild. We're a trustworthy lot here. Unlike those Steel Door Guildies, our Guild is in it for more than just profits. We revel in the joy of creating something beautiful! To us, that takes precedence over the prospect of a few gold coins. The ability to bringing beauty and happiness into the light, now that's a worthwhile skill!<br>
So, what has brought you to my smithy, my friend? I'll gladly provide what help I can.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,7 +1,7 @@
<html><body>Warehouse Chief Ranspo:<br>
I'm Warehouse Chief Ranspo of the Steel Door Guild here in Gludin. Our motto is "Sell anything to anyone, anywhere." We'll travel to frozen wastes, burning deserts, even fiery volcanic zones, in order to sell our wares and create prosperity for our Dwarven tribe. Ha! Who else can say half as much?<br>
But you're a new face, hmm? I don't think we've met before. What do you want?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange1">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,7 +1,7 @@
<html><body>Head Blacksmith Opix:<br>
I'm Head Blacksmith Opix of the Black Anvil Guild here in the Gludin territory. In all sincerity, I can tell you that without the Black Anvil Guild, Human civilization would still be in a very primitive condition. Do you think the races could march out to war or lay siege to enemy cities without us? Not a chance! Without our siege golem and weapons, warriors would be forced to fight with sticks and stones instead of steel. How foolish would they seem then!<br>
Ah, but I didn't intend to lecture you. My apologies. What is the reason for your visit, then?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 1st Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1">"Can you tell me about the 1st Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Croop:<br>
I'm Warehouse Chief Croop of the Steel Door Guild. I deal with all the Scavengers who come into Oren, so naturally my skin's tougher than sheet metal these days!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange2">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Head Blacksmith Flutter:<br>
Me? I'm the Head Blacksmith of the Black Anvil Guild here in Oren. And yes, my name is Flutter. You wanna make something of it? Hmm? No. Good. So, what can I do for you? All these Artisans coming over for Warsmith class transfers have really been keeping us hopping lately.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Baxt:<br>
I am Warehouse Chief Baxt of the Iron Gate Guild here in Hunter Village. I'm in charge of transforming Scavengers into Bounty Hunters. I'm terribly busy these days dealing all the Scavengers who come to see me. Are you here to become a Bounty Hunter, too?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Head Blacksmith Vergara:<br>
I'm Head Blacksmith Vergara of the Black Anvil Guild here in Hunter Village. It's my job to take qualified Artisans and transform them into talented Warsmiths. If you want to make money, there's nothing better than being a Warsmith. Interested?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Grand Magister Scraide:<br>
Welcome! I am Grand Magister Scraide, in charge of transforming the Wizards in this guild into high level Sorcerers. Have you come here to learn how to wield elemental powers freely?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ElfHumanWizardChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Klump:<br>
Pleased to meet you. I am Warehouse Chief Klump of the Steel Door Guild. Giran is the center of our craft, of course, but the river of wealth that flows to us here in Aden Castle Town is scarcely less deep. Of course, here we focus more on decorative and artistic pieces rather than everyday items.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange2">"I'm looking for a class transfer."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,7 +1,7 @@
<html><body>Head Blacksmith Ferris:<br>
Aden Town used to be a teaming hub of blacksmith activities, especially during the war with Elmore always hovering on the horizon. Why in those days, ol' Tapoy of the Black Anvil Guild made a killing. He was able to retire in style. Bought a cute little cabin out by a lake and set up his own personal forge. Now that's the life!<br>
I thought that when wars were finally over I'd have some time to pursue my other interests, like knitting and free climbing, but I've been busier than ever lately. Sigh.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,7 +1,7 @@
<html><body>Grand Magister Drikiyan:<br>
Urrgh... my head. It must be true what they say about the Dreviant vintners putting spider venom in their wine. Penny-pinching sadists! Can't be that I drank too much, no. I would've, but that Sedrick must have drunk three bottles by himself...! That old Dwarvish geezer! And Desmo's no better! Deserves some kind of award for his champion drinking last night.<br>
Ugh, well... I'm Grand Master Drikiyan of the Magicians Guild of the town of Aden. I am Grand Master Drikiyan. I suppose I need to help you with something?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest elven_human_mystics_2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest ElfHumanWizardChange2">"Can you tell me about the 2nd Class Transfer?"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -1,6 +1,6 @@
<html><body>Warehouse Chief Natools:<br>
Hmm. The world is becoming more dangerous each day. You need guards just to transport cargo from Giran's port to the village! Here in Innadril, of course, merchandise can be unload, sorted and sold right in Heine... I pity poor Gesto in Giran; the center of commerce has clearly shifted to us now.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfWarehouseChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest.</Button>

View File

@ -1,6 +1,6 @@
<html><body>Head Blacksmith Roman:<br>
During Lionel Hunter's reign, Innadril was never engulfed by war. That great man singlehandedly defeated that frightful Fafurion's Golem army, you know... But now it seems as though that long-held peace is over. Just look at the orders for and sales of weaponry... Ah, trouble! And so those corrupt warmongers consider me a lazy Dwarf, because I dare to speak the truth no one else will face...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest dwarven_occupation_change">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2">Listen to information about second class transfer.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Clan">Clan.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest Alliance">Alliance.</Button>
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>

View File

@ -57,7 +57,12 @@ village_master/Clan/Clan.java
village_master/Alliance/Alliance.java
village_master/DarkElvenChange1/DarkElvenChange1.java
village_master/DarkElvenChange2/DarkElvenChange2.java
village_master/DwarfBlacksmithChange1/DwarfBlacksmithChange1.java
village_master/DwarfBlacksmithChange2/DwarfBlacksmithChange2.java
village_master/DwarfWarehouseChange1/DwarfWarehouseChange1.java
village_master/DwarfWarehouseChange2/DwarfWarehouseChange2.java
village_master/ElfHumanClericChange2/ElfHumanClericChange2.java
village_master/ElfHumanWizardChange2/ElfHumanWizardChange2.java
village_master/OrcChange1/OrcChange1.java
village_master/OrcChange2/OrcChange2.java

View File

@ -42,7 +42,6 @@ public final class DarkElvenChange2 extends Quest
30862, // Oltran
30910, // Xairakin
31285, // Samael
31331, // Valdis
31334, // Tifaren
31974, // Drizzit
32096, // Helminter

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Tapoy:<br>
To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. I can give you information about the professions. If you are a Dwarven Fighter, you can change profession to become an <font color="LEVEL">Artisan</font> or <font color="LEVEL">Scavenger</font>. Which profession do you want to know about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-02.htm">Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-04.htm">Scavenger</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Head Blacksmith Tapoy:<br>
The fundamental characteristics of Scavengers and <font color="LEVEL">Artisans</font> are that the Scavenger collects rare materials and the Artisan makes something valuable from those materials. In combat, Artisans use the golems that they make instead of risking their own bodies. They can actually produce items during combat, and therefore are invaluable during battles.<br>
Among Artisans, the best are selected to be <font color="LEVEL">Warsmiths</font>. Warsmith is an exalted profession with manufacturing skills of the highest level -- they can even make siege golems.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-03.htm">Ask about changing profession to an Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 56">Change profession to Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Head Blacksmith Tapoy:<br>
To qualify to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan.<br>
Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know all about it. After you have passed the test, come to me, and I will change your profession to an Artisan.<br>
Go to Gludio and use a Gatekeeper to get to the Dwarven village.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Tapoy:<br>
You there! Open your eyes! Can't you see that I teach Artisans? If you want to become a <font color="LEVEL">Scavenger</font> go to <font color="LEVEL">Chief Rikadio</font> in the warehouse. He will give you the information you need.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30499-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Tapoy:<br>
I am Head Blacksmith Tapoy of the Black Anvil Guild. The Black Anvil Guild is a proud guild that produces Dwarven Fighters and Artisans. You didn't come because you thought you could learn something from me, did you? Not just anyone can learn the skills that have been handed down in our race for 2,000 years. Now that you know, go back to waving your sword around and killing poor monsters.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Tapoy:<br>
You there! You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Tapoy:<br>
Haven't you already changed profession twice? Go do your duty -- catch a dragon and bring its scales or make a siege golem and take over a castle.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Tapoy:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession.<br>
It seems that you have admirably passed the Test of the Artisan, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not appropriate, even if you have passed the test. Come back when you raise your level.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Tapoy:<br>
Look here, didn't I tell you before? To obtain the qualifications to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan. You haven't done either one.<br>
Go and take the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about it. She is the judge of the first test. If you ask, she'll tell you everything you need to know. After you have passed the test and raised your level, come to me. I will change your profession to Artisan. You still have a long way to go.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Tapoy:<br>
Now you've finally become a proud member of the Black Anvil Guild! Increase your skills by learning from the other blacksmiths in the area. I hope you eventually become an Artisan capable of even manufacturing mighty siege golems! Well then, be on your way.<br>
Here is a small gift from our guild to help you on your journey. Take it to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a Shadow Weapon.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Tapoy:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession. To become an Artisan, you need a token to prove you have passed the Test of the Artisan, as well.<br>
I am satisfied with your level, but it seems you have not yet passed the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know. After you have passed the test, come to me. I will change your profession to Artisan.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>
You are limited to two occupational changes.<br>
You would be better served training yourself. Remember that strength flows from your mind, not your weapon.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Mendio:<br>
To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. I can give you information about the professions. If you are a Dwarven Fighter, you can change profession to become an <font color="LEVEL">Artisan</font> or <font color="LEVEL">Scavenger</font>. Which profession do you want to know about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-02.htm">Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-04.htm">Scavenger</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Head Blacksmith Mendio:<br>
The fundamental characteristics of Scavengers and <font color="LEVEL">Artisans</font> are that the Scavenger collects rare materials and the Artisan makes something valuable from those materials. In combat, Artisans use the golems that they make instead of risking their own bodies. They can actually produce items during combat, and therefore are invaluable during battles.<br>
Among Artisans, the best are selected to be <font color="LEVEL">Warsmiths</font>. Warsmith is an exalted profession with manufacturing skills of the highest level -- they can even make siege golems.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-03.htm">Ask about changing professions to an Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 56">Change profession to an Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Head Blacksmith Mendio:<br>
To qualify to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan.<br>
Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know all about it. After you have passed the test, come to me, and I will change your profession to an Artisan.<br>
Use a Gatekeeper to get to the Dwarven village.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
You there! Open your eyes! Can't you see that I teach Artisans? If you want to become a <font color="LEVEL">Scavenger</font> go to <font color="LEVEL">Chief Rikadio</font> in the warehouse. He will give you the information you need.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30504-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Mendio:<br>
I am Head Blacksmith Mendio of the Black Anvil Guild. The Black Anvil Guild is a proud guild that produces Dwarven Fighters and Artisans. Without the skills of the Black Anvil Guild, you would be holding clubs carved from wood instead of those fine weapons. You want to learn the skills and secrets of our guild? Not a chance! Now you've been told, so go out and kill some poor monster or something.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Mendio:<br>
You there! You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Mendio:<br>
Haven't you already changed profession twice? Then you cannot change again. Go help someone in need, or protect those who are weak.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession.<br>
It seems that you have admirably passed the Test of the Artisan, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not appropriate, even if you have passed the test. Come back when you raise your level.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
Look here, didn't I tell you before? To obtain the qualifications to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan. You haven't done either one.<br>
Go and take the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about it. She is the judge of the first test. If you ask, she'll tell you everything you need to know. After you have passed the test and raised your level, come to me. I will change your profession to Artisan. You still have a long way to go.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
Now you've finally become a proud member of the Black Anvil Guild! Increase your skills by learning from the other blacksmiths in the area. I hope you eventually become an Artisan capable of even manufacturing mighty siege golems! Well then, be on your way.<br>
Here is a small gift from our guild to help you on your journey. Take it to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a Shadow Weapon.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Mendio:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession. To become an Artisan, you need a token to prove you have passed the Test of the Artisan, as well.<br>
I am satisfied with your level, but it seems you have not yet passed the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know. After you have passed the test, come to me. I will change your profession to Artisan.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Opix:<br>
To change profession means that you have attained a certain degree of ability and experience, and may be promoted to a higher-level profession. I can give you information about the professions. If you are a Dwarven Fighter, you can change profession to become an <font color="LEVEL">Artisan</font> or <font color="LEVEL">Scavenger</font>. Which profession do you want to know about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-02.htm">Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-04.htm">Scavenger</Button>
</body></html>

View File

@ -0,0 +1,7 @@
<html><body>Head Blacksmith Opix:<br>
The fundamental characteristics of Scavengers and <font color="LEVEL">Artisans</font> are that the Scavenger collects rare materials and the Artisan makes something valuable from those materials. In combat, Artisans use the golems that they make instead of risking their own bodies. They can actually produce items during combat, and therefore are invaluable during battles.<br>
Among Artisans, the best are selected to be <font color="LEVEL">Warsmiths</font>. Warsmith is an exalted profession with manufacturing skills of the highest level -- they can even make siege golems.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-03.htm">Ask about changing profession to an Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 56">Change profession to an Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Head Blacksmith Opix:<br>
To qualify to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan.<br>
Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know all about it. After you have passed the test, come to me, and I will change your profession to an Artisan.<br>
Go to Gludio and use a Gatekeeper to get to the Dwarven village.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Opix:<br>
You there! Open your eyes! Can't you see that I teach Artisans? If you want to become a <font color="LEVEL">Scavenger</font> go to <font color="LEVEL">Chief Rikadio</font> in the warehouse. He will give you the information you need.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 30595-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Opix:<br>
I am Head Blacksmith Opix of the Black Anvil Guild. The Black Anvil Guild is a proud guild that produces Dwarven Fighters and Artisans. Without the skills of the Black Anvil Guild, you would be holding clubs carved from wood instead of those fine weapons. You want to learn the skills and secrets of our guild? Not a chance! Now you've been told, so go out and kills some poor monster or something.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Opix:<br>
You there! You cannot change profession, because you have already done so. Work hard to build on your skills, and in time you will be able to attain a still more advanced profession.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Opix:<br>
Haven't you already changed profession twice? Then you cannot change again. Go help someone in need, or protect those who are weak.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Opix:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession.<br>
It seems that you have admirably passed the Test of the Artisan, but your level is not high enough. Level 20 or higher is required to change profession. I cannot allow you to change profession if your level is not appropriate, even if you have passed the test. Come back when you raise your level.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Opix:<br>
Look here, didn't I tell you before? To meet the qualifications to become an Artisan, your level must be at least be 20 and you must pass the Test of the Artisan. You haven't done either one.<br>
Go and take the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about it. She is the judge of the first test. If you ask, she'll tell you everything you need to know. After you have passed the test and raised your level, come to me. I will change your profession to Artisan. You still have a long way to go.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Opix:<br>
Now you've finally become a proud member of the Black Anvil Guild! Increase your skills by learning from the other blacksmiths in the area. I hope you eventually become an Artisan capable of even manufacturing mighty siege golems! Well then, be on your way.<br>
Here is a small gift from our guild to help you on your journey. Take it to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you will be able to exchange it for a Shadow Weapon.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Opix:<br>
To become an Artisan, you need the appropriate level and token. Your level must be at least 20 to qualify to change profession. To become an Artisan, you need a token to prove you have passed the Test of the Artisan, as well.<br>
I am satisfied with your level, but it seems you have not yet passed the Test of the Artisan. Ask <font color="LEVEL">Blacksmith Silvera in the Dwarven village</font> about the Test of the Artisan. She is the judge of the first test. If you ask, she will tell you everything you need to know. After you have passed the test, come to me. I will change your profession to Artisan.
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Bolin:<br>
Ah yes, class transfer... It's simple, really! Once a person reaches a certain level of ability and experience, he can be promoted to a higher class. For instance, a Dwarven Fighter like you can become an <font color="LEVEL">Artisan</font> or a <font color="LEVEL">Scavenger</font>. If you insist, I can tell you about them...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-02.htm">Artisan</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-04.htm">Scavenger</Button>
</body></html>

View File

@ -0,0 +1,11 @@
<html><body>Head Blacksmith Bolin:<br>
<font color="LEVEL">Artisans</font> specialize in making items with materials brought to them by Scavengers and Bounty Hunters.<br>
Artisans lack the physical strength and fighting ability of Scavengers, but their creativity is exemplary. They are very sought-after during wartime, and they survive battle well since they send Siege Golems to the front line to do their fighting for them.<br>
The most elite Artisans become <font color="LEVEL">Warsmiths</font>.<br>
Scavengers are not my specialty, but I'll tell you what I know about them. They collect all sorts of materials for the manufacture of items.<br>
Scavengers must be ready to travel anywhere in the world at a moment's notice to obtain necessary materials, and sometimes even scavenge dead bodies for items.<br>
The most elite Scavengers become <font color="LEVEL">Bounty Hunters</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-03.htm">"Tell me how I can become an Artisan."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 56">"I want to become an Artisan."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>Head Blacksmith Bolin:<br>
Anyone wishing to become an Artisan must have achieved at least level 20 and passed the appropriate test.<br><font color="LEVEL">Blacksmith Silvery in the Dwarven Village</font> knows better than anyone else what you need to do to become an Artisan. I doubt you'll pass the test, but if you do, come back to see me! I'll make you an Artisan, no problem!<br>
By the way, Gatekeepers make long journeys much shorter and less complicated. You could get to the Dwarven Village in no time!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Bolin:<br>
You're confused! I teach Artisans, not Scavengers! If you want to be a <font color="LEVEL">Scavenger</font>, speak with <font color="LEVEL">Warehouse Chief Older</font> in the Warehouse.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange1 32093-01.htm">Return</Button>
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Bolin:<br>
My main job here is to teach Dwarven Fighters and Artisans. I don't know if you have heard, but our Black Anvil Guild possesses unparalleled arms manufacturing skills! You don't believe me, do you? You're an idiot! Run along! I don't have time for the likes of you!
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Bolin:<br>
Hey! Easy there! Don't you realize that you've already transferred classes once? Hmmm, you have pretty good skills, so you should plan to transfer class again someday! <font color="LEVEL">Head Blacksmith Newyear</font> over there is in charge of class transfer to the higher occupations. Go on, don't be such a coward!
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>Head Blacksmith Bolin:<br>
Transferring your class isn't everything, squirt! Don't loiter around, you're scaring off the customers! Don't you have anything better to do than bother me? You could be out collecting materials to make weapons, or making a Siege Golem for the battlefield...There are tons of things you can do!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Bolin:<br>
Look, you know good and well that you've got to be at least level 20 to become an Artisan!<br>
Did you think I wouldn't notice? Oh, you were badly mistaken, my friend! Come back to see me when you've had more experience and an upgraded level, I'll make you an Artisan even though you don't want it!
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Bolin:<br>
Not everyone who wants to become an Artisan can become one... Your level isn't 20 yet and you haven't even applied to take the test! I don't have time to waste on the likes of you! Get out!<br>
Oh, what a sad look! All right, I'll tell you again... To be an Artisan, you must raise your level and pass the appropriate test. Speak with <font color="LEVEL">Silvery in the Dwarven Village</font>. Come back to see me after you pass the test and I'll make you an Artisan! Understood?
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Bolin:<br>
Hmmph, you've finally become an artisan. Though you're not yet reliable, you're still a member of our Black Anvil Guild and responsible for upholding the honor and integrity of the guild. From here on out, my advice is that you focus on becoming the best artisan you can be. I'm telling you this a little late, but make sure you're diligent about learning skills from nearby blacksmiths.<br>
Here's a small gift for you from our guild. Take it to <font color="LEVEL">the Grand Master, Grand Magister, Master Trainer or High Priest who permits transfers in any major town</font> and you can exchange it for a usable Shadow Weapon.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Head Blacksmith Bolin:<br>
You know good and well that you must pass a test to become an Artisan!<br>
Your level is good enough, but you haven't passed the test! Speak with <font color="LEVEL">Silvery in the Dwarven Village</font>. You can't pass the test without her! Come back after you've passed the test.
</body></html>

View File

@ -0,0 +1,156 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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 village_master.DwarfBlacksmithChange1;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.enums.CategoryType;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.base.ClassId;
/**
* Dwarf class transfer AI.
* @author Adry_85
*/
public final class DwarfBlacksmithChange1 extends AbstractNpcAI
{
// NPCs
private static int[] NPCS =
{
30499, // Tapoy
30504, // Mendio
30595, // Opix
32093, // Bolin
};
// Items
private static final int SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE = 8869;
private static final int FINAL_PASS_CERTIFICATE = 1635;
// Class
private static final int ARTISAN = 56;
private DwarfBlacksmithChange1()
{
super(DwarfBlacksmithChange1.class.getSimpleName(), "village_master");
addStartNpc(NPCS);
addTalkId(NPCS);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = null;
switch (event)
{
case "30499-01.htm": // head_blacksmith_tapoy003f
case "30499-02.htm": // head_blacksmith_tapoy006fa
case "30499-03.htm": // head_blacksmith_tapoy007fa
case "30499-04.htm": // head_blacksmith_tapoy006fb
case "30504-01.htm": // head_blacksmith_mendio003f
case "30504-02.htm": // head_blacksmith_mendio006fa
case "30504-03.htm": // head_blacksmith_mendio007fa
case "30504-04.htm": // head_blacksmith_mendio006fb
case "30595-01.htm": // head_blacksmith_opix003f
case "30595-02.htm": // head_blacksmith_opix006fa
case "30595-03.htm": // head_blacksmith_opix007fa
case "30595-04.htm": // head_blacksmith_opix006fb
case "32093-01.htm": // head_blacksmith_boillin003f
case "32093-02.htm": // head_blacksmith_boillin006fa
case "32093-03.htm": // head_blacksmith_boillin007fa
case "32093-04.htm": // head_blacksmith_boillin006fb
{
htmltext = event;
break;
}
case "56":
{
htmltext = ClassChangeRequested(player, npc, Integer.valueOf(event));
break;
}
}
return htmltext;
}
private String ClassChangeRequested(L2PcInstance player, L2Npc npc, int classId)
{
String htmltext = null;
if (player.isInCategory(CategoryType.SECOND_CLASS_GROUP))
{
htmltext = npc.getId() + "-06.htm"; // fnYouAreSecondClass
}
else if (player.isInCategory(CategoryType.THIRD_CLASS_GROUP))
{
htmltext = npc.getId() + "-07.htm"; // fnYouAreThirdClass
}
else if (player.isInCategory(CategoryType.FOURTH_CLASS_GROUP))
{
htmltext = "30499-12.htm"; // fnYouAreFourthClass
}
else if ((classId == ARTISAN) && (player.getClassId() == ClassId.DWARVEN_FIGHTER))
{
if (player.getLevel() < 20)
{
if (hasQuestItems(player, FINAL_PASS_CERTIFICATE))
{
htmltext = npc.getId() + "-08.htm"; // fnLowLevel11
}
else
{
htmltext = npc.getId() + "-09.htm"; // fnLowLevelNoProof11
}
}
else if (hasQuestItems(player, FINAL_PASS_CERTIFICATE))
{
takeItems(player, FINAL_PASS_CERTIFICATE, -1);
player.setClassId(ARTISAN);
player.setBaseClass(ARTISAN);
// SystemMessage and cast skill is done by setClassId
player.broadcastUserInfo();
giveItems(player, SHADOW_ITEM_EXCHANGE_COUPON_D_GRADE, 15);
htmltext = npc.getId() + "-10.htm"; // fnAfterClassChange11
}
else
{
htmltext = npc.getId() + "-11.htm"; // fnNoProof11
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = null;
if (player.isInCategory(CategoryType.WARSMITH_GROUP))
{
htmltext = npc.getId() + "-01.htm"; // fnClassList1
}
else
{
htmltext = npc.getId() + "-05.htm"; // fnClassMismatch
}
return htmltext;
}
public static void main(String[] args)
{
new DwarfBlacksmithChange1();
}
}

View File

@ -0,0 +1,4 @@
<html><body>
You are limited to two occupational changes.<br>
You would be better served training yourself. Remember that strength flows from your mind, not your weapon.
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>
Occupations are changed as skill level and experience increase. An Artisan may change to a <font color="LEVEL">Warsmith</font>. Any others? I think not. You have chosen the path of production.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2 30512-03.htm">Warsmith</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>
The profession of Warsmith is a noble step up for an Artisan such as yourself!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2 30512-04.htm">Description of the Warsmith</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2 57">Change occupation to Warsmith.</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>
A Warsmith's mission is to create weapons of war. He is also a superb Summoner, having the strength to fight at the front alongside the golems he summons during war. Warsmiths are also the only Summoners capable of conjuring siege weapons.<br>
To advance to Warsmith your level must be over 40 and you must possess the Mark of the Guildsman, the Mark of Prosperity, and the Mark of the Maestro.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2 30512-05.htm">Ask about marks.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest DwarfBlacksmithChange2 30512-03.htm">Return</Button>
</body></html>

Some files were not shown because too many files have changed in this diff Show More