Jerian:
-Hm... Are you here to face Ranku and Demon Prince?
-You may want to listen to what I have to say.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-02.html b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-02.html
deleted file mode 100644
index d89e1d41d6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-02.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Jerian:
-Hm... Are you here to face Ranku and Demon Prince?
-Trust me, if I were you, I'd improve myself a little more first. Call it a little friendly advice on the house.
-(Only characters level 82 or above can take this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-03.htm b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-03.htm
deleted file mode 100644
index 999bd8c3e6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-03.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Jerian:
-The Teleport Device was created in order to transport visitors up to Ranku and Demon Prince instantly. It may sound strange, but it works rather well.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-04.htm b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-04.htm
deleted file mode 100644
index 7e81c7321b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-04.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Jerian:
-Yes, there is a way to break through the Force Field. You need to defeat four particular beasts in a particular order to harness their aura and fool the Tower of Infinitum into believing you to be one of its denizens.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-05.html b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-05.html
deleted file mode 100644
index 941cea9618..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-05.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Jerian:
-Alright, here's what you need to do. Defeat the Cosmic Scout, Cosmic Watcher, Cosmic Priest, and Cosmic Lord. You will pick up a fragment of their essence after defeating them. Assemble these parts and you will have a Seal Breaker, a stone that will allow you to travel directly to Ranku and Demon Prince by fooling the Tower's Seal into thinking you a devil.
-Bring the parts to me and I can convert them. Do you wish to enter now?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-06.html b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-06.html
deleted file mode 100644
index 7052ddf810..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-06.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Jerian:
-Defeat the Cosmic Scout, Cosmic Watcher, Cosmic Priest, and Cosmic Lord. You will pick up a fragment of their essence after defeating them. Assemble these parts and you will have a Seal Breaker, a stone that will allow you to travel directly to Ranku and Demon Prince by fooling the Tower's Seal into thinking you a devil.
-Bring the parts to me and I can convert them.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-07.html b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-07.html
deleted file mode 100644
index 65f852bafc..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-07.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Jerian:
-I hope you didn't come all the way back to me just to assemble the Seal Breaker. Ah well, you're here and I don't mind the visit, company is always pleasant. Give me the fragments and I'll make you a Seal Breaker.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-08.html b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-08.html
deleted file mode 100644
index 6f37f0198c..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/32302-08.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Jerian:
-Wait a moment, please...
-(As Jerian chants a spell you've never heard, the four fragments begin to float in the air rotating around one another until coming together in a bright flash. When the light fades, you see a red and blue stone floating back into Jerian's hands. It is a complete Seal Breaker.)
-Here, it is complete. Remember though, you can only use it once. When you pass through the Force Field, it will shatter.
-Good bye and good luck.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/Q00279_TargetOfOpportunity.java b/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/Q00279_TargetOfOpportunity.java
deleted file mode 100644
index 2df5c13f9a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00279_TargetOfOpportunity/Q00279_TargetOfOpportunity.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00279_TargetOfOpportunity;
-
-import java.util.Arrays;
-
-import com.l2jmobius.Config;
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * Target of Opportunity (279)
- * @author GKR
- */
-public final class Q00279_TargetOfOpportunity extends Quest
-{
- // NPCs
- private static final int JERIAN = 32302;
- private static final int[] MONSTERS =
- {
- 22373,
- 22374,
- 22375,
- 22376
- };
- // Items
- private static final int[] SEAL_COMPONENTS =
- {
- 15517,
- 15518,
- 15519,
- 15520
- };
- private static final int[] SEAL_BREAKERS =
- {
- 15515,
- 15516
- };
-
- public Q00279_TargetOfOpportunity()
- {
- super(279, Q00279_TargetOfOpportunity.class.getSimpleName(), "Target of Opportunity");
- addStartNpc(JERIAN);
- addTalkId(JERIAN);
- addKillId(MONSTERS);
- registerQuestItems(SEAL_COMPONENTS);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final String htmltext = event;
- final QuestState qs = getQuestState(player, false);
- if ((qs == null) || (player.getLevel() < 82))
- {
- return getNoQuestMsg(player);
- }
-
- if (event.equals("32302-05.html"))
- {
- qs.startQuest();
- qs.set("progress", "1");
- }
- else if (event.equals("32302-08.html") && (qs.getInt("progress") == 1) && hasQuestItems(player, SEAL_COMPONENTS[0]) && hasQuestItems(player, SEAL_COMPONENTS[1]) && hasQuestItems(player, SEAL_COMPONENTS[2]) && hasQuestItems(player, SEAL_COMPONENTS[3]))
- {
- giveItems(player, SEAL_BREAKERS[0], 1);
- giveItems(player, SEAL_BREAKERS[1], 1);
- qs.exitQuest(true, true);
- }
- return htmltext;
- }
-
- @Override
- public final String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
- {
- final L2PcInstance pl = getRandomPartyMember(player, "progress", "1");
- final int idx = Arrays.binarySearch(MONSTERS, npc.getId());
- if ((pl == null) || (idx < 0))
- {
- return null;
- }
-
- final QuestState qs = getQuestState(pl, false);
- if ((getRandom(1000) < (int) (311 * Config.RATE_QUEST_DROP)) && !hasQuestItems(player, SEAL_COMPONENTS[idx]))
- {
- giveItems(player, SEAL_COMPONENTS[idx], 1);
- if (haveAllExceptThis(player, idx))
- {
- qs.setCond(2, true);
- }
- else
- {
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- return null;
- }
-
- @Override
- public final String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- if (qs.getState() == State.CREATED)
- {
- htmltext = (player.getLevel() >= 82) ? "32302-01.htm" : "32302-02.html";
- }
- else if ((qs.getState() == State.STARTED) && (qs.getInt("progress") == 1))
- {
- htmltext = (hasQuestItems(player, SEAL_COMPONENTS[0]) && hasQuestItems(player, SEAL_COMPONENTS[1]) && hasQuestItems(player, SEAL_COMPONENTS[2]) && hasQuestItems(player, SEAL_COMPONENTS[3])) ? "32302-07.html" : "32302-06.html";
- }
- return htmltext;
- }
-
- private static boolean haveAllExceptThis(L2PcInstance player, int idx)
- {
- for (int i = 0; i < SEAL_COMPONENTS.length; i++)
- {
- if (i == idx)
- {
- continue;
- }
-
- if (!hasQuestItems(player, SEAL_COMPONENTS[i]))
- {
- return false;
- }
- }
- return true;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-01.htm b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-01.htm
deleted file mode 100644
index 77ab0f8515..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-01.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Guard Rath:
-The population of lizardmen on the north side of Oren is mysteriously growing. This must be related to the increase in the power of evil since the release of Antharas. There have been wild rumors of ghastly ceremonies held in the forest at night! The lizardmen are most likely under the direct control of Shilen, and these rituals no doubt strengthen the power of Antharas.....
-In the midst of all this turmoil, the guild has asked me to make the roads safe for trade! No doubt they feel that their village is threatened.
-But this is Oren Territory, and there will be problems if we send regular troops in... The captain has ordered me to mobilize mercenaries to stabilize the area. Will you join us?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-02.htm b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-02.htm
deleted file mode 100644
index 77968d0405..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-02.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Guard Rath:
-The population of lizardmen north of Oren is mysteriously growing. This must be related to the increase in the power of evil since the release of Antharas. There have been wild rumors of ghastly ceremonies held in the forest at night! The lizardmen are most likely under the direct control of Shilen, and these rituals no doubt strengthen the power of Antharas.....
-In the midst of all this turmoil, the guild has asked me to make the roads safe for trade! No doubt they feel that their village is threatened.
-But this is Oren Territory, and there will be problems if we send regular troops in... The captain has ordered me to mobilize mercenaries to stabilize the area, but I'm afraid you're not up to the job.
-(This quest may only be undertaken by characters of level 34 or above.)
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-03.htm b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-03.htm
deleted file mode 100644
index 80e97b083f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Guard Rath:
-Destroy the lizardmen and take their bracelets as proof of your victory.
-Kill the Leto Lizardmen, Leto Lizardman Archers, Leto Lizardman Soldiers, Leto Lizardman Overlords', Leto Lizardman Warriors and so on. Don't attack their shaman! It might cause them to stop the ritual before our investigation is complete. The ritual must not end until our investigation is complete!
-The guild had already sent me a reward for 60 bracelets. I'll give it to you as soon as you earn it.
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-04.html b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-04.html
deleted file mode 100644
index 6ce86aa8ce..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-04.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Guard Rath:
-Please try harder! You must get rid of those filthy lizardmen who threaten trade between Aden and Oren.
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-05.html b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-05.html
deleted file mode 100644
index b389ddaab6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-05.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Guard Rath:
-You're finished? Good work, but we're not done with those vile creatures yet! I'm sure the plains will be swarming with lizardmen again in a few short weeks. Now, let me count those bracelets.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-06.html b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-06.html
deleted file mode 100644
index 88d1b5ea5f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-06.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Guard Rath:
-Feel free to come back and help us anytime! The life of a mercenary may not pay well, but it has its rewards! Please accept this token of our appreciation.
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-07.html b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-07.html
deleted file mode 100644
index 8354dc0905..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/30126-07.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Guard Rath:
-I don't think so! You haven't brought enough! Bring 60 if you want a reward!
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/Q00300_HuntingLetoLizardman.java b/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/Q00300_HuntingLetoLizardman.java
deleted file mode 100644
index 6a1cabb821..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00300_HuntingLetoLizardman/Q00300_HuntingLetoLizardman.java
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00300_HuntingLetoLizardman;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.holders.ItemHolder;
-import com.l2jmobius.gameserver.model.itemcontainer.Inventory;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * Hunting Leto Lizardman (300)
- * @author ivantotov
- */
-public final class Q00300_HuntingLetoLizardman extends Quest
-{
- // NPCs
- private static final int RATH = 30126;
- // Items
- private static final int BRACELET_OF_LIZARDMAN = 7139;
- private static final ItemHolder REWARD_ADENA = new ItemHolder(Inventory.ADENA_ID, 30000);
- private static final ItemHolder REWARD_ANIMAL_BONE = new ItemHolder(1872, 50);
- private static final ItemHolder REWARD_ANIMAL_SKIN = new ItemHolder(1867, 50);
- // Misc
- private static final int MIN_LEVEL = 34;
- private static final int REQUIRED_BRACELET_COUNT = 60;
- // Monsters
- private static final Map MOBS_SAC = new HashMap<>();
- static
- {
- MOBS_SAC.put(20577, 360); // Leto Lizardman
- MOBS_SAC.put(20578, 390); // Leto Lizardman Archer
- MOBS_SAC.put(20579, 410); // Leto Lizardman Soldier
- MOBS_SAC.put(20580, 790); // Leto Lizardman Warrior
- MOBS_SAC.put(20582, 890); // Leto Lizardman Overlord
- }
-
- public Q00300_HuntingLetoLizardman()
- {
- super(300, Q00300_HuntingLetoLizardman.class.getSimpleName(), "Hunting Leto Lizardman");
- addStartNpc(RATH);
- addTalkId(RATH);
- addKillId(MOBS_SAC.keySet());
- registerQuestItems(BRACELET_OF_LIZARDMAN);
- }
-
- @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 "30126-03.htm":
- {
- if (qs.isCreated())
- {
- qs.startQuest();
- htmltext = event;
- }
- break;
- }
- case "30126-06.html":
- {
- if (getQuestItemsCount(player, BRACELET_OF_LIZARDMAN) >= REQUIRED_BRACELET_COUNT)
- {
- takeItems(player, BRACELET_OF_LIZARDMAN, -1);
- final int rand = getRandom(1000);
- if (rand < 500)
- {
- giveItems(player, REWARD_ADENA);
- }
- else if (rand < 750)
- {
- giveItems(player, REWARD_ANIMAL_SKIN);
- }
- else if (rand < 1000)
- {
- giveItems(player, REWARD_ANIMAL_BONE);
- }
- qs.exitQuest(true, true);
- htmltext = event;
- }
- else
- {
- htmltext = "30126-07.html";
- }
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
- {
- final L2PcInstance partyMember = getRandomPartyMember(player, 1);
- if (partyMember != null)
- {
- final QuestState qs = getQuestState(partyMember, false);
- if (qs.isCond(1) && (getRandom(1000) < MOBS_SAC.get(npc.getId())))
- {
- giveItems(partyMember, BRACELET_OF_LIZARDMAN, 1);
- if (getQuestItemsCount(partyMember, BRACELET_OF_LIZARDMAN) == REQUIRED_BRACELET_COUNT)
- {
- qs.setCond(2, true);
- }
- else
- {
- playSound(partyMember, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- }
- return super.onKill(npc, player, isSummon);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- switch (qs.getState())
- {
- case State.CREATED:
- {
- htmltext = (player.getLevel() >= MIN_LEVEL) ? "30126-01.htm" : "30126-02.htm";
- break;
- }
- case State.STARTED:
- {
- switch (qs.getCond())
- {
- case 1:
- {
- htmltext = "30126-04.html";
- break;
- }
- case 2:
- {
- if (getQuestItemsCount(player, BRACELET_OF_LIZARDMAN) >= REQUIRED_BRACELET_COUNT)
- {
- htmltext = "30126-05.html";
- }
- break;
- }
- }
- break;
- }
- }
- return htmltext;
- }
-}
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-01.htm b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-01.htm
deleted file mode 100644
index 837d0861bc..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-01.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Leopold:
-Currently, the Black Lion mercenaries are working for the lord of Gludio. They are in charge of getting rid of the remnants of Ol Mahum, who are still staying and causing problems in this land. They have been fighting against the remnants for several months.
-However, Ol Mahums are not savages like werewolves, but highly trained soldiers. They are very difficult to deal with, since they are well organized like regular armies. A few days ago, our Black Lion troop was shamefully defeated in close battle with Ol Mahums on the outskirts of Gludin. Many brothers lost their lives in combat. We are short of troops until the second platoon returns from the Wastelands in the south. I am very worried ... We may have to recruit some good fighters who will fight with us ...
-(Quest for characters level 21 and above.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-02.htm b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-02.htm
deleted file mode 100644
index a8762843ff..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Leopold:
-Currently, the Black Lion mercenaries are working for the lord of Gludio. They are in charge of getting rid of the remnants of Ol Mahum, who are still staying and causing problems in this land. They have been fighting against the remnants for several months.
-However, Ol Mahums are not savages like werewolves, but highly trained soldiers. They are very difficult to deal with, since they are well organized like regular armies.
-A few days ago, our Black Lion troop was shamefully defeated in a close battle with Ol Mahums on the outskirts of Gludin. Many brothers lost their lives in combat. We are short of troops until our brothers of the second platoon, who have been dispatched to the Wastelands in the south, return. So we have decided to recruit skilled fighters to temporarily fill our troop.
-From the scars on your armor and the way you hold your weapon, you seem like you have had a lot of experience on the field. What do you think? Won't you fight for the Black Lions? It is an opportunity to play a role in punishing the cruel Ol Mahum who have ruined this land.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-03.htm b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-03.htm
deleted file mode 100644
index 48e2d151c5..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-03.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Leopold:
-The Black Lion undoubtedly rewards its members according to skill and performance. You will be paid according to the number of enemies you kill. One condition, though, you must take the badge of ranking as a token of proof.
-Ol Mahum use badges in the shape of a cross, taking after the foreign troops of Gracia. Patrols and guards have red, suppliers, officers, and shooters have blue, and the generals and captains have Black Cross Badges. Naturally, you will receive a higher award depending on the rank of the Ol Mahum you killed.
-If you display great skills on the battlefield, you can become an official member of the Black Lions. For this, you must gather 100 badges of the Ol Mahum to prove your skills.
-Currently, Ol Mahum are camping in the abandoned camp. If you don't know how to get there, ask Guard Linus. Wonderful! Now get ready to depart, my comrade. Forward to victory!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-04.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-04.html
deleted file mode 100644
index 408e1f9eaa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-04.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Leopold:
-Comrade, how is the situation on the battlefield? As you have no badge of the Ol Mahum in your hand, I see your performance has not been good. If you think fighting against the Ol Mahum is too difficult for you, you can always quit. It is better for both of us if you acknowledge your limits instead of aiming too high.
-If you are thinking of continuing to fight Ol Mahums, I will give you some advice. As I already told you, the Ol Mahum may seem like savage beasts, but they have an organization that has been trained as well as any country's official army. Ol Mahums will help companions in danger, so you may have to face several Ol Mahums at once.
-Unless you form a troop like them, you have no choice but to approach them carefully and use guerilla tactics to deal with them one at a time. Knights may say it is a dishonorable way to fight, but it's quite an effective method.
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-05.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-05.html
deleted file mode 100644
index b50836df5e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-05.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Leopold:
-Welcome, comrade of the sword! Seeing you safely return from the scene of battle gives me great joy. The badges of the enemy in your hand show that the goddess of victory has smiled upon you.
-I received a letter that the brothers of the second platoon, who were dispatched to the south part of Gludio, will return later than planned. I will need more of your services for the time being.
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-06.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-06.html
deleted file mode 100644
index b271e19cfa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-06.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Leopold:
-Welcome, my comrade of the sword! I congratulate you on your safe return. How was your performance on the battlefield?
-How truly amazing! You have really brought me 100 badges! Magnificent! As I promised, I acknowledge you a member of the Black Lions. Because of our current situation, we cannot give you a proper joining ceremony, but instead, I give you this mark. The mark shows that you are a member of the proud Black Lions.
-I received a letter that the brothers of the second platoon, who were dispatched to the south part of Gludio, will return later than planned. You must go back to the battlefield and fight, comrade of the sword!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-07.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-07.html
deleted file mode 100644
index 5a2717d5ce..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-07.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Leopold:
-I am sorry, but if this is truly your will, I cannot stop you. However, the ties made as brothers of the sword are not easily broken ... We will meet again someday. May the goddess of victory be with you in all the battlefields that you walk upon!!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-08.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-08.html
deleted file mode 100644
index 670ea1ccad..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-08.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Leopold:
-Please continue your services, comrade of the sword. May the goddess of victory guide your sword and staff!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-09.html b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-09.html
deleted file mode 100644
index e153db2548..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/30435-09.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Leopold:
-Welcome, my comrade of the sword! I congratulate you on your safe return. How was your performance on the battlefield?
-How truly amazing! You brought back another hundred badges! Magnificent! Ha ha! You have already proven your skills and have been acknowledged as a member of the Black Lions, and yet you still amaze me!
-I received a letter that the brothers of the second platoon, who were dispatched to the south part of Gludio, will return later than planned. Our brothers here must hold on until they return. Go on back to the battlefield and fight, brother of the sword!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/Q00326_VanquishRemnants.java b/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/Q00326_VanquishRemnants.java
deleted file mode 100644
index a07d5e800b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00326_VanquishRemnants/Q00326_VanquishRemnants.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00326_VanquishRemnants;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * Vanquish Remnants (326)
- * @author xban1x
- */
-public final class Q00326_VanquishRemnants extends Quest
-{
- // NPC
- private static final int LEOPOLD = 30435;
- // Items
- private static final int RED_CROSS_BADGE = 1359;
- private static final int BLUE_CROSS_BADGE = 1360;
- private static final int BLACK_CROSS_BADGE = 1361;
- private static final int BLACK_LION_MARK = 1369;
- // Monsters
- private static final Map MONSTERS = new HashMap<>();
-
- //@formatter:off
- static
- {
- MONSTERS.put(20053, new int[] {61, RED_CROSS_BADGE}); // Ol Mahum Patrol
- MONSTERS.put(20058, new int[] {61, RED_CROSS_BADGE}); // Ol Mahum Guard
- MONSTERS.put(20061, new int[] {57, BLUE_CROSS_BADGE}); // Ol Mahum Remnants
- MONSTERS.put(20063, new int[] {63, BLUE_CROSS_BADGE}); // Ol Mahum Shooter
- MONSTERS.put(20066, new int[] {59, BLACK_CROSS_BADGE}); // Ol Mahum Captain
- MONSTERS.put(20436, new int[] {55, BLUE_CROSS_BADGE}); // Ol Mahum Supplier
- MONSTERS.put(20437, new int[] {59, RED_CROSS_BADGE}); // Ol Mahum Recruit
- MONSTERS.put(20438, new int[] {60, BLACK_CROSS_BADGE}); // Ol Mahum General
- MONSTERS.put(20439, new int[] {62, BLUE_CROSS_BADGE}); // Ol Mahum Officer
- }
- //@formatter:on
- // Misc
- private static final int MIN_LVL = 21;
-
- public Q00326_VanquishRemnants()
- {
- super(326, Q00326_VanquishRemnants.class.getSimpleName(), "Vanquish Remnants");
- addStartNpc(LEOPOLD);
- addTalkId(LEOPOLD);
- addKillId(MONSTERS.keySet());
- registerQuestItems(RED_CROSS_BADGE, BLUE_CROSS_BADGE, BLACK_CROSS_BADGE);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs != null)
- {
- switch (event)
- {
- case "30435-03.htm":
- {
- qs.startQuest();
- htmltext = event;
- break;
- }
- case "30435-07.html":
- {
- qs.exitQuest(true, true);
- htmltext = event;
- break;
- }
- case "30435-08.html":
- {
- htmltext = event;
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final QuestState qs = getQuestState(killer, false);
- if ((qs != null) && qs.isStarted() && (getRandom(100) < MONSTERS.get(npc.getId())[0]))
- {
- giveItems(killer, MONSTERS.get(npc.getId())[1], 1);
- playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- return super.onKill(npc, killer, isSummon);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, true);
- String htmltext = null;
- if (qs != null)
- {
- switch (qs.getState())
- {
- case State.CREATED:
- {
- htmltext = (player.getLevel() >= MIN_LVL) ? "30435-02.htm" : "30435-01.htm";
- break;
- }
- case State.STARTED:
- {
- final long red_badges = getQuestItemsCount(player, RED_CROSS_BADGE);
- final long blue_badges = getQuestItemsCount(player, BLUE_CROSS_BADGE);
- final long black_badges = getQuestItemsCount(player, BLACK_CROSS_BADGE);
- final long sum = red_badges + blue_badges + black_badges;
- if (sum > 0)
- {
- if ((sum >= 100) && !hasQuestItems(player, BLACK_LION_MARK))
- {
- giveItems(player, BLACK_LION_MARK, 1);
- }
- giveAdena(player, (red_badges * 46) + (blue_badges * 52) + (black_badges * 58) + ((sum >= 10) ? 4320 : 0), true);
- takeItems(player, -1, RED_CROSS_BADGE, BLUE_CROSS_BADGE, BLACK_CROSS_BADGE);
- htmltext = (sum >= 100) ? hasQuestItems(player, BLACK_LION_MARK) ? "30435-09.html" : "30435-06.html" : "30435-05.html";
- }
- else
- {
- htmltext = "30435-04.html";
- }
- break;
- }
- }
- }
- return htmltext;
- }
-}
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-01.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-01.htm
deleted file mode 100644
index 0fd633cefb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-Hello there, have you come to learn how to enhance the abilities of your weapon?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-02.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-02.htm
deleted file mode 100644
index 1e17f9307e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Grand Magister Jurek:
-I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...
-I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...
-I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...
-Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-03.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-03.htm
deleted file mode 100644
index 79f722dc91..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Magister Jurek:
-You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.
-It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-04.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-04.htm
deleted file mode 100644
index f082b2877f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-04.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Magister Jurek:
-Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.
-This weapons enhancement boosts strength noticeably in combat.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-05.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-05.htm
deleted file mode 100644
index 096375acab..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-05.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Grand Magister Jurek:
-To enhance a weapon you will need some magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you. You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.
-All blacksmiths know how to do this, but, obviously, they don't work for free.
-You can collect the souls of the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle. Enhanced weapons would greatly aid your mission.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-06.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-06.htm
deleted file mode 100644
index 7c119c46fb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-06.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Magister Jurek:
-After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched. Each soul crystal can contain up to 10 souls. A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.
-Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-07.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-07.htm
deleted file mode 100644
index 26bbefdcb4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-07.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Grand Magister Jurek:
-The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...
-Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.
-Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-08.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-08.htm
deleted file mode 100644
index c39caeb058..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-08.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Grand Magister Jurek:
-Please choose one of the following three types of crystals:
-
-
-
-Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-09.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-09.htm
deleted file mode 100644
index 566bfab3ff..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-09.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-10.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-10.htm
deleted file mode 100644
index 04c6ac98a3..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-10.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-11.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-11.htm
deleted file mode 100644
index bcbbfd77ae..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-11.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-12.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-12.htm
deleted file mode 100644
index b54f03d6d7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-12.htm
+++ /dev/null
@@ -1,11 +0,0 @@
-Grand Magister Jurek:
-From the following areas, which area's evil creatures would you like to obtain more information about?
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-13.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-13.htm
deleted file mode 100644
index 2f808003ab..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-13.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in northern Oren are the Timak Orcs.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-14.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-14.htm
deleted file mode 100644
index 74d78e8a6b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-14.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in the Forest of Mirrors are the Forest of Mirror ghosts, mirrors and Harit Lizardmen.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-15.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-15.htm
deleted file mode 100644
index 155e712f2a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-15.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in the Cave of Giants are the Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-16.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-16.htm
deleted file mode 100644
index a918814103..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-16.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in the Devastated Castle are the Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-17.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-17.htm
deleted file mode 100644
index 33cb671d15..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-17.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in the Tower of Insolence are the Erin Ediunce, members of the Platinum Tribe and their Angels.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-18.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-18.htm
deleted file mode 100644
index c679f856f4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-18.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that the most evil creatures in the Lair of Antharas are the Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-19.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-19.htm
deleted file mode 100644
index b0d58f16a3..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-19.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that all of the evil creatures inhabiting Eva's Underwater Garden are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-20.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-20.htm
deleted file mode 100644
index a6838c554a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-20.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Magister Jurek:
-It seems that all of the evil creatures inhabiting Devil's Isle are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-21.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-21.htm
deleted file mode 100644
index 08b6d51797..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30115-21.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Magister Jurek:
-How is your mission going? Oh, I see that you need a new crystal!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-01.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-01.htm
deleted file mode 100644
index 44db56a038..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-Hello there, have you come to learn how to enhance the abilities of your weapon?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-02.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-02.htm
deleted file mode 100644
index e0db1c6f9a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Master Gideon:
-I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...
-I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...
-I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...
-Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-03.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-03.htm
deleted file mode 100644
index 2c3a6e6920..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Master Gideon:
-You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.
-It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-04.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-04.htm
deleted file mode 100644
index 5ef011476e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-04.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Master Gideon:
-Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.
-This weapons enhancement boosts strength noticeably in combat.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-05.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-05.htm
deleted file mode 100644
index 537b3169aa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-05.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Master Gideon:
-To enhance a weapon you will need some magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you. You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.
-All blacksmiths know how to do this, but, obviously, they don't work for free.
-You can collect the souls of the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle. Enhanced weapons would greatly aid your mission.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-06.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-06.htm
deleted file mode 100644
index e5ed5dcebd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-06.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Master Gideon:
-After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched. Each soul crystal can contain up to 10 souls. A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.
-Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-07.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-07.htm
deleted file mode 100644
index 9b59409190..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-07.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Master Gideon:
-The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...
-Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.
-Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-08.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-08.htm
deleted file mode 100644
index 562dd061b0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-08.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Master Gideon:
-Please choose one of the following three types of crystals:
-
-
-
-Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-09.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-09.htm
deleted file mode 100644
index e2ca6757b4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-09.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-10.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-10.htm
deleted file mode 100644
index a78dff8cb5..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-10.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-11.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-11.htm
deleted file mode 100644
index 029dc6a8e2..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-11.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-12.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-12.htm
deleted file mode 100644
index 52741a7cc3..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-12.htm
+++ /dev/null
@@ -1,11 +0,0 @@
-Master Gideon:
-From the following areas, which area's evil creatures would you like to obtain more information about?
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-13.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-13.htm
deleted file mode 100644
index 2f8bfdb62f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-13.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in northern Oren are the Timak Orcs.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-14.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-14.htm
deleted file mode 100644
index 645e2cd7bd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-14.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in the Forest of Mirrors are the Forest of Mirror ghosts, mirrors and Harit Lizardmen.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-15.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-15.htm
deleted file mode 100644
index 82cfa10493..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-15.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in the Cave of Giants are the Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-16.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-16.htm
deleted file mode 100644
index e46643c68e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-16.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in the Devastated Castle are the Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-17.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-17.htm
deleted file mode 100644
index c4b51b5e62..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-17.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in the Tower of Insolence are the Erin Ediunce, members of the Platinum Tribe and their Angels.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-18.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-18.htm
deleted file mode 100644
index a624a26a48..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-18.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that the most evil creatures in the Lair of Antharas are the Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-19.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-19.htm
deleted file mode 100644
index 0a97707b77..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-19.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that all of the evil creatures inhabiting Eva's Underwater Garden are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-20.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-20.htm
deleted file mode 100644
index 87121bcbe1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-20.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Master Gideon:
-It seems that all of the evil creatures inhabiting Devil's Isle are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-21.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-21.htm
deleted file mode 100644
index a6dec8734b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30194-21.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Master Gideon:
-How is your mission going? Oh, I see that you need a new crystal!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-01.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-01.htm
deleted file mode 100644
index c037ce5777..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-Hello there, have you come to learn how to enhance the abilities of your weapon?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-02.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-02.htm
deleted file mode 100644
index 94e505438b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Magister Winonin:
-I have a growing sense of dread of late. Something terrible is coming. Can you hear it? The trees in the forest, the birds in the sky and the fish in the ocean...They know of what I speak...
-I fear for the survival of the whole Human race, but I don't know what threatens it! This dark foreboding will not give me any peace whatsoever. I hope I am wrong but I fear I am not...
-I must do what I can to save my race! I will find like-minded individuals to join my preperations for the coming apocolypse. If only we knew when...
-Will you join my cause? Are you willing to lend a hand in preparing to fight the imminent darkness?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-03.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-03.htm
deleted file mode 100644
index a0daa145c9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Magister Winonin:
-You must hurry and collect the souls of evil creatures in the soul crystal. You will find the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the higher reaches of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle etc...Take the crystal filled with souls to any blacksmith and he will enhance a weapon for you.
-It is imperative that you build as much strength as possible to prepare yourself for the coming apocolypse. After growing each of your individual strength, if you put together all of your strengths, I think you will have enough force to fight against the approaching apocolypse. Then, next time we meet, I hope to see you stronger...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-04.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-04.htm
deleted file mode 100644
index de4ff01ac6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-04.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Magister Winonin:
-Oh, marvelous! If we all develop our strengths and work together, we will triumph over the coming cataclysm. My colleagues and I have recently developed a method of enhancing weaponry that should prove quite useful to all of us.
-This weapons enhancement boosts strength noticeably in combat.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-05.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-05.htm
deleted file mode 100644
index b4683bbd13..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-05.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Magister Winonin:
-To enhance a weapon you will need some magical souls. You must collect the souls of evil creatures and trap them in the soul crystal I will give you. You will then take the crystal to a blacksmith and he will extract the magic from the crystal and apply it to a weapon for you.
-All blacksmiths know how to do this, but, obviously, they don't work for free.
-You can collect the souls of the evil ones in the northern part of Oren, the Forest of Mirrors, the Cave of Giants, the Devastated Castle, the upper floors of the Tower of Insolence, deep within the Lair of Antharas, Eva's Underwater Garden and Devil's Isle. Enhanced weapons would greatly aid your mission.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-06.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-06.htm
deleted file mode 100644
index b3aba3f692..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-06.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Magister Winonin:
-After you have sapped the evil one's strength in battle, apply the crystal to his skin. His soul will be absorbed into the crystal. His mortal body is easily dispatched. Each soul crystal can contain up to 10 souls. A more precise explanation would be that it can contain up to 10 souls with regular usage. I will tell you the detailed story later when you bring back the soul crystal with 10 souls.
-Actually, collecting souls for the purpose of bestowing a weapon with a special power is not as easy as it sounds.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-07.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-07.htm
deleted file mode 100644
index fc8bb001c8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-07.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Magister Winonin:
-The collection of a soul doesn't always go as planned. Some evil souls will simply not be absorbed, and, if you happen to collect the wrong soul, the crystal will shatter...
-Soul crystals develop refined tastes, and will reject weaker souls after a while. When this happens you must seek the souls of creatures of greater evil to satisfy your crystal.
-Remember that you may not absorb a soul with more than one crystal because a resonance effect is created between the crystals that prevents proper absorbtion.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-08.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-08.htm
deleted file mode 100644
index b2440240d8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-08.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Magister Winonin:
-Please choose one of the following three types of crystals:
-
-
-
-Each crystal bestows a different power upon the weapon it enhances, and the powers may vary from weapon to weapon.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-09.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-09.htm
deleted file mode 100644
index 8cc450aa93..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-09.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-Here is a red soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-10.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-10.htm
deleted file mode 100644
index c950f99c78..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-10.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-Here is a green soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-11.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-11.htm
deleted file mode 100644
index 7b4a1521ed..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-11.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-Here is a blue soul crystal. Collect souls into it and take it to a blacksmith along with the weapon you wish to enhance. The stronger the weapon, the more souls needed to enhance it.
-Next time we meet I hope you have gained more strength.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-12.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-12.htm
deleted file mode 100644
index 094603baef..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-12.htm
+++ /dev/null
@@ -1,11 +0,0 @@
-Magister Winonin:
-From the following areas, which area's evil creatures would you like to obtain more information about?
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-13.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-13.htm
deleted file mode 100644
index b86e2ecfc8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-13.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in northern Oren are the Timak Orcs.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-14.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-14.htm
deleted file mode 100644
index 0628d445ef..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-14.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in the Forest of Mirrors are the Forest of Mirror ghosts, mirrors and Harit Lizardmen.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-15.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-15.htm
deleted file mode 100644
index 33de9d589a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-15.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in the Cave of Giants are the Halingkas, Yintzus, Paliotes, Hamruts, and Kranrots.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-16.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-16.htm
deleted file mode 100644
index 129fd0bd89..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-16.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in the Devastated Castle are the Doom Servants, Doom Guards, Doom Archers, Doom Troopers, Doom Warriors, and Doom Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-17.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-17.htm
deleted file mode 100644
index 464e6bfcd1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-17.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in the Tower of Insolence are the Erin Ediunce, members of the Platinum Tribe and their Angels.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-18.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-18.htm
deleted file mode 100644
index 122b39a4d1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-18.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that the most evil creatures in the Lair of Antharas are the Malruk Knights, Malruk Berserkers, Malruk Lords, Limal Karinness, Kariks, Pytans, and Pytan Knights.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-19.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-19.htm
deleted file mode 100644
index c92ccb23aa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-19.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that all of the evil creatures inhabiting Eva's Underwater Garden are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-20.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-20.htm
deleted file mode 100644
index f39a795ceb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-20.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Winonin:
-It seems that all of the evil creatures inhabiting Devil's Isle are appropriate soul donors.
-Remember that you cannot fill your crystal with the souls of weaker creatures. The crystal develops a refined taste and demands souls of greater evil. If you notice that your crystal has stopped absorbing souls, seek out creatures of greater evil.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-21.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-21.htm
deleted file mode 100644
index e8488c89f6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/30856-21.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Magister Winonin:
-How is your mission going? Oh, I see that you need a new crystal!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java
deleted file mode 100644
index 8caa5ab44d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/Q00350_EnhanceYourWeapon.java
+++ /dev/null
@@ -1,657 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00350_EnhanceYourWeapon;
-
-import java.io.File;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.StringTokenizer;
-import java.util.logging.Level;
-
-import javax.xml.parsers.DocumentBuilderFactory;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-import com.l2jmobius.Config;
-import com.l2jmobius.gameserver.model.AbsorberInfo;
-import com.l2jmobius.gameserver.model.L2Object;
-import com.l2jmobius.gameserver.model.actor.L2Attackable;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
-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.model.skills.Skill;
-import com.l2jmobius.gameserver.network.SystemMessageId;
-import com.l2jmobius.gameserver.network.serverpackets.InventoryUpdate;
-import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
-
-/**
- * Enhance Your Weapon (350)
- * @author Gigiikun
- */
-public class Q00350_EnhanceYourWeapon extends Quest
-{
- private static enum AbsorbCrystalType
- {
- LAST_HIT,
- FULL_PARTY,
- PARTY_ONE_RANDOM,
- PARTY_RANDOM
- }
-
- private static final class LevelingInfo
- {
- private final AbsorbCrystalType _absorbCrystalType;
- private final boolean _isSkillNeeded;
- private final int _chance;
-
- public LevelingInfo(AbsorbCrystalType absorbCrystalType, boolean isSkillNeeded, int chance)
- {
- _absorbCrystalType = absorbCrystalType;
- _isSkillNeeded = isSkillNeeded;
- _chance = chance;
- }
-
- public final AbsorbCrystalType getAbsorbCrystalType()
- {
- return _absorbCrystalType;
- }
-
- public final int getChance()
- {
- return _chance;
- }
-
- public final boolean isSkillNeeded()
- {
- return _isSkillNeeded;
- }
- }
-
- private static final class SoulCrystal
- {
- private final int _level;
- private final int _itemId;
- private final int _leveledItemId;
-
- public SoulCrystal(int level, int itemId, int leveledItemId)
- {
- _level = level;
- _itemId = itemId;
- _leveledItemId = leveledItemId;
- }
-
- public final int getItemId()
- {
- return _itemId;
- }
-
- public final int getLevel()
- {
- return _level;
- }
-
- public final int getLeveledItemId()
- {
- return _leveledItemId;
- }
- }
-
- // NPCs
- private static final int[] STARTING_NPCS =
- {
- 30115,
- 30856,
- 30194
- };
- // Items
- private static final int RED_SOUL_CRYSTAL0_ID = 4629;
- private static final int GREEN_SOUL_CRYSTAL0_ID = 4640;
- private static final int BLUE_SOUL_CRYSTAL0_ID = 4651;
-
- private static final Map SOUL_CRYSTALS = new HashMap<>();
- // >
- private static final Map> NPC_LEVELING_INFO = new HashMap<>();
-
- public Q00350_EnhanceYourWeapon()
- {
- super(350, Q00350_EnhanceYourWeapon.class.getSimpleName(), "Enhance Your Weapon");
- addStartNpc(STARTING_NPCS);
- addTalkId(STARTING_NPCS);
- load();
- for (int npcId : NPC_LEVELING_INFO.keySet())
- {
- addSkillSeeId(npcId);
- addKillId(npcId);
- }
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final String htmltext = event;
- final QuestState qs = getQuestState(player, false);
- if (event.endsWith("-04.htm"))
- {
- qs.startQuest();
- }
- else if (event.endsWith("-09.htm"))
- {
- giveItems(player, RED_SOUL_CRYSTAL0_ID, 1);
- }
- else if (event.endsWith("-10.htm"))
- {
- giveItems(player, GREEN_SOUL_CRYSTAL0_ID, 1);
- }
- else if (event.endsWith("-11.htm"))
- {
- giveItems(player, BLUE_SOUL_CRYSTAL0_ID, 1);
- }
- else if (event.equalsIgnoreCase("exit.htm"))
- {
- qs.exitQuest(true);
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- if (npc.isAttackable() && NPC_LEVELING_INFO.containsKey(npc.getId()))
- {
- levelSoulCrystals((L2Attackable) npc, killer);
- }
-
- return null;
- }
-
- @Override
- public String onSkillSee(L2Npc npc, L2PcInstance caster, Skill skill, L2Object[] targets, boolean isSummon)
- {
- super.onSkillSee(npc, caster, skill, targets, isSummon);
-
- if ((skill == null) || (skill.getId() != 2096))
- {
- return null;
- }
- if ((caster == null) || caster.isDead())
- {
- return null;
- }
- if (!npc.isAttackable() || npc.isDead() || !NPC_LEVELING_INFO.containsKey(npc.getId()))
- {
- return null;
- }
-
- try
- {
- ((L2Attackable) npc).addAbsorber(caster);
- }
- catch (Exception e)
- {
- _log.log(Level.SEVERE, "", e);
- }
- return null;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- if (qs.getState() == State.CREATED)
- {
- qs.set("cond", "0");
- }
- if (qs.getInt("cond") == 0)
- {
- htmltext = npc.getId() + "-01.htm";
- }
- else if (check(player))
- {
- htmltext = npc.getId() + "-03.htm";
- }
- else if (!hasQuestItems(player, RED_SOUL_CRYSTAL0_ID) && !hasQuestItems(player, GREEN_SOUL_CRYSTAL0_ID) && !hasQuestItems(player, BLUE_SOUL_CRYSTAL0_ID))
- {
- htmltext = npc.getId() + "-21.htm";
- }
- return htmltext;
- }
-
- private static boolean check(L2PcInstance player)
- {
- for (int i = 4629; i < 4665; i++)
- {
- if (hasQuestItems(player, i))
- {
- return true;
- }
- }
- return false;
- }
-
- private static void exchangeCrystal(L2PcInstance player, L2Attackable mob, int takeid, int giveid, boolean broke)
- {
- L2ItemInstance Item = player.getInventory().destroyItemByItemId("SoulCrystal", takeid, 1, player, mob);
- if (Item != null)
- {
- // Prepare inventory update packet
- final InventoryUpdate playerIU = new InventoryUpdate();
- playerIU.addRemovedItem(Item);
-
- // Add new crystal to the killer's inventory
- Item = player.getInventory().addItem("SoulCrystal", giveid, 1, player, mob);
- playerIU.addItem(Item);
-
- // Send a sound event and text message to the player
- if (broke)
- {
- player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_BROKE_BECAUSE_IT_WAS_NOT_ABLE_TO_ENDURE_THE_SOUL_ENERGY);
- }
- else
- {
- player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_SUCCEEDED_IN_ABSORBING_A_SOUL);
- }
-
- // Send system message
- final SystemMessage sms = SystemMessage.getSystemMessage(SystemMessageId.YOU_HAVE_EARNED_S1);
- sms.addItemName(giveid);
- player.sendPacket(sms);
-
- // Send inventory update packet
- player.sendPacket(playerIU);
- }
- }
-
- private static SoulCrystal getSCForPlayer(L2PcInstance player)
- {
- final QuestState qs = player.getQuestState(Q00350_EnhanceYourWeapon.class.getSimpleName());
- if ((qs == null) || !qs.isStarted())
- {
- return null;
- }
-
- final L2ItemInstance[] inv = player.getInventory().getItems();
- SoulCrystal ret = null;
- for (L2ItemInstance item : inv)
- {
- final int itemId = item.getId();
- if (!SOUL_CRYSTALS.containsKey(itemId))
- {
- continue;
- }
-
- if (ret != null)
- {
- return null;
- }
- ret = SOUL_CRYSTALS.get(itemId);
- }
- return ret;
- }
-
- private static boolean isPartyLevelingMonster(int npcId)
- {
- for (LevelingInfo li : NPC_LEVELING_INFO.get(npcId).values())
- {
- if (li.getAbsorbCrystalType() != AbsorbCrystalType.LAST_HIT)
- {
- return true;
- }
- }
- return false;
- }
-
- private static void levelCrystal(L2PcInstance player, SoulCrystal sc, L2Attackable mob)
- {
- if ((sc == null) || !NPC_LEVELING_INFO.containsKey(mob.getId()))
- {
- return;
- }
-
- // If the crystal level is way too high for this mob, say that we can't increase it
- if (!NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
- {
- player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_IS_REFUSING_TO_ABSORB_THE_SOUL);
- return;
- }
-
- if (getRandom(100) <= NPC_LEVELING_INFO.get(mob.getId()).get(sc.getLevel()).getChance())
- {
- exchangeCrystal(player, mob, sc.getItemId(), sc.getLeveledItemId(), false);
- }
- else
- {
- player.sendPacket(SystemMessageId.THE_SOUL_CRYSTAL_WAS_NOT_ABLE_TO_ABSORB_THE_SOUL);
- }
- }
-
- /**
- * Calculate the leveling chance of Soul Crystals based on the attacker that killed this L2Attackable
- * @param mob
- * @param killer The player that last killed this L2Attackable $ Rewrite 06.12.06 - Yesod $ Rewrite 08.01.10 - Gigiikun
- */
- private static void levelSoulCrystals(L2Attackable mob, L2PcInstance killer)
- {
- // Only L2PcInstance can absorb a soul
- if (killer == null)
- {
- mob.resetAbsorbList();
- return;
- }
-
- final Map players = new HashMap<>();
- int maxSCLevel = 0;
-
- // TODO: what if mob support last_hit + party?
- if (isPartyLevelingMonster(mob.getId()) && (killer.getParty() != null))
- {
- // firts get the list of players who has one Soul Cry and the quest
- for (L2PcInstance pl : killer.getParty().getMembers())
- {
- if (pl == null)
- {
- continue;
- }
-
- final SoulCrystal sc = getSCForPlayer(pl);
- if (sc == null)
- {
- continue;
- }
-
- players.put(pl, sc);
- if ((maxSCLevel < sc.getLevel()) && NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
- {
- maxSCLevel = sc.getLevel();
- }
- }
- }
- else
- {
- final SoulCrystal sc = getSCForPlayer(killer);
- if (sc != null)
- {
- players.put(killer, sc);
- if ((maxSCLevel < sc.getLevel()) && NPC_LEVELING_INFO.get(mob.getId()).containsKey(sc.getLevel()))
- {
- maxSCLevel = sc.getLevel();
- }
- }
- }
- // Init some useful vars
- final LevelingInfo mainlvlInfo = NPC_LEVELING_INFO.get(mob.getId()).get(maxSCLevel);
-
- if (mainlvlInfo == null)
- {
- /* throw new NullPointerException("Target: "+mob+ " player: "+killer+" level: "+maxSCLevel); */
- return;
- }
-
- // If this mob is not require skill, then skip some checkings
- if (mainlvlInfo.isSkillNeeded())
- {
- // Fail if this L2Attackable isn't absorbed or there's no one in its _absorbersList
- if (!mob.isAbsorbed() /* || _absorbersList == null */)
- {
- mob.resetAbsorbList();
- return;
- }
-
- // Fail if the killer isn't in the _absorbersList of this L2Attackable and mob is not boss
- final AbsorberInfo ai = mob.getAbsorbersList().get(killer.getObjectId());
- boolean isSuccess = (ai != null) && (ai.getObjectId() == killer.getObjectId());
- // Check if the soul crystal was used when HP of this L2Attackable wasn't higher than half of it
- if ((ai != null) && (ai.getAbsorbedHp() > (mob.getMaxHp() / 2.0)))
- {
- isSuccess = false;
- }
-
- if (!isSuccess)
- {
- mob.resetAbsorbList();
- return;
- }
- }
-
- switch (mainlvlInfo.getAbsorbCrystalType())
- {
- case PARTY_ONE_RANDOM:
- {
- // This is a naive method for selecting a random member. It gets any random party member and
- // then checks if the member has a valid crystal. It does not select the random party member
- // among those who have crystals, only. However, this might actually be correct (same as retail).
- if (killer.getParty() != null)
- {
- final L2PcInstance lucky = killer.getParty().getMembers().get(getRandom(killer.getParty().getMemberCount()));
- levelCrystal(lucky, players.get(lucky), mob);
- }
- else
- {
- levelCrystal(killer, players.get(killer), mob);
- }
- break;
- }
- case PARTY_RANDOM:
- {
- if (killer.getParty() != null)
- {
- final List luckyParty = new ArrayList<>(killer.getParty().getMembers());
- while ((getRandom(100) < 33) && !luckyParty.isEmpty())
- {
- final L2PcInstance lucky = luckyParty.remove(getRandom(luckyParty.size()));
- if (players.containsKey(lucky))
- {
- levelCrystal(lucky, players.get(lucky), mob);
- }
- }
- }
- else if (getRandom(100) < 33)
- {
- levelCrystal(killer, players.get(killer), mob);
- }
- break;
- }
- case FULL_PARTY:
- {
- if (killer.getParty() != null)
- {
- for (L2PcInstance pl : killer.getParty().getMembers())
- {
- levelCrystal(pl, players.get(pl), mob);
- }
- }
- else
- {
- levelCrystal(killer, players.get(killer), mob);
- }
- break;
- }
- case LAST_HIT:
- {
- levelCrystal(killer, players.get(killer), mob);
- break;
- }
- }
- }
-
- /**
- * TODO: Implement using DocumentParser.
- */
- private static void load()
- {
- try
- {
- final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
- factory.setValidating(false);
- factory.setIgnoringComments(true);
-
- final File file = new File(Config.DATAPACK_ROOT, "LevelUpCrystalData.xml");
- if (!file.exists())
- {
- _log.severe("[EnhanceYourWeapon] Missing LevelUpCrystalData.xml. The quest wont work without it!");
- return;
- }
-
- final Document doc = factory.newDocumentBuilder().parse(file);
- final Node first = doc.getFirstChild();
- if ((first != null) && "list".equalsIgnoreCase(first.getNodeName()))
- {
- for (Node n = first.getFirstChild(); n != null; n = n.getNextSibling())
- {
- if ("crystal".equalsIgnoreCase(n.getNodeName()))
- {
- for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling())
- {
- if ("item".equalsIgnoreCase(d.getNodeName()))
- {
- final NamedNodeMap attrs = d.getAttributes();
- Node att = attrs.getNamedItem("itemId");
- if (att == null)
- {
- _log.severe("[EnhanceYourWeapon] Missing itemId in Crystal List, skipping");
- continue;
- }
- final int itemId = Integer.parseInt(attrs.getNamedItem("itemId").getNodeValue());
-
- att = attrs.getNamedItem("level");
- if (att == null)
- {
- _log.severe("[EnhanceYourWeapon] Missing level in Crystal List itemId: " + itemId + ", skipping");
- continue;
- }
- final int level = Integer.parseInt(attrs.getNamedItem("level").getNodeValue());
-
- att = attrs.getNamedItem("leveledItemId");
- if (att == null)
- {
- _log.severe("[EnhanceYourWeapon] Missing leveledItemId in Crystal List itemId: " + itemId + ", skipping");
- continue;
- }
- SOUL_CRYSTALS.put(itemId, new SoulCrystal(level, itemId, Integer.parseInt(attrs.getNamedItem("leveledItemId").getNodeValue())));
- }
- }
- }
- else if ("npc".equalsIgnoreCase(n.getNodeName()))
- {
- for (Node d = n.getFirstChild(); d != null; d = d.getNextSibling())
- {
- if ("item".equalsIgnoreCase(d.getNodeName()))
- {
- NamedNodeMap attrs = d.getAttributes();
- Node att = attrs.getNamedItem("npcId");
- if (att == null)
- {
- _log.severe("[EnhanceYourWeapon] Missing npcId in NPC List, skipping");
- continue;
- }
-
- final int npcId = Integer.parseInt(att.getNodeValue());
- final Map temp = new HashMap<>();
- for (Node cd = d.getFirstChild(); cd != null; cd = cd.getNextSibling())
- {
- boolean isSkillNeeded = false;
- int chance = 5;
- AbsorbCrystalType absorbType = AbsorbCrystalType.LAST_HIT;
-
- if ("detail".equalsIgnoreCase(cd.getNodeName()))
- {
- attrs = cd.getAttributes();
-
- att = attrs.getNamedItem("absorbType");
- if (att != null)
- {
- absorbType = Enum.valueOf(AbsorbCrystalType.class, att.getNodeValue());
- }
-
- att = attrs.getNamedItem("chance");
- if (att != null)
- {
- chance = Integer.parseInt(att.getNodeValue());
- }
-
- att = attrs.getNamedItem("skill");
- if (att != null)
- {
- isSkillNeeded = Boolean.parseBoolean(att.getNodeValue());
- }
-
- final Node att1 = attrs.getNamedItem("maxLevel");
- final Node att2 = attrs.getNamedItem("levelList");
- if ((att1 == null) && (att2 == null))
- {
- _log.severe("[EnhanceYourWeapon] Missing maxlevel/levelList in NPC List npcId: " + npcId + ", skipping");
- continue;
- }
- final LevelingInfo info = new LevelingInfo(absorbType, isSkillNeeded, chance);
- if (att1 != null)
- {
- final int maxLevel = Integer.parseInt(att1.getNodeValue());
- for (int i = 0; i <= maxLevel; i++)
- {
- temp.put(i, info);
- }
- }
- else if (att2 != null)
- {
- final StringTokenizer st = new StringTokenizer(att2.getNodeValue(), ",");
- final int tokenCount = st.countTokens();
- for (int i = 0; i < tokenCount; i++)
- {
- Integer value = Integer.decode(st.nextToken().trim());
- if (value == null)
- {
- _log.severe("[EnhanceYourWeapon] Bad Level value!! npcId: " + npcId + " token: " + i);
- value = 0;
- }
- temp.put(value, info);
- }
- }
- }
- }
-
- if (temp.isEmpty())
- {
- _log.severe("[EnhanceYourWeapon] No leveling info for npcId: " + npcId + ", skipping");
- continue;
- }
- NPC_LEVELING_INFO.put(npcId, temp);
- }
- }
- }
- }
- }
- }
- catch (Exception e)
- {
- _log.log(Level.WARNING, "[EnhanceYourWeapon] Could not parse LevelUpCrystalData.xml file: " + e.getMessage(), e);
- }
- _log.info("[EnhanceYourWeapon] Loaded " + SOUL_CRYSTALS.size() + " Soul Crystal data.");
- _log.info("[EnhanceYourWeapon] Loaded " + NPC_LEVELING_INFO.size() + " npc Leveling info data.");
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/exit.htm b/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/exit.htm
deleted file mode 100644
index eb075fc421..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00350_EnhanceYourWeapon/exit.htm
+++ /dev/null
@@ -1,2 +0,0 @@
-Goodbye
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-01.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-01.html
deleted file mode 100644
index cc3f74109e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Silva:
-I'm sorry, customer. I am so busy with the work Sorint tasked me with that I don't have any time to talk about a contract right now. Will you come see me again? (Hmph! I don't have time for lowly 2nd class adventurers!)
-(Only characters who are level 47 or higher may undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-02.htm b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-02.htm
deleted file mode 100644
index ec57587174..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-02.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Warehouse Keeper Silva:
-Hey, are you perhaps an adventurer? If so, would you come here for a minute?
-Let me tell you about a new credit loan service introduced by the Iron Gate Guild. It's a great opportunity for you to receive various benefits. Come this way and I'll tell you more...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-03.htm b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-03.htm
deleted file mode 100644
index 03820382c9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Warehouse Keeper Silva:
-Shh! Keep your voice down! We don't want old man Sorint to hear this...
-OK, let's talk. Sorry, that talk about a loan service wasn't true -- I needed to get you alone without anyone getting suspicious. The truth is that I need to hire an adventurer like you... I need a partner for a...private business...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-04.htm b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-04.htm
deleted file mode 100644
index 16b29637fc..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-04.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Warehouse Keeper Silva:
-What kind of business? Eh... Well, I suppose there's no reason why I shouldn't talk to you about this.
-The warehouse chief over there has announced that he plans to retire next year. Either old man Sorint or I will succeed him -- he will choose the one who makes the most profit running a side business between now and next year.
-My chance has come at last! I'm tired of toiling away here when I should be in charge, and I'll be darned if I'm passed over for that incompetent fool Sorint.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-05.htm b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-05.htm
deleted file mode 100644
index 0db387e120..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-05.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Silva:
-Oh! Yes, I got a little too excited there!
-Ah... Mr. Sorint, I was just speaking with this customer. Nothing to worry about, sir!
-Oh! What a stupid old man... Anyway, what I need from you is very simple: Jade. It's become very popular for jewelry among Aden noblewomen these days! I will reward you for any Jades you bring me. Bring more than 100 at once and I'll give you an additional bonus. How about it? Simple, eh?
-To find Jades, go to the Enchanted Valley and hunt Forest Runners, Fline Elders, Liele Elders, and Valley Treant Elders. Got it?
-That's a dangerous place these days, so you should probably recruit a few trusted friends to help. Not too many! But don't try to go alone, OK?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-06.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-06.html
deleted file mode 100644
index 0e7d476a25..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-06.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Silva:
-Customer, please wait a minute! Yes, Mr. Sorint? Would you like a cup of tea? No? Then, customer, please come this way...
-Oh, that stupid old man is always absorbed in his coin collection. That's why he's so slow...
-Okay, did you bring some Jades? Wha...why are you here empty-handed? I already told you what to do! Go to the Enchanted Valley and hunt Forest Runners, Fline Elders, Liele Elders, and Valley Treant Elders.
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-07.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-07.html
deleted file mode 100644
index 55af731f5d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-07.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Warehouse Keeper Silva:
-Customer, please wait a minute! Yes, Mr. Sorint? Would you like a cup of tea? No? Then, customer, please come this way...
-Oh, that stupid old man is always absorbed in his coin collection. That's why he's so slow...
-Did you bring some Jades? Of course, you remember there is a bonus if you bring over 100 at once, right?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-08.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-08.html
deleted file mode 100644
index 804fdba7a0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-08.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Warehouse Keeper Silva:
-Ah...! These are excellent quality. Well done! As I promised, I will reward you for the number of jades you've brought. That's fair, right?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-09.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-09.html
deleted file mode 100644
index d870be1862..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-09.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Warehouse Keeper Silva:
-Oh..! You've brought so much! And the quality is excellent! Well done! Let me just calculate your payment based on the number of jades you brought -- since you brought more than 100, I will add the bonus I promised as well.
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-10.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-10.html
deleted file mode 100644
index 032bf1865e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-10.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Silva:
-Of course, you remember there is a bonus for bringing in over 100 at once, right? OK, keep up the good work!
-What? Mr. Sorint, what did you say? You want me to massage your shoulder? Of course, sir! I'll be right there...
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-11.html b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-11.html
deleted file mode 100644
index 8cfe4ec4c7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/30686-11.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Silva:
-You want to quit? I can't believe it! You won't find a better opportunity than this, you know. Well, it doesn't matter. Adventurers like you are a dime a dozen.
-Oh! Sorint is calling me again. I can't take much more of this! Hey, listen, come back if you change your mind! OK?
-Mr. Sorint, did you call me? Yes, sir! I'll be right there...
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/Q00357_WarehouseKeepersAmbition.java b/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/Q00357_WarehouseKeepersAmbition.java
deleted file mode 100644
index 299d206cd0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00357_WarehouseKeepersAmbition/Q00357_WarehouseKeepersAmbition.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00357_WarehouseKeepersAmbition;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-
-/**
- * Warehouse Keeper's Ambition (357)
- * @author Janiko, Pandragon
- */
-public final class Q00357_WarehouseKeepersAmbition extends Quest
-{
- // NPC
- private static final int SILVA = 30686;
- // Item
- private static final int JADE_CRYSTAL = 5867;
- // Monsters
- private final Map DROP_DATA = new HashMap<>();
- {
- DROP_DATA.put(20594, 0.577); // Forest Runner
- DROP_DATA.put(20595, 0.6); // Fline Elder
- DROP_DATA.put(20596, 0.638); // Liele Elder
- DROP_DATA.put(20597, 0.062); // Valley Treant Elder
- }
- // Misc
- private static final int MIN_LVL = 47;
-
- public Q00357_WarehouseKeepersAmbition()
- {
- super(357, Q00357_WarehouseKeepersAmbition.class.getSimpleName(), "Warehouse Keeper's Ambition");
- addStartNpc(SILVA);
- addTalkId(SILVA);
- addKillId(DROP_DATA.keySet());
- registerQuestItems(JADE_CRYSTAL);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs != null)
- {
- switch (event)
- {
- case "30686-01.htm":
- case "30686-03.htm":
- case "30686-04.htm":
- case "30686-10.html":
- {
- htmltext = event;
- break;
- }
- case "30686-05.htm":
- {
- if (qs.isCreated())
- {
- qs.startQuest();
- htmltext = event;
- }
- break;
- }
- case "30686-09.html":
- {
- final long crystalCount = getQuestItemsCount(player, JADE_CRYSTAL);
- if (crystalCount > 0)
- {
- long adenaReward = crystalCount * 425;
- if (crystalCount < 100)
- {
- adenaReward += 13500;
- htmltext = "30686-08.html";
- }
- else
- {
- adenaReward += 40500;
- htmltext = event;
- }
- giveAdena(player, adenaReward, true);
- takeItems(player, JADE_CRYSTAL, -1);
- }
- break;
- }
- case "30686-11.html":
- {
- final long crystalCount = getQuestItemsCount(player, JADE_CRYSTAL);
- if (crystalCount > 0)
- {
- giveAdena(player, (crystalCount * 425) + ((crystalCount >= 100) ? 40500 : 0), true);
- takeItems(player, JADE_CRYSTAL, -1);
- }
- qs.exitQuest(true, true);
- htmltext = event;
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance talker)
- {
- final QuestState qs = getQuestState(talker, true);
- String htmltext = getNoQuestMsg(talker);
- if (qs.isCreated())
- {
- htmltext = (talker.getLevel() < MIN_LVL) ? "30686-01.html" : "30686-02.htm";
- }
- else if (qs.isStarted())
- {
- htmltext = hasQuestItems(talker, JADE_CRYSTAL) ? "30686-07.html" : "30686-06.html";
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final QuestState qs = getRandomPartyMemberState(killer, -1, 3, npc);
- if (qs != null)
- {
- giveItemRandomly(qs.getPlayer(), npc, JADE_CRYSTAL, 1, 0, DROP_DATA.get(npc.getId()), true);
- }
- return super.onKill(npc, killer, isSummon);
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-01.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-01.html
deleted file mode 100644
index d6d14e7661..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-01.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Trader Holly:
-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...
-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.
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-02.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-02.html
deleted file mode 100644
index 78d13e7401..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30839-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Trader Holly:
-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...
- 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!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-01.htm b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-01.htm
deleted file mode 100644
index fd6b0b0fc1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Walderal:
-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...
-(This quest may only be undertaken by a character of level 59 or above.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-02.htm b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-02.htm
deleted file mode 100644
index 0b882d35d8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-02.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Warehouse Keeper Walderal:
-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.
-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?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-03.htm b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-03.htm
deleted file mode 100644
index 48f077227a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-03.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Walderal:
-Marvelous! In the middle section of the Tower of Insolence you will find monsters such as corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects, and messenger angels. 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?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-04.htm b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-04.htm
deleted file mode 100644
index 92db73b12b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-04.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-Warehouse Keeper Walderal:
-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!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05.html
deleted file mode 100644
index 1908d92b29..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Warehouse Keeper Walderal:
-Did you find anything? Or perhaps you have a question?
-
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05a.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05a.html
deleted file mode 100644
index 11d19af791..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05a.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Warehouse Keeper Walderal:
-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.
-Take them from corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects and messenger angels. 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.
-Is that clear? Now, please, get going.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05b.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05b.html
deleted file mode 100644
index 9f7c17eeee..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-05b.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Warehouse Keeper Walderal:
-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 "Revelation of the Seals". It seems that Magister Desmond is searching for the same book. It must be important...
-Trader Holly in the Town of Aden also collects history books. She is especially interested in any documents related to imperial genealogy.
-Patrin of the Town of Oren, the antiques dealer, is wild about epics.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-06.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-06.html
deleted file mode 100644
index bf17b5e38b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-06.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Warehouse Keeper Walderal:
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07.html
deleted file mode 100644
index 811bdbbd5c..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Walderal:
-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?
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07a.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07a.html
deleted file mode 100644
index caeab57a9d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07a.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Walderal:
-Here it is! This will be helpful if you're thinking of getting any A-Grade dark crystal equipment.
-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?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07b.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07b.html
deleted file mode 100644
index 9183a64fd3..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07b.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Walderal:
-Here it is! This will be helpful if you're thinking of getting any A-Grade tallum equipment.
-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?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07c.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07c.html
deleted file mode 100644
index 1ff9fc1164..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07c.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Walderal:
-Here it is! This will be helpful if you're thinking of getting any A-Grade nightmare equipment.
-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?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07d.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07d.html
deleted file mode 100644
index 57035daec7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07d.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Keeper Walderal:
-Here it is! This will be helpful if you're thinking of getting any A-Grade majestic equipment.
-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?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07e.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07e.html
deleted file mode 100644
index 393b9de7b0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-07e.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Walderal:
-What...? I thought you said you had more blueprints...?
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-08.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-08.html
deleted file mode 100644
index 1c62441613..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-08.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Warehouse Keeper Walderal:
-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 corrupt sages, erin ediunces, Hallate's inspectors, Platinum tribe overlords, Platinum guardian prefects and messenger angels. I'll wait here.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-09.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-09.html
deleted file mode 100644
index a1cd297252..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-09.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Warehouse Keeper Walderal:
-Oh, really? Well, I can hardly blame you. Thank you for your help.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-11.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-11.html
deleted file mode 100644
index bc9db240ba..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30844-11.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Warehouse Keeper Walderal:
-Oh, really? Please show it to me!
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-01.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-01.html
deleted file mode 100644
index a1c6272924..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Desmond:
-You're bringing the "Revelation of the Seals", aren't you? Here, let me see.
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-02.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-02.html
deleted file mode 100644
index c65a1a7591..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30855-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Magister Desmond:
-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!
-Here is your reward. If you find any more of these kind of books, bring them to me, do you understand?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-01.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-01.html
deleted file mode 100644
index 40f66dc901..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-01.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Antique Dealer Patrin:
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-02.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-02.html
deleted file mode 100644
index f7e42cf340..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/30929-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Antique Dealer Patrin:
-Wow! Is this an ancient epic? What a find! I'll take it!
-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.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-01.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-01.html
deleted file mode 100644
index 92a6ffef21..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-01.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Lady Claudia:
-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!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-02.html b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-02.html
deleted file mode 100644
index eaf5a989e0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/31001-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Lady Claudia:
-This is "The Revelation of the Seals"! Many wish to possess this book, my husband foremost among them....
-I appreciate your hard work and hope this reward shows you just how grateful I am to you.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/Q00372_LegacyOfInsolence.java b/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/Q00372_LegacyOfInsolence.java
deleted file mode 100644
index 2c13ffea66..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00372_LegacyOfInsolence/Q00372_LegacyOfInsolence.java
+++ /dev/null
@@ -1,704 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00372_LegacyOfInsolence;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.holders.QuestItemHolder;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.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 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";
- 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;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-00.htm b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-00.htm
deleted file mode 100644
index bd918ce232..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-00.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-You do not meet the requirements for taking on this mission.
-(Only noblesse characters above level 75 who have completed a third class transfer can undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-01.htm b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-01.htm
deleted file mode 100644
index a801b30fb4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-01.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Olympiad Manager:
-While challenging the Olympiad, it is important to widen your level of experience as well. Just by making the challenge, you will receive a small reward. Will you make the challenge?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-02.htm b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-02.htm
deleted file mode 100644
index 4f0a882181..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-02.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Grand Olympiad Manager:
-Please participate in all the various categories of matches in the Olympiad. If you participate in each of the non-class battles, class battles, and group battles 5 times, your mission will be complete.
-If it is difficult to participate in the three match categories, you can participate in just one category, and you will still receive some reward. If you're still satisfied, you can come to me. But please remember that once you receive the reward, you can't take on the mission again that same day.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-03.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-03.html
deleted file mode 100644
index 917a28be71..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-03.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-The mission has been accepted. Please check to see if there are any other missions. Once preparations are complete, challenge the Olympiad.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-04.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-04.html
deleted file mode 100644
index a1220d9031..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-04.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Grand Olympiad Manager:
-Well done. Please come back tomorrow.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-05.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-05.html
deleted file mode 100644
index 84d63c164f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-05.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-You have already received the reward for this mission. You should rest before you try again!
-(This quest can only be undertaken once a day. This quest resets everyday at 6:30 AM.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s0.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s0.html
deleted file mode 100644
index 5ea1d4fac7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s0.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-You did not fulfill the requirements for receiving a reward.
-you must participate at least 5 times in a non-class battle, class battle, or group battle in order to receive the reward. Of course, if you participate in all three categories, you can expect an even greater reward.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s1.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s1.html
deleted file mode 100644
index 02c1260e2d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s1.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-I will give you an incomplete reward. Please remember that once you receive the reward, you can't take on the mission again today. Still want the reward?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s2.html b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s2.html
deleted file mode 100644
index b74d6b3041..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/31688-s2.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Grand Olympiad Manager:
-I will give you an incomplete reward. Please remember that once you receive the reward, you cannot take on the mission anymore today. Do you still want to go ahead?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/Q00552_OlympiadVeteran.java b/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/Q00552_OlympiadVeteran.java
deleted file mode 100644
index a2bf718d43..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00552_OlympiadVeteran/Q00552_OlympiadVeteran.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00552_OlympiadVeteran;
-
-import com.l2jmobius.gameserver.enums.QuestType;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.olympiad.CompetitionType;
-import com.l2jmobius.gameserver.model.olympiad.Participant;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * Olympiad Veteran (552)
- * @author lion
- */
-public class Q00552_OlympiadVeteran extends Quest
-{
- // NPC
- private static final int MANAGER = 31688;
- // Items
- private static final int TEAM_EVENT_CERTIFICATE = 17241;
- private static final int CLASS_FREE_BATTLE_CERTIFICATE = 17242;
- private static final int CLASS_BATTLE_CERTIFICATE = 17243;
- private static final int OLY_CHEST = 17169;
-
- public Q00552_OlympiadVeteran()
- {
- super(552, Q00552_OlympiadVeteran.class.getSimpleName(), "Olympiad Veteran");
- addStartNpc(MANAGER);
- addTalkId(MANAGER);
- registerQuestItems(TEAM_EVENT_CERTIFICATE, CLASS_FREE_BATTLE_CERTIFICATE, CLASS_BATTLE_CERTIFICATE);
- addOlympiadMatchFinishId();
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- return getNoQuestMsg(player);
- }
- String htmltext = event;
-
- if (event.equalsIgnoreCase("31688-03.html"))
- {
- qs.startQuest();
- }
- else if (event.equalsIgnoreCase("31688-04.html"))
- {
- final long count = getQuestItemsCount(player, TEAM_EVENT_CERTIFICATE) + getQuestItemsCount(player, CLASS_FREE_BATTLE_CERTIFICATE) + getQuestItemsCount(player, CLASS_BATTLE_CERTIFICATE);
-
- if (count > 0)
- {
- giveItems(player, OLY_CHEST, count);
- qs.exitQuest(QuestType.DAILY, true);
- }
- else
- {
- htmltext = getNoQuestMsg(player);
- }
- }
- return htmltext;
- }
-
- @Override
- public void onOlympiadMatchFinish(Participant winner, Participant looser, CompetitionType type)
- {
- if (winner != null)
- {
- final L2PcInstance player = winner.getPlayer();
- if (player == null)
- {
- return;
- }
-
- final QuestState qs = getQuestState(player, false);
- if ((qs != null) && qs.isStarted())
- {
- int matches;
- switch (type)
- {
- case CLASSED:
- {
- matches = qs.getInt("classed") + 1;
- qs.set("classed", String.valueOf(matches));
- if ((matches == 5) && !hasQuestItems(player, CLASS_BATTLE_CERTIFICATE))
- {
- giveItems(player, CLASS_BATTLE_CERTIFICATE, 1);
- }
- break;
- }
- case NON_CLASSED:
- {
- matches = qs.getInt("nonclassed") + 1;
- qs.set("nonclassed", String.valueOf(matches));
- if ((matches == 5) && !hasQuestItems(player, CLASS_FREE_BATTLE_CERTIFICATE))
- {
- giveItems(player, CLASS_FREE_BATTLE_CERTIFICATE, 1);
- }
- break;
- }
- case TEAMS:
- {
- matches = qs.getInt("teams") + 1;
- qs.set("teams", String.valueOf(matches));
- if ((matches == 5) && !hasQuestItems(player, TEAM_EVENT_CERTIFICATE))
- {
- giveItems(player, TEAM_EVENT_CERTIFICATE, 1);
- }
- break;
- }
- }
- }
- }
-
- if (looser == null)
- {
- return;
- }
- final L2PcInstance player = looser.getPlayer();
- if (player == null)
- {
- return;
- }
- final QuestState qs = getQuestState(player, false);
- if ((qs == null) || !qs.isStarted())
- {
- return;
- }
- int matches;
- switch (type)
- {
- case CLASSED:
- {
- matches = qs.getInt("classed") + 1;
- qs.set("classed", String.valueOf(matches));
- if (matches == 5)
- {
- giveItems(player, CLASS_BATTLE_CERTIFICATE, 1);
- }
- break;
- }
- case NON_CLASSED:
- {
- matches = qs.getInt("nonclassed") + 1;
- qs.set("nonclassed", String.valueOf(matches));
- if (matches == 5)
- {
- giveItems(player, CLASS_FREE_BATTLE_CERTIFICATE, 1);
- }
- break;
- }
- case TEAMS:
- {
- matches = qs.getInt("teams") + 1;
- qs.set("teams", String.valueOf(matches));
- if (matches == 5)
- {
- giveItems(player, TEAM_EVENT_CERTIFICATE, 1);
- }
- break;
- }
- }
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- if ((player.getLevel() < 75) || !player.isNoble())
- {
- htmltext = "31688-00.htm";
- }
- else if (qs.isCreated())
- {
- htmltext = "31688-01.htm";
- }
- else if (qs.isCompleted())
- {
- if (qs.isNowAvailable())
- {
- qs.setState(State.CREATED);
- htmltext = (player.getLevel() < 75) || !player.isNoble() ? "31688-00.htm" : "31688-01.htm";
- }
- else
- {
- htmltext = "31688-05.html";
- }
- }
- else if (qs.isStarted())
- {
- final long count = getQuestItemsCount(player, TEAM_EVENT_CERTIFICATE) + getQuestItemsCount(player, CLASS_FREE_BATTLE_CERTIFICATE) + getQuestItemsCount(player, CLASS_BATTLE_CERTIFICATE);
-
- if (count == 3)
- {
- htmltext = "31688-04.html";
- giveItems(player, OLY_CHEST, 4);
- qs.exitQuest(QuestType.DAILY, true);
- }
- else
- {
- htmltext = "31688-s" + count + ".html";
- }
- }
- return htmltext;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html
deleted file mode 100644
index 4778b4ed08..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Ancient Stone Tablet:
-Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-02.html
deleted file mode 100644
index c021aad27c..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-02.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Ancient Stone Tablet:
-Daimon the White-Eyed's most formidable weapon is his magical ability to instantly render his victim totally immobile!
-[Illegible text]
-As you turn to leave, you hear something fall from the tablet. Upon closer examination, it proves to be a fragment of a mysterious bead.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-03.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-03.html
deleted file mode 100644
index 17e8149195..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31548-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Ancient Stone Tablet:
-You've already read the inscription. Find another tablet.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html
deleted file mode 100644
index 9014a31067..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Ancient Stone Tablet:
-Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-02.html
deleted file mode 100644
index ff5bd136b0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-02.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Ancient Stone Tablet:
-"The knight's necklace shone brightly. His strength had sustained him thus far against the powerful magic of Daimon the White-Eyed, and sensing victory, he slowly raised his head. Suddenly, from behind him came..."
-[Illegible text]
-As you turn to leave, you hear something fall to the floor... Upon close examination, you see that it is a fragment of a mysterious bead.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html
deleted file mode 100644
index 17e8149195..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31549-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Ancient Stone Tablet:
-You've already read the inscription. Find another tablet.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html
deleted file mode 100644
index 027f99b1b6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Ancient Stone Tablet:
-Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html
deleted file mode 100644
index 0aeb0d717f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-02.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Mysterious Ancient Tablet:
-"Based on previous adventurers' experience, a fragment certainly exists that may be useful when confronting Daimon the White-Eyed. But even so, Daimon is...
-In that case, you may gather your strength and launch a focused attack, but that does not seem to be optimal. It is vital that his three henchmen be..."
-The rest of the tablet is too damaged to read.
-As you turn around, you suddenly hear the sound of something falling from the tablet. It's a mysterious bead fragment...
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html
deleted file mode 100644
index 17e8149195..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31550-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Ancient Stone Tablet:
-You've already read the inscription. Find another tablet.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html
deleted file mode 100644
index b5d5d51814..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Ancient Stone Tablet:
-Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html
deleted file mode 100644
index 0fb92b2471..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-02.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Ancient Stone Tablet:
-"Yeah, those three henchmen pose a problem...", said the warrior with the spear.
-The mage replied, "I agree. Especially the one that keeps restoring Daimon! I'll deal with that rascal myself!"
-The Dwarf girl softly said,
-"Someone's going to have to deal with Daimon. Who can do that? None of us are any match for his powers, even if we use the bead of summoning perfectly!"
-[Illegible text]
-As you turn to leave, you hear something fall from the tablet. Upon close examination, you find that it's a fragment of a mysterious bead.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html
deleted file mode 100644
index 17e8149195..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31551-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Ancient Stone Tablet:
-You've already read the inscription. Find another tablet.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html
deleted file mode 100644
index f54ae122eb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Ancient Stone Tablet:
-Upon closer examination, you notice an inscription describing the exploits of the heroes who defeated Daimon the White-Eyed.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html
deleted file mode 100644
index 59ef4d297d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-02.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Ancient Stone Tablet:
-The text describes the decisive battles against Daimon the White-Eyed.
-Past heroes used the bead of summoning to call out Daimon before he and his minions were ready.
-
-Now it all makes sense! You know how to defeat Daimon!
-As you stand thinking before the tablet, something falls to the ground.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html
deleted file mode 100644
index a235b5b288..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31552-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Ancient Stone Tablet:
-You've already read the inscription. Now that you've learned how to defeat Daimon the White-Eyed, go back to Eye of Argos.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm
deleted file mode 100644
index 2900c0a4d5..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-01.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Eye of Argos:
-Welcome, traveler!
-My eyes see justice, courage and wisdom within you!
-Our meeting is not mere coincidence, my brave young warrior!
-A trial awaits you. Will you accept the challenge?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-02.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-02.html
deleted file mode 100644
index ec1be6d1ef..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-I'm waiting for an adventurer with adequate skills and courage.
-(This quest may only be undertaken by characters of level 73 or above.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-03.htm b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-03.htm
deleted file mode 100644
index e3af99ba77..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-03.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Eye of Argos:
-Do you know about Daimon the White-Eyed? When Einhasad ripped Argos apart and scattered the pieces throughout the land, I became the bright side of Argos and Daimon became the dark side.
-Daimon has been expanding his powerbase, spreading his evil influence even further. He dreams of expanding his reach globally, but each time, his efforts have been thwarted by heroes like you!
-Now, his force is spreading and his henchmen are wandering about in this land. Will you take up the fight against this demonic scourge?
-First, you must study the methods that past heroes used to stop him.
-You'll find stone tablets describing their accomplishments in several parts of this region. Read them and report back to me what you learn.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-04.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-04.html
deleted file mode 100644
index 0d40e02c70..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-04.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Have you read all the inscriptions on the tablets? Daimon clouds my memory so that I can't remember the things about him. Thus, the only ways to defeat him are recorded on the tablets. They are left here and there throughout this area.
-But, Daimon's forces must have been destroying them. You don't have much time, my hero!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html
deleted file mode 100644
index 39642b1e64..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-05.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-Oh, you came back!
-Did you find out how the heroes of the past defeated Daimon the White-Eyed?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html
deleted file mode 100644
index 6fa77c95d6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-06.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-The bead of summoning? Ah, yes, I haven't forgotten about that one yet! Good job, my hero!
-Now, you must make a bead of summoning! It has the power to summon him from the darkness. You must obtain 200 thoughts of darkness from valley Bandersnatch slaves, Buffalo Slaves and Grendel Slaves and bring them to me.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-07.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-07.html
deleted file mode 100644
index 3f28bf51a8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-07.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Eye of Argos:
-Where are the thoughts of darkness to make the bead to defeat Daimon of White Eye?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html
deleted file mode 100644
index 99ec839d77..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-08.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Have you collected all the thoughts of darkness you need?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-09.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-09.html
deleted file mode 100644
index 8485d9bb34..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-09.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-I can feel his power growing every day!
-Have you collected enough thoughts of darkness to stop him?
-Could it be that he will prevail?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html
deleted file mode 100644
index 9f9f09bf28..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-10.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-You've created the vessel that will contain the power to draw him out.
-I shall put the voice to call him out in this thought of darkness. You, my hero, will you give me some time alone? I'll be ready shortly after. Come back to me then..
-I hope we're not too late!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html
deleted file mode 100644
index bf30991e25..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/31683-11.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Eye of Argos:
-Where are the eyes of darkness you've collected?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java b/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java
deleted file mode 100644
index e8c8ede8aa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00603_DaimonTheWhiteEyedPart1/Q00603_DaimonTheWhiteEyedPart1.java
+++ /dev/null
@@ -1,214 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00603_DaimonTheWhiteEyedPart1;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * Daimon the White-Eyed - Part 1 (603)
- * @author Pandragon
- */
-public final class Q00603_DaimonTheWhiteEyedPart1 extends Quest
-{
- // NPC
- private static final int EYE_OF_ARGOS = 31683;
- private static final int TABLET_1 = 31548;
- private static final int TABLET_2 = 31549;
- private static final int TABLET_3 = 31550;
- private static final int TABLET_4 = 31551;
- private static final int TABLET_5 = 31552;
- // Items
- private static final int SPIRIT_OF_DARKNESS = 7190;
- private static final int BROKEN_CRYSTAL = 7191;
- // Monsters
- private final Map MONSTER_CHANCES = new HashMap<>();
- {
- MONSTER_CHANCES.put(21297, 0.5); // Canyon Bandersnatch Slave
- MONSTER_CHANCES.put(21299, 0.519); // Buffalo Slave
- MONSTER_CHANCES.put(21304, 0.673); // Grendel Slave
- }
- // Reward
- private static final int UNFINISHED_CRYSTAL = 7192;
- // Misc
- private static final int MIN_LVL = 73;
-
- public Q00603_DaimonTheWhiteEyedPart1()
- {
- super(603, Q00603_DaimonTheWhiteEyedPart1.class.getSimpleName(), "Daimon the White-Eyed - Part 1");
- addStartNpc(EYE_OF_ARGOS);
- addTalkId(EYE_OF_ARGOS, TABLET_1, TABLET_2, TABLET_3, TABLET_4, TABLET_5);
- addKillId(MONSTER_CHANCES.keySet());
- registerQuestItems(SPIRIT_OF_DARKNESS, BROKEN_CRYSTAL);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs == null)
- {
- return htmltext;
- }
-
- switch (event)
- {
- case "31683-03.htm":
- {
- if (qs.isCreated())
- {
- qs.set("tablet_" + TABLET_1, 0);
- qs.set("tablet_" + TABLET_2, 0);
- qs.set("tablet_" + TABLET_3, 0);
- qs.set("tablet_" + TABLET_4, 0);
- qs.set("tablet_" + TABLET_5, 0);
- qs.startQuest();
- htmltext = event;
- }
- break;
- }
- case "31548-02.html":
- case "31549-02.html":
- case "31550-02.html":
- case "31551-02.html":
- case "31552-02.html":
- {
- if (qs.getCond() < 6)
- {
- giveItems(player, BROKEN_CRYSTAL, 1);
- qs.set("TABLET_" + npc.getId(), 1);
- qs.setCond(qs.getCond() + 1, true);
- htmltext = event;
- }
- break;
- }
- case "31683-06.html":
- {
- if (qs.isCond(6) && (getQuestItemsCount(player, BROKEN_CRYSTAL) >= 5))
- {
- takeItems(player, BROKEN_CRYSTAL, -1);
- qs.setCond(7, true);
- htmltext = event;
- }
- break;
- }
- case "31683-10.html":
- {
- if (qs.isCond(8))
- {
- if (getQuestItemsCount(player, SPIRIT_OF_DARKNESS) >= 200)
- {
- takeItems(player, SPIRIT_OF_DARKNESS, -1);
- giveItems(player, UNFINISHED_CRYSTAL, 1);
- qs.exitQuest(true, true);
- htmltext = event;
- }
- else
- {
- htmltext = "31683-11.html";
- }
- }
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance talker)
- {
- final QuestState qs = getQuestState(talker, true);
- String htmltext = getNoQuestMsg(talker);
- switch (qs.getState())
- {
- case State.CREATED:
- {
- if (npc.getId() == EYE_OF_ARGOS)
- {
- htmltext = (talker.getLevel() < MIN_LVL) ? "31683-02.html" : "31683-01.htm";
- }
- break;
- }
- case State.STARTED:
- {
- if (npc.getId() == EYE_OF_ARGOS)
- {
- switch (qs.getCond())
- {
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- {
- htmltext = "31683-04.html";
- break;
- }
- case 6:
- {
- htmltext = "31683-05.html";
- break;
- }
- case 7:
- {
- htmltext = "31683-07.html";
- break;
- }
- case 8:
- {
- htmltext = "31683-08.html";
- break;
- }
- }
- }
- else if (qs.getInt("TABLET_" + npc.getId()) == 0)
- {
- htmltext = npc.getId() + "-01.html";
- }
- else
- {
- htmltext = npc.getId() + "-03.html";
- }
- break;
- }
- case State.COMPLETED:
- {
- htmltext = getAlreadyCompletedMsg(talker);
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final QuestState qs = getRandomPartyMemberState(killer, 7, 3, npc);
- if ((qs != null) && giveItemRandomly(qs.getPlayer(), npc, SPIRIT_OF_DARKNESS, 1, 200, MONSTER_CHANCES.get(npc.getId()), true))
- {
- qs.setCond(8, true);
- }
- return super.onKill(npc, killer, isSummon);
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-01.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-01.html
deleted file mode 100644
index 563e212ab9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Altar of Daimon the White-Eyed:
-A sinister energy encircles the altar.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-02.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-02.html
deleted file mode 100644
index 4731ea79fe..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-02.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Altar of Daimon the White-Eyed:
-Evil forces are gathering... Oh, the horror!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-03.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-03.html
deleted file mode 100644
index 5e936a230f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Altar of Daimon the White-Eyed:
-Daimon the White-Eyed has already been summoned!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-04.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-04.html
deleted file mode 100644
index 172027fb19..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-04.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Altar of Daimon the White-Eyed:
-A summoning orb is needed.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-05.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-05.html
deleted file mode 100644
index cf87c79c33..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31541-05.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Altar of Daimon the White-Eyed:
-Daimon's moans can be faintly heard...
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-01.htm b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-01.htm
deleted file mode 100644
index a72c280864..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Have you been neglecting your training? I'm reluctant to assign this critical mission to you!
-(This quest may only be undertaken by characters of level 73 or above.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-02.htm b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-02.htm
deleted file mode 100644
index 5de2c8bc84..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-02.htm
+++ /dev/null
@@ -1,3 +0,0 @@
-Eye of Argos:
-Where have you done with the Unfinished Bead of Summoning that I gave you?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-03.htm b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-03.htm
deleted file mode 100644
index 574dfcfe29..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-The bead containing my voice is now completed.
-Are you ready to confront Daimon the White-Eyed, dear warrior? Will you risk your life for the cause?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-04.htm b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-04.htm
deleted file mode 100644
index a9412097b6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-04.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-Go to the stronghold of Daimon the White-Eyed, find the altar used to make sacrifices and place the summoning orb upon it.
-One more thing!
-Occasionally, Daimon hides the altar. If this happens, wait until the altar reappears before taking action. Apply all your courage and faith to destroying Daimon!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-05.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-05.html
deleted file mode 100644
index a65fc21e9f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-05.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Place the summoning orb onto the altar in the stronghold of Daimon the White-Eyed.
-Daimon will be drawn out by its power. Destroy him and return to me.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-06.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-06.html
deleted file mode 100644
index 6d3d25080b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-06.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Dear soldier, I felt a weakening in his force around here! Did you kill Daimon the White-Eyed?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-07.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-07.html
deleted file mode 100644
index fb9d19fbf4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-07.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Eye of Argos:
-You've vanquished the dreaded Daimon, but he's not gone forever.
-Someday, he shall rise and threaten the peace of the world again.
-I pray when he does that we have many heroes like you.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-08.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-08.html
deleted file mode 100644
index 664eba3071..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-08.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Where is the proof that you killed Daimon?
-Do you think I'll fall for your lie? You, fake heroes!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-09.html b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-09.html
deleted file mode 100644
index aaa481d3b1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/31683-09.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Eye of Argos:
-Does Daimon the White-Eyed live?
-I understand your hesitance, but by overcoming your fear, the path to true heroism will open up to you!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/Q00604_DaimonTheWhiteEyedPart2.java b/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/Q00604_DaimonTheWhiteEyedPart2.java
deleted file mode 100644
index 544539ebc9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00604_DaimonTheWhiteEyedPart2/Q00604_DaimonTheWhiteEyedPart2.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00604_DaimonTheWhiteEyedPart2;
-
-import com.l2jmobius.gameserver.datatables.SpawnTable;
-import com.l2jmobius.gameserver.enums.ChatType;
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.Location;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.network.NpcStringId;
-import com.l2jmobius.gameserver.network.serverpackets.NpcSay;
-import com.l2jmobius.gameserver.util.Util;
-
-/**
- * Daimon the White-Eyed - Part 2 (604)
- * @author Adry_85
- */
-public final class Q00604_DaimonTheWhiteEyedPart2 extends Quest
-{
- // NPCs
- private static final int DAIMONS_ALTAR = 31541;
- private static final int EYE_OF_ARGOS = 31683;
- // Raid Boss
- private static final int DAIMON_THE_WHITE_EYED = 25290;
- // Items
- private static final int UNFINISHED_SUMMON_CRYSTAL = 7192;
- private static final int SUMMON_CRYSTAL = 7193;
- private static final int ESSENCE_OF_DAIMON = 7194;
- // Misc
- private static final int MIN_LEVEL = 73;
- // Location
- private static final Location DAIMON_THE_WHITE_EYED_LOC = new Location(186320, -43904, -3175);
- // Rewards
- private static final int DYE_I2M2_C = 4595; // Greater Dye of INT
- private static final int DYE_I2W2_C = 4596; // Greater Dye of INT
- private static final int DYE_M2I2_C = 4597; // Greater Dye of MEN
- private static final int DYE_M2W2_C = 4598; // Greater Dye of MEN
- private static final int DYE_W2I2_C = 4599; // Greater Dye of WIT
- private static final int DYE_W2M2_C = 4600; // Greater Dye of WIT
-
- public Q00604_DaimonTheWhiteEyedPart2()
- {
- super(604, Q00604_DaimonTheWhiteEyedPart2.class.getSimpleName(), "Daimon the White-Eyed - Part 2");
- addStartNpc(EYE_OF_ARGOS);
- addTalkId(EYE_OF_ARGOS, DAIMONS_ALTAR);
- addSpawnId(DAIMON_THE_WHITE_EYED);
- addKillId(DAIMON_THE_WHITE_EYED);
- registerQuestItems(SUMMON_CRYSTAL, ESSENCE_OF_DAIMON);
- }
-
- @Override
- public void actionForEachPlayer(L2PcInstance player, L2Npc npc, boolean isSummon)
- {
- final QuestState qs = getQuestState(player, false);
- if ((qs != null) && (qs.getMemoState() >= 11) && (qs.getMemoState() <= 21))
- {
- if (Util.checkIfInRange(1500, npc, player, false))
- {
- if (hasQuestItems(player, ESSENCE_OF_DAIMON))
- {
- qs.setCond(3, true);
- qs.setMemoState(22);
- }
-
- giveItems(player, ESSENCE_OF_DAIMON, 1);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- if ("DESPAWN".equals(event))
- {
- if (isDaimonSpawned())
- {
- npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.CAN_LIGHT_EXIST_WITHOUT_DARKNESS));
- npc.deleteMe();
- }
- return super.onAdvEvent(event, npc, player);
- }
-
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- return null;
- }
-
- String htmltext = null;
- switch (event)
- {
- case "31683-04.htm":
- {
- takeItems(player, UNFINISHED_SUMMON_CRYSTAL, 1);
- qs.startQuest();
- qs.setMemoState(11);
- giveItems(player, SUMMON_CRYSTAL, 1);
- htmltext = event;
- break;
- }
- case "31683-07.html":
- {
- if (hasQuestItems(player, ESSENCE_OF_DAIMON))
- {
- final int reward;
- final int random = getRandom(1000);
- takeItems(player, ESSENCE_OF_DAIMON, 1);
- if (random < 167)
- {
- reward = DYE_I2M2_C;
- }
- else if (random < 334)
- {
- reward = DYE_I2W2_C;
- }
- else if (random < 501)
- {
- reward = DYE_M2I2_C;
- }
- else if (random < 668)
- {
- reward = DYE_M2W2_C;
- }
- else if (random < 835)
- {
- reward = DYE_W2I2_C;
- }
- else
- {
- reward = DYE_W2M2_C;
- }
-
- rewardItems(player, reward, 5);
- qs.exitQuest(true, true);
- htmltext = event;
- }
- else
- {
- htmltext = "31683-08.html";
- }
- break;
- }
- case "31541-02.html":
- {
- if (hasQuestItems(player, SUMMON_CRYSTAL))
- {
- if (!isDaimonSpawned())
- {
- takeItems(player, SUMMON_CRYSTAL, 1);
- htmltext = event;
- addSpawn(DAIMON_THE_WHITE_EYED, DAIMON_THE_WHITE_EYED_LOC);
- npc.deleteMe();
- qs.setMemoState(21);
- qs.setCond(2, true);
- }
- else
- {
- htmltext = "31541-03.html";
- }
- }
- else
- {
- htmltext = "31541-04.html";
- }
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- executeForEachPlayer(killer, npc, isSummon, true, false);
- return super.onKill(npc, killer, isSummon);
- }
-
- @Override
- public String onSpawn(L2Npc npc)
- {
- startQuestTimer("DESPAWN", 1200000, npc, null);
- npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.WHO_IS_CALLING_ME));
- return super.onSpawn(npc);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, true);
- String htmltext = getNoQuestMsg(player);
- if (qs.isCreated())
- {
- if (player.getLevel() < MIN_LEVEL)
- {
- htmltext = "31683-01.htm";
- }
- else if (!hasQuestItems(player, UNFINISHED_SUMMON_CRYSTAL))
- {
- htmltext = "31683-02.htm";
- }
- else
- {
- htmltext = "31683-03.htm";
- }
- }
- else if (qs.isStarted())
- {
- if (npc.getId() == EYE_OF_ARGOS)
- {
- if (qs.isMemoState(11))
- {
- htmltext = "31683-05.html";
- }
- else if (qs.getMemoState() >= 22)
- {
- htmltext = hasQuestItems(player, ESSENCE_OF_DAIMON) ? "31683-06.html" : "31683-09.html";
- }
- }
- else if (qs.isMemoState(11))
- {
- if (hasQuestItems(player, SUMMON_CRYSTAL))
- {
- htmltext = "31541-01.html";
- }
- }
- else if (qs.isMemoState(21))
- {
- if (!isDaimonSpawned())
- {
- addSpawn(DAIMON_THE_WHITE_EYED, DAIMON_THE_WHITE_EYED_LOC);
- npc.deleteMe();
- htmltext = "31541-02.html";
- }
- else
- {
- htmltext = "31541-03.html";
- }
- }
- else if (qs.getMemoState() >= 22)
- {
- htmltext = "31541-05.html";
- }
- }
- return htmltext;
- }
-
- private static boolean isDaimonSpawned()
- {
- return SpawnTable.getInstance().findAny(DAIMON_THE_WHITE_EYED) != null;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-00.htm b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-00.htm
deleted file mode 100644
index 89dbf38ccd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-00.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-I need someone to find some ingredients for me. I don't intend to feed the monsters!
-(Only a character of level 73 or above may undertake this quest.)
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-01.htm b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-01.htm
deleted file mode 100644
index 9b1e000441..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-01.htm
+++ /dev/null
@@ -1,9 +0,0 @@
-Chef Jeremy:
-This is terrible. Terrible!
-That promising young chef Donath will be in the cooking competition, and unless I make something truly special I fear he will walk away with the top honors. But what to make, what to make?
-There IS one dish, but the ingredients are so difficult to get that I doubt I could acquire them in time. Unless...
-Hey, you there! Yes, you! Interested in a job? I need a brave and resourceful adventurer for a specific task.
-How would you like to assist me -- Chef Jeremy, the greatest chef of this region -- in making a fantastic dish?
-If all goes well, you may receive an Ice Crystal in return for your assistance.
-
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-02.htm b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-02.htm
deleted file mode 100644
index e48b342887..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Chef Jeremy:
-The dish I shall make for the competition is called "Smoked Yeti." However, I cannot make it with ordinary Yeti meat; I need the meat from the Icicle Emperor, the greatest of all the Yeti.
-The Icicle Emperor ventures out only rarely, however, so we must first cook another meal as bait.
-I will require the stems of Hot Springs Nepenthes, feet of Hot Springs Bandersnatchlings, Hot Springs Atroxes and Hot Springs Atroxspawns. I need you to fetch me 50 Secret Spices derived from these materials.
-Why so many? Not only this particular Yeti very large, he is also a very discriminating eater. We must tease his palate...
-While you gather the spices, I will begun my preparations here. Hurry back!
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-03.html b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-03.html
deleted file mode 100644
index b87040fe1f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-03.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Chef Jeremy:
-What the...?! Blast!
-Do you want to see a chef go crazy? While you're wasting time, Donath is probably creating a dish that will steal away my position as top chef!
-Leave now, gather the ingredients and bring them to me at once!
-There's no time to waste!
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-04.html b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-04.html
deleted file mode 100644
index 69bd286ee7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-04.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Chef Jeremy:
-Unbelievable!
-You brought them back so quickly!
-I had a good feeling about you! This should be plenty for now.
-Now, let me have those ingredients.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-05.html b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-05.html
deleted file mode 100644
index 06e1d72d83..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-05.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Chef Jeremy:
-Keep this soy sauce with you, and come back when you have the rest of the ingredients.
-Hold on a second...
-Ah yes, here are some Ice Crystals. They'll keep the sauce fresh, and you can use them for something else later on...
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-06.html b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-06.html
deleted file mode 100644
index a153f6a663..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/31521-06.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Chef Jeremy:
-Are you kidding me? You had the ingredients and now they're gone? I need to sit down!
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/Q00624_TheFinestIngredientsPart1.java b/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/Q00624_TheFinestIngredientsPart1.java
deleted file mode 100644
index 5064f99835..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00624_TheFinestIngredientsPart1/Q00624_TheFinestIngredientsPart1.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00624_TheFinestIngredientsPart1;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-/**
- * The Finest Ingredients - Part 1.
- * @author Citizen, jurchiks, xban1x
- */
-public final class Q00624_TheFinestIngredientsPart1 extends Quest
-{
- // NPC
- private static final int JEREMY = 31521;
- // Items
- private static final int TRUNK_OF_NEPENTHES = 7202;
- private static final int FOOT_OF_BANDERSNATCHLING = 7203;
- private static final int SECRET_SPICE = 7204;
- // Rewards
- private static final int ICE_CRYSTAL = 7080;
- private static final int SOY_SAUCE_JAR = 7205;
- // Misc
- private static final int MIN_LVL = 73;
- private static final Map MONSTER_DROPS = new HashMap<>();
- static
- {
- MONSTER_DROPS.put(21314, FOOT_OF_BANDERSNATCHLING); // Hot Springs Bandersnatchling
- MONSTER_DROPS.put(21317, SECRET_SPICE); // Hot Springs Atroxspawn
- MONSTER_DROPS.put(21319, TRUNK_OF_NEPENTHES); // Hot Springs Nepenthes
- MONSTER_DROPS.put(21321, SECRET_SPICE); // Hot Springs Atrox
- }
-
- public Q00624_TheFinestIngredientsPart1()
- {
- super(624, Q00624_TheFinestIngredientsPart1.class.getSimpleName(), "The Finest Ingredients - Part 1");
- addStartNpc(JEREMY);
- addTalkId(JEREMY);
- addKillId(MONSTER_DROPS.keySet());
- registerQuestItems(TRUNK_OF_NEPENTHES, FOOT_OF_BANDERSNATCHLING, SECRET_SPICE);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs != null)
- {
- switch (event)
- {
- case "31521-02.htm":
- {
- qs.startQuest();
- htmltext = event;
- break;
- }
- case "31521-05.html":
- {
- if (qs.isCond(2) && (getQuestItemsCount(player, getRegisteredItemIds()) == 150))
- {
- giveItems(player, ICE_CRYSTAL, 1);
- giveItems(player, SOY_SAUCE_JAR, 1);
- qs.exitQuest(true, true);
- htmltext = "31521-05.html";
- }
- else
- {
- htmltext = "31521-06.html";
- }
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final L2PcInstance partyMember = getRandomPartyMember(killer, 1);
- if ((partyMember != null) && partyMember.isInsideRadius(npc, 1500, true, false))
- {
- final int item = MONSTER_DROPS.get(npc.getId());
- final long count = getQuestItemsCount(partyMember, item);
- if ((count + 1) >= 50)
- {
- if (count < 50)
- {
- giveItems(partyMember, item, 50 - count);
- playSound(partyMember, QuestSound.ITEMSOUND_QUEST_FANFARE_MIDDLE);
- }
- if (getQuestItemsCount(partyMember, getRegisteredItemIds()) == 150)
- {
- getQuestState(partyMember, false).setCond(2, true);
- }
- }
- else
- {
- giveItems(partyMember, item, 1);
- playSound(partyMember, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- return super.onKill(npc, killer, isSummon);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, true);
- String htmltext = getNoQuestMsg(player);
- if (qs != null)
- {
- switch (qs.getState())
- {
- case State.CREATED:
- {
- htmltext = (player.getLevel() >= MIN_LVL) ? "31521-01.htm" : "31521-00.htm";
- break;
- }
- case State.STARTED:
- {
- switch (qs.getCond())
- {
- case 1:
- {
- htmltext = "31521-03.html";
- break;
- }
- case 2:
- {
- htmltext = "31521-04.html";
- break;
- }
- }
- break;
- }
- }
- }
- return htmltext;
- }
-}
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm
deleted file mode 100644
index 44c80be1e4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-It's ready. Now give me the soy sauce that I gave you earlier.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-02.htm b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-02.htm
deleted file mode 100644
index 05c3809bb0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-02.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-What happened to the pot of soy sauce I gave you?
-I need it to flavor the food I'm making to lure that creature out!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-03.htm b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-03.htm
deleted file mode 100644
index 3b327a7e26..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-03.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-Hey! I know my food is wonderful, but if you eat too much of it and get fat, how will you carry out such a dangerous assignment?
-(Only a character of level 73 or above may undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm
deleted file mode 100644
index 72d5aeb586..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-04.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Chef Jeremy:
-All right, now find the Icicle Emperor Bumbalump, or whatever you want to call him, and put out this food and wait.
- He loves to eat, and won't be able to resist such a scrumptious meal from a world-class chef!
- You must hurry! Kill that filthy creature and bring me his meat!
- One more thing... He's quite a messy eater, and sometimes the table gets broken. If that happens, wait until he fixes the table.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-05.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-05.html
deleted file mode 100644
index fa0f83f7ff..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-05.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-Once I get that yeti's meat, I'll put that arrogant Donath in his place!
-Stop fooling around! Take the food I gave you and lure Bumbalump out. Understand?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html
deleted file mode 100644
index b44f591c07..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-06.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-Where's the Special Yeti Meat?
-I don't want anything else! As I said, all I need is the special meat from Bumbalump! Get it?!!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html
deleted file mode 100644
index 3ae1db1418..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-07.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Chef Jeremy:
-So, you slaughtered him?
-Did you bring the meat?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-08.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-08.html
deleted file mode 100644
index c4d67992bd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-08.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Chef Jeremy:
-Here is your pay. Many people were impressed by the dish I made. Whenever you have a chance, please stop by and help me again.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-09.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-09.html
deleted file mode 100644
index cc9b2e8913..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31521-09.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Chef Jeremy:
-Where are my ingredients?
-Unless you bring them to me at once, I won't have enough time to create a new dish!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html
deleted file mode 100644
index 301dd66105..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Yeti's Table:
-This is where Icicle Emperor Bumbalump eats his prey.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-02.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-02.html
deleted file mode 100644
index 545af13083..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Yeti's Table:
-Something smells delicious.
-Clank! Clank! Clank! Someone is approaching.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-03.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-03.html
deleted file mode 100644
index 4b5ae17ea2..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Yeti's Table:
-Icicle Emperor Bumbalump has been summoned.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-04.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-04.html
deleted file mode 100644
index 0e30e19df4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-04.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Yeti's Table:
-Place the bait you got from Chef Jeremy on the table now.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-05.html b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-05.html
deleted file mode 100644
index 48e38b9728..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/31542-05.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Yeti's Table:
-This is the table the Icicle Emperor Bumbalump eats on.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java b/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java
deleted file mode 100644
index 5ebc4be49e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00625_TheFinestIngredientsPart2/Q00625_TheFinestIngredientsPart2.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00625_TheFinestIngredientsPart2;
-
-import com.l2jmobius.gameserver.datatables.SpawnTable;
-import com.l2jmobius.gameserver.enums.ChatType;
-import com.l2jmobius.gameserver.model.Location;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.holders.ItemHolder;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.network.NpcStringId;
-import com.l2jmobius.gameserver.network.serverpackets.NpcSay;
-import com.l2jmobius.gameserver.util.Util;
-
-/**
- * The Finest Ingredients Part - 2 (625)
- * @author Janiko
- */
-public final class Q00625_TheFinestIngredientsPart2 extends Quest
-{
- // NPCs
- private static final int JEREMY = 31521;
- private static final int YETIS_TABLE = 31542;
- // Monster
- private static final int ICICLE_EMPEROR_BUMBALUMP = 25296;
- // Required Item
- private static final ItemHolder SOY_SOURCE_JAR = new ItemHolder(7205, 1);
- // Quest Items
- private static final ItemHolder FOOD_FOR_BUMBALUMP = new ItemHolder(7209, 1);
- private static final ItemHolder SPECIAL_YETI_MEAT = new ItemHolder(7210, 1);
- // Rewards
- private static final ItemHolder GREATER_DYE_OF_STR_1 = new ItemHolder(4589, 5);
- private static final ItemHolder GREATER_DYE_OF_STR_2 = new ItemHolder(4590, 5);
- private static final ItemHolder GREATER_DYE_OF_CON_1 = new ItemHolder(4591, 5);
- private static final ItemHolder GREATER_DYE_OF_CON_2 = new ItemHolder(4592, 5);
- private static final ItemHolder GREATER_DYE_OF_DEX_1 = new ItemHolder(4593, 5);
- private static final ItemHolder GREATER_DYE_OF_DEX_2 = new ItemHolder(4594, 5);
- // Location
- private static final Location ICICLE_EMPEROR_BUMBALUMP_LOC = new Location(158240, -121536, -2222);
- // Misc
- private static final int MIN_LVL = 73;
-
- public Q00625_TheFinestIngredientsPart2()
- {
- super(625, Q00625_TheFinestIngredientsPart2.class.getSimpleName(), "The Finest Ingredients - Part 2");
- addStartNpc(JEREMY);
- addTalkId(JEREMY, YETIS_TABLE);
- addSpawnId(ICICLE_EMPEROR_BUMBALUMP);
- addKillId(ICICLE_EMPEROR_BUMBALUMP);
- registerQuestItems(FOOD_FOR_BUMBALUMP.getId(), SPECIAL_YETI_MEAT.getId());
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs == null)
- {
- return htmltext;
- }
-
- switch (event)
- {
- case "31521-04.htm":
- {
- if (qs.isCreated())
- {
- qs.startQuest();
- takeItem(player, SOY_SOURCE_JAR);
- giveItems(player, FOOD_FOR_BUMBALUMP);
- htmltext = event;
- }
- break;
- }
- case "31521-08.html":
- {
- if (qs.isCond(3))
- {
- if (hasItem(player, SPECIAL_YETI_MEAT))
- {
- final int random = getRandom(1000);
- if (random < 167)
- {
- rewardItems(player, GREATER_DYE_OF_STR_1);
- }
- else if (random < 334)
- {
- rewardItems(player, GREATER_DYE_OF_STR_2);
- }
- else if (random < 501)
- {
- rewardItems(player, GREATER_DYE_OF_CON_1);
- }
- else if (random < 668)
- {
- rewardItems(player, GREATER_DYE_OF_CON_2);
- }
- else if (random < 835)
- {
- rewardItems(player, GREATER_DYE_OF_DEX_1);
- }
- else if (random < 1000)
- {
- rewardItems(player, GREATER_DYE_OF_DEX_2);
- }
- qs.exitQuest(false, true);
- htmltext = event;
- }
- else
- {
- htmltext = "31521-09.html";
- }
- }
- break;
- }
- case "31542-02.html":
- {
- if (qs.isCond(1))
- {
- if (hasItem(player, FOOD_FOR_BUMBALUMP))
- {
- if (!isBumbalumpSpawned())
- {
- qs.setCond(2, true);
- takeItem(player, FOOD_FOR_BUMBALUMP);
- final L2Npc umpaloopa = addSpawn(ICICLE_EMPEROR_BUMBALUMP, ICICLE_EMPEROR_BUMBALUMP_LOC);
- umpaloopa.setSummoner(player);
- htmltext = event;
- }
- else
- {
- htmltext = "31542-03.html";
- }
- }
- else
- {
- htmltext = "31542-04.html";
- }
- }
- break;
- }
- case "NPC_TALK":
- {
- if (isBumbalumpSpawned())
- {
- npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.OOOH));
- }
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance talker)
- {
- final QuestState qs = getQuestState(talker, true);
- String htmltext = getNoQuestMsg(talker);
- switch (npc.getId())
- {
- case JEREMY:
- {
- if (qs.isCreated())
- {
- if (talker.getLevel() >= MIN_LVL)
- {
- htmltext = hasItem(talker, SOY_SOURCE_JAR) ? "31521-01.htm" : "31521-02.htm";
- }
- else
- {
- htmltext = "31521-03.htm";
- }
- }
- else if (qs.isStarted())
- {
- switch (qs.getCond())
- {
- case 1:
- {
- htmltext = "31521-05.html";
- break;
- }
- case 2:
- {
- htmltext = "31521-06.html";
- break;
- }
- case 3:
- {
- htmltext = "31521-07.html";
- break;
- }
- }
- }
- else if (qs.isCompleted())
- {
- htmltext = getAlreadyCompletedMsg(talker);
- }
- break;
- }
- case YETIS_TABLE:
- {
- switch (qs.getCond())
- {
- case 1:
- {
- if (hasItem(talker, FOOD_FOR_BUMBALUMP))
- {
- htmltext = "31542-01.html";
- }
- break;
- }
- case 2:
- {
- if (!isBumbalumpSpawned())
- {
- final L2Npc umpaloopa = addSpawn(ICICLE_EMPEROR_BUMBALUMP, ICICLE_EMPEROR_BUMBALUMP_LOC);
- umpaloopa.setSummoner(talker);
- htmltext = "31542-02.html";
- }
- else
- {
- htmltext = "31542-03.html";
- }
- break;
- }
- case 3:
- {
- htmltext = "31542-05.html";
- break;
- }
- }
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onSpawn(L2Npc npc)
- {
- startQuestTimer("NPC_TALK", 1000 * 1200, npc, null);
- // npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.I_SMELL_SOMETHING_DELICIOUS)); // TODO: St3eT: Find proper NpcStringId
- return super.onSpawn(npc);
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final QuestState qs = getRandomPartyMemberState(killer, 1, 2, npc);
- if ((qs != null) && Util.checkIfInRange(1500, npc, killer, true) && (npc.getSummoner() == killer))
- {
- qs.setCond(3, true);
- giveItems(qs.getPlayer(), SPECIAL_YETI_MEAT);
- }
- return super.onKill(npc, killer, isSummon);
- }
-
- private static boolean isBumbalumpSpawned()
- {
- return SpawnTable.getInstance().findAny(ICICLE_EMPEROR_BUMBALUMP) != null;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-01.htm b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-01.htm
deleted file mode 100644
index 49531539cc..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-01.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-Engineer Lekon:
-I'm asking you this because you've proved that you have the qualifications to fly... Will you help me full time? It's been a struggle to maintain and repair Keucereus Alliance Base.
-Finding quality help isn't easy in times like these, you know... I have a good feeling about you, though!
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-02.htm b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-02.htm
deleted file mode 100644
index d7464d49e2..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-02.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Engineer Lekon:
-Combat experience and skill are both very important. My task is also important, however. Do not take it personally when I say you have not yet proven your worth or earned my trust.
-(Only characters who are level 75 or above and who have completed the "Good Day to Fly" quest may undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-03.htm b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-03.htm
deleted file mode 100644
index 8e9b61a418..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-03.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Engineer Lekon:
-You've already dealt with the Vulture Riders or Elite Riders before, so you know how dangerous they are. Fortunately, they can't directly attack Keucereus Alliance Base because of the Barrier Orb handed down from the Giants. But they roam the area as pirates, attacking merchants or isolated bands of soldiers.
-The leader of the Vulture Riders is a Master Rider called Valdstone. He was once the lord of Gracia, but he refused the power of the seed, chose to accept some infernal power, and was subsequently corrupted. He and his minions are a legitimate threat we must take seriously.
-That's why I'm asking you this. Will you defeat Master Rider Valdstone? If you succeed, the power of the Vulture Riders and Elite Riders will be greatly reduced. How about it? Will you attempt it?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-04.htm b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-04.htm
deleted file mode 100644
index 78e9718e83..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-04.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Engineer Lekon:
-You certainly don't lack for bravery.
-Now go defeat bring Master Rider Valdstone near the Keucereus Alliance Base and bring me a Vulture's Golden Feather from his mount as proof.
-According to what I've heard, the vulture that Valdstone rides is much larger and fiercer than the others. Its feathers are blue when young, but become a golden color as the creature ages. Valdstone's mount should have plenty of golden feathers. Of course, you will be rewarded for all feathers taken from Vulture Rider mounts.
-Eh? Why are you looking at me like that? You don't think I'm more concerned with the feather than I am defeating the Valdstone and his riders? Oh...well, of course the feather is very precious in its own right... But you must defeat these pirates and protect the safety of our air space! Hurry!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-05.html b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-05.html
deleted file mode 100644
index 9ca1f54886..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-05.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Engineer Lekon:
-Why haven't you left yet? Hurry!
-Bring me the Vulture's Golden Feather as evidence that you've defeated Master Rider Valdstone and scattered his followers, the Vulture Riders and Elite Riders. You must defeat these pirates and protect the safety of our air space! You're not thinking of quitting, are you?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-06.html b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-06.html
deleted file mode 100644
index 3160f0248d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-06.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Engineer Lekon:
-Ah, you're back. Well? What's this? Judging from the lack of Vulture's Golden Feathers
-, it looks as if you defeated only a few Vulture Riders and Elite Riders but did not face their leader, Master Rider Valdstone. Here's the reward I promised you, but unless you defeat the Valdstone our fortress is still in danger. Will you keep hunting?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-07.html b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-07.html
deleted file mode 100644
index fc52e02b5d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-07.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Engineer Lekon:
-You're back! Let's see here... Ah, you've brought quite a few Vulture's Golden Feathers. You must have succeeded in defeating Master Rider Valdstone, or have defeated a great many Vulture Riders or Elite Riders. Ha ha! This will put a dent in their plans. I'm delighted with your progress!
-Here is the reward I promised you. I know it's not much compared to what you've gone through, but I hope it helps.
-Say...you've got a real knack for this. Care to go back out and hunt some more?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-08.html b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-08.html
deleted file mode 100644
index 2819e6dbb0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-08.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Engineer Lekon:
-Excellent! I'm very happy to hear you say that.
-I'll reward you further if you bring me the Vulture's Golden Feather after defeating Master Rider Valdstone and his followers, the Vulture Riders and Elite Riders, who are roaming near Keucereus Alliance Base. Please protect the safety of our air space!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-09.html b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-09.html
deleted file mode 100644
index 7016ba0fe5..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/32557-09.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Engineer Lekon:
-Too bad! I suppose I can't force you to help us, though. Thanks for what you've done, and good luck in your travels. Farewell!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/Q00699_GuardianOfTheSkies.java b/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/Q00699_GuardianOfTheSkies.java
deleted file mode 100644
index edbb8cff6b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00699_GuardianOfTheSkies/Q00699_GuardianOfTheSkies.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00699_GuardianOfTheSkies;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
-
-/**
- * Guardian of the Skies
- * @author xban1x
- */
-public class Q00699_GuardianOfTheSkies extends Quest
-{
- // NPC
- private static final int LEKON = 32557;
- // Monsters
- private static final int VALDSTONE = 25623;
- private static final Map MONSTERS = new HashMap<>();
- static
- {
- MONSTERS.put(22614, 840); // Vulture Rider lvl 1
- MONSTERS.put(22615, 857); // Vulture Rider lvl 2
- MONSTERS.put(25633, 719); // Vulture Rider lvl 3
- }
-
- // Item
- private static final int VULTURES_GOLDEN_FEATHER = 13871;
- // Misc
- private static final int MIN_LVL = 75;
- private static final int VULTURES_GOLDEN_FEATHER_ADENA = 1500;
- private static final int BONUS = 8335;
- private static final int BONUS_COUNT = 10;
-
- public Q00699_GuardianOfTheSkies()
- {
- super(699, Q00699_GuardianOfTheSkies.class.getSimpleName(), "Guardian of the Skies");
- addStartNpc(LEKON);
- addTalkId(LEKON);
- addKillId(VALDSTONE);
- addKillId(MONSTERS.keySet());
- registerQuestItems(VULTURES_GOLDEN_FEATHER);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs != null)
- {
- switch (event)
- {
- case "32557-03.htm":
- case "32557-08.html":
- {
- htmltext = event;
- break;
- }
- case "32557-04.htm":
- {
- qs.startQuest();
- htmltext = event;
- break;
- }
- case "32557-09.html":
- {
- qs.exitQuest(true, true);
- htmltext = event;
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance killer, boolean isSummon)
- {
- final QuestState qs = getQuestState(killer, false);
- if (qs != null)
- {
- if (npc.getId() == VALDSTONE)
- {
- int amount = 0;
- final int chance = getRandom(1000);
- if (chance < 215)
- {
- amount = getRandom(10) + 90;
- }
- else if (chance < 446)
- {
- amount = getRandom(10) + 80;
- }
- else if (chance < 715)
- {
- amount = getRandom(10) + 70;
- }
- else
- {
- amount = getRandom(10) + 60;
- }
- giveItems(killer, VULTURES_GOLDEN_FEATHER, amount);
- playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- else if (getRandom(1000) < MONSTERS.get(npc.getId()))
- {
- giveItems(killer, VULTURES_GOLDEN_FEATHER, 1);
- playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- return super.onKill(npc, killer, isSummon);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- QuestState qs = getQuestState(player, true);
- String htmltext = getNoQuestMsg(player);
- if (qs != null)
- {
- switch (qs.getState())
- {
- case State.CREATED:
- {
- qs = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
- htmltext = ((qs == null) || !qs.isCompleted() || (player.getLevel() < MIN_LVL)) ? "32557-02.htm" : "32557-01.htm";
- break;
- }
- case State.STARTED:
- {
- final long feathers = getQuestItemsCount(player, VULTURES_GOLDEN_FEATHER);
- if (feathers > 0)
- {
- giveAdena(player, (feathers * VULTURES_GOLDEN_FEATHER_ADENA) + (feathers > BONUS_COUNT ? BONUS : 0), true);
- takeItems(player, VULTURES_GOLDEN_FEATHER, -1);
- htmltext = (feathers > BONUS_COUNT) ? "32557-07.html" : "32557-06.html";
- }
- else
- {
- htmltext = "32557-05.html";
- }
- break;
- }
- }
- }
- return htmltext;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-01.htm b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-01.htm
deleted file mode 100644
index b02c7f47c8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-01.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Orbyu:
-I manage this wharf and oversee the many tasks necessary to keep these airships coming and going. My job allows me the chance to look at the sky often. Sometimes, I feel like I spend all day looking up.
-Can't say I dislike it. In fact, I used to daydream about flying as a child.
-Sigh...that was such a long time ago. Who would have thought that things would change so much?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-02.htm b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-02.htm
deleted file mode 100644
index 47bcafe5e2..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-02.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Soldier Orbyu:
-I first fell in love with flying because of Rok.
-Watching it spread its massive wings and soar through the sky stirred something deep in me. My people called Rok the King of Birds because of its power and dignity.
-But even Rok couldn't avoid the corruption that befell Gracia. This noble creature became a vile undead.
-And there's more...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-03.htm b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-03.htm
deleted file mode 100644
index 3a50f26ada..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-03.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Orbyu:
-No, I shouldn't have said all this to worry you, adventurer. You can listen to my complaints but look too inexperienced to resolve my problem. If you have more experience and become more capable, will you come and see me some time?
-(Only characters level 75 and above and who cleared the quest on a good day for flying are permitted to take on this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-04.htm b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-04.htm
deleted file mode 100644
index 8f47394271..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-04.htm
+++ /dev/null
@@ -1,8 +0,0 @@
-Soldier Orbyu:
-The bigger problem is Rok, who became undead because of the evil power of the Seed of Infinity. The Rok and its followers, Mutant Birds and Dra Hawks are viciously attacking everyone in their sight.
-They have attacked and eaten people before, but not like this.
-The army has been ordered to destroy them. I'm in charge of recruiting the adventurers we need for the task.
-I guess it's better this way. Only by destroying their accursed lives can we truly liberate these once-noble creatures.
-Will you help us?
-
-
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-05.htm b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-05.htm
deleted file mode 100644
index fb9a0b172f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-05.htm
+++ /dev/null
@@ -1,7 +0,0 @@
-Soldier Orbyu:
-Really? Thank you.
-If you hunt Rok and open its stomach, you will find undigested remains. The same is true of the Mutant Birds and Dra Hawks, although you'll find fewer remains in them.
-Bring me Swallowed Skulls as evidence, as well as Swallowed Sternums and Swallowed Bones. We will reward you for your efforts -- especially for the skulls you bring back.
-One more thing: Rok fears the Dark Black Dragon's followers. That's why it emerges only when the Seed of Infinity is stabilized. That means Rok can only be hunted when the Seed is occupied. Remember that!
-Good luck and good hunting.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-06.html b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-06.html
deleted file mode 100644
index c9ee218ebd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-06.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Orbyu:
-Hurry! They appear in the skies above the Seed of Infinity.
-Hunt Rok, Mutant Birds and Dra Hawks and bring back Swallowed Skulls, Swallowed Sternums and Swallowed Bones as proof.
-Remember that Rok will only emerge when the Seed of Immortiality is stabilized.
-I'm counting on you!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-07.html b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-07.html
deleted file mode 100644
index 3b60310dbf..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-07.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Soldier Orbyu:
-How was your hunting? Let me see the remains I asked you to bring back.
-Hmm... I'd hoped for more. Perhaps you haven't yet found the Rok.
-But since you brought the remains from some of the lesser birds, I will give you the reward I promised.
-You're going back out, aren't you?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-08.html b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-08.html
deleted file mode 100644
index 8a42bbc71d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-08.html
+++ /dev/null
@@ -1,8 +0,0 @@
-Soldier Orbyu:
-Have you finished your hunting? Then show me the remains I asked you to bring back.
-Let's see...
-Oh...you brought back a lot! From this, I can tell that you caught Rok and split its stomach open. Either that or you must have hunted a great many Mutant Birdsand Dra Hawks!
-Here is the reward I promised. Let me ask you, though -- are you interested in hunting more of the creatures?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-09.html b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-09.html
deleted file mode 100644
index 67ae975410..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-09.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Soldier Orbyu:
-Leave now! Remember that Rok appears only when the Seed of Immortaility is stabilized.
-Hunt Rok, Mutant Birds and Dra Hawks and bring back Swallowed Skulls, Swallowed Sternums and Swallowed Bones recovered from their stomachs.
-Good hunting!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-10.html b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-10.html
deleted file mode 100644
index a3783da653..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/32560-10.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Orbyu:
-I see. Well, I understand. It's regrettable, but I guess I'll have to look for someone else. Farewell.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/Q00700_CursedLife.java b/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/Q00700_CursedLife.java
deleted file mode 100644
index 301b6f9651..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00700_CursedLife/Q00700_CursedLife.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00700_CursedLife;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
-
-/**
- * Cursed Life (700)
- * @author xban1x
- */
-public class Q00700_CursedLife extends Quest
-{
- // NPC
- private static final int ORBYU = 32560;
- // Monsters
- private static final int ROK = 25624;
- private static final Map MONSTERS = new HashMap<>();
-
- //@formatter:off
- static
- {
- MONSTERS.put(22602, new Integer[] { 15, 139, 965}); // Mutant Bird lvl 1
- MONSTERS.put(22603, new Integer[] { 15, 143, 999}); // Mutant Bird lvl 2
- MONSTERS.put(25627, new Integer[] { 14, 125, 993}); // Mutant Bird lvl 3
- MONSTERS.put(22604, new Integer[] { 5, 94, 994}); // Dra Hawk lvl 1
- MONSTERS.put(22605, new Integer[] { 5, 99, 993}); // Dra Hawk lvl 2
- MONSTERS.put(25628, new Integer[] { 3, 73, 991}); // Dra Hawk lvl 3
- }
- //@formatter:on
- // Items
- private static final int SWALLOWED_BONES = 13874;
- private static final int SWALLOWED_STERNUM = 13873;
- private static final int SWALLOWED_SKULL = 13872;
- // Misc
- private static final int MIN_LVL = 75;
- private static final int SWALLOWED_BONES_ADENA = 500;
- private static final int SWALLOWED_STERNUM_ADENA = 5000;
- private static final int SWALLOWED_SKULL_ADENA = 50000;
- private static final int BONUS = 16670;
-
- public Q00700_CursedLife()
- {
- super(700, Q00700_CursedLife.class.getSimpleName(), "Cursed Life");
- addStartNpc(ORBYU);
- addTalkId(ORBYU);
- addKillId(ROK);
- addKillId(MONSTERS.keySet());
- registerQuestItems(SWALLOWED_BONES, SWALLOWED_STERNUM, SWALLOWED_SKULL);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- QuestState qs = getQuestState(player, false);
- String htmltext = null;
- if (qs != null)
- {
- switch (event)
- {
- case "32560-02.htm":
- {
- qs = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
- htmltext = ((player.getLevel() < MIN_LVL) || (qs == null) || !qs.isCompleted()) ? "32560-03.htm" : event;
- break;
- }
- case "32560-04.htm":
- case "32560-09.html":
- {
- htmltext = event;
- break;
- }
- case "32560-05.htm":
- {
- qs.startQuest();
- htmltext = event;
- break;
- }
- case "32560-10.html":
- {
- qs.exitQuest(true, true);
- htmltext = event;
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, true);
- String htmltext = getNoQuestMsg(player);
- if (qs != null)
- {
- switch (qs.getState())
- {
- case State.CREATED:
- {
- htmltext = "32560-01.htm";
- break;
- }
- case State.STARTED:
- {
- final long bones = getQuestItemsCount(player, SWALLOWED_BONES);
- final long ribs = getQuestItemsCount(player, SWALLOWED_STERNUM);
- final long skulls = getQuestItemsCount(player, SWALLOWED_SKULL);
- final long sum = bones + ribs + skulls;
- if (sum > 0)
- {
- giveAdena(player, (bones * SWALLOWED_BONES_ADENA) + (ribs * SWALLOWED_STERNUM_ADENA) + (skulls * SWALLOWED_SKULL_ADENA) + (sum >= 10 ? BONUS : 0), true);
- takeItems(player, -1, SWALLOWED_BONES, SWALLOWED_STERNUM, SWALLOWED_SKULL);
- htmltext = sum < 10 ? "32560-07.html" : "32560-08.html";
- }
- else
- {
- htmltext = "32560-06.html";
- }
- break;
- }
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
- {
- final QuestState qs = getQuestState(player, false);
- if (qs != null)
- {
- if (npc.getId() == ROK)
- {
- int amount = 0, chance = getRandom(1000);
- if (chance < 700)
- {
- amount = 1;
- }
- else if (chance < 885)
- {
- amount = 2;
- }
- else if (chance < 949)
- {
- amount = 3;
- }
- else if (chance < 966)
- {
- amount = getRandom(5) + 4;
- }
- else if (chance < 985)
- {
- amount = getRandom(9) + 4;
- }
- else if (chance < 993)
- {
- amount = getRandom(7) + 13;
- }
- else if (chance < 997)
- {
- amount = getRandom(15) + 9;
- }
- else if (chance < 999)
- {
- amount = getRandom(23) + 53;
- }
- else
- {
- amount = getRandom(49) + 76;
- }
- giveItems(player, SWALLOWED_BONES, amount);
- chance = getRandom(1000);
- if (chance < 520)
- {
- amount = 1;
- }
- else if (chance < 771)
- {
- amount = 2;
- }
- else if (chance < 836)
- {
- amount = 3;
- }
- else if (chance < 985)
- {
- amount = getRandom(2) + 4;
- }
- else if (chance < 995)
- {
- amount = getRandom(4) + 5;
- }
- else
- {
- amount = getRandom(8) + 6;
- }
- giveItems(player, SWALLOWED_STERNUM, amount);
- chance = getRandom(1000);
- if (chance < 185)
- {
- amount = getRandom(2) + 1;
- }
- else if (chance < 370)
- {
- amount = getRandom(6) + 2;
- }
- else if (chance < 570)
- {
- amount = getRandom(6) + 7;
- }
- else if (chance < 850)
- {
- amount = getRandom(6) + 12;
- }
- else
- {
- amount = getRandom(6) + 17;
- }
- giveItems(player, SWALLOWED_SKULL, amount);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- else
- {
- final Integer[] chances = MONSTERS.get(npc.getId());
- final int chance = getRandom(1000);
- if (chance < chances[0])
- {
- giveItems(player, SWALLOWED_BONES, 1);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- else if (chance < chances[1])
- {
- giveItems(player, SWALLOWED_STERNUM, 1);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- else if (chance < chances[2])
- {
- giveItems(player, SWALLOWED_SKULL, 1);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- }
- }
- return super.onKill(npc, player, isSummon);
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-01.htm b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-01.htm
deleted file mode 100644
index a4cd0ff4c6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-01.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-We've recently seen a drop in the morale of the soldiers of Gracia. There is a rumor that some soldiers who ventured near the Seed of Immotality saw something strange. Perhaps it was a ghost or an evil spirit; some say they saw a beautiful woman. But when they approached it, it disappeared -- only to appear suddenly elsewhere and attack them! Now our soldiers are frightened to venture outside the Barrier Orb. Pitiful, isn't it?
-Perhaps you could go out and determine the truth of these rumors. How about it? Will you help me?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-02.htm b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-02.htm
deleted file mode 100644
index 3865d429aa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-02.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-We've recently seen a drop in the morale of the soldiers of Gracia. There is a rumor that some soldiers who ventured near the Seed of Immotality saw something strange. Perhaps it was a ghost or an evil spirit; some say they saw a beautiful woman. But when they approached it, it disappeared -- only to appear suddenly elsewhere and attack them! Now our soldiers are frightened to venture outside the Barrier Orb. Pitiful, isn't it?
-If you were a more experienced adventurer, perhaps you could go out and determine the truth of these rumors.
-(Only characters who are level 78 and above and have completed the "Good Day for Flying" quest may undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-03.htm b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-03.htm
deleted file mode 100644
index 221e0486b0..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-03.htm
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-We think that what the soldiers saw might have been a monster called Banshee Queen Enira. If so, that would be a dangerous enemy. In can create fear using Floating Zombies and Floating Skulls.
-Still, experienced soldiers shouldn't be reduced to a gaggle of frightened children! If I weren't needed here to safeguard the Barrier Orb, I'd go deal with this myself. Since I can't go, I need a skilled adventurer. How about it? With your ability, I'm you can handle whatever you encounter out there.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-04.htm b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-04.htm
deleted file mode 100644
index 1e8ec56dcf..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-04.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-War Mage Artius:
-Excellent!
-Then go defeat Banshee Queen Enira that lurks near the Seed of Infinity. You should also destroy the Floating Zombies and Floating Skulls that always accompany this monster. As evidence of your victory, bring back the Banshee Queen's Eye as well as Skeletal Remains from the Floating Zombies and Floating Skulls. I promise you that you will be rewarded for your help. But don't forget that these monsters only appear at night!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-05.html b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-05.html
deleted file mode 100644
index d4f74ea42d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-05.html
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-You haven't left yet?! You promised to go destroy Banshee Queen Enira. I'll also reward you for destroying the Floating Skulls and Floating Zombies. Remember, you'll have to go at night. I can't believe an adventurer like you would have second thoughts about this mission!
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-06.html b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-06.html
deleted file mode 100644
index f7e619b9b7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-06.html
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-Ah! You're back? What's this? You couldn't defeat that vile monster? That's unfortunate, but a promise is a promise. Here's a reward for your other efforts in this matter. But you're not giving up already, are you? Please destroy Banshee Queen Enira! I'll also reward you for eliminating the Floating Skulls and Floating Zombies. Just remember, you'll have to go at night. Are you ready?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-07.html b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-07.html
deleted file mode 100644
index 2a75df973b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-07.html
+++ /dev/null
@@ -1,5 +0,0 @@
-War Mage Artius:
-Oh! You've returned? Ah, you have the Banshee Queen's Eye! Thanks to this proof, I'm sure the soldiers will feel better about the whole situation. Thank you very much! Don't worry about the reward. I will give more for destroying the Floating Skulls and Floating Zombies. Can you also make sure that the Banshee Queen hasn't reappeared? The power of the Seed of Infinity can resurrect even these creatures, making it necessary to destroy them several times. Any help you can give me will be much appreciated. Remember, you have to hunt them at night. You're not going to stop now, are you?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-08.html b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-08.html
deleted file mode 100644
index 341e16dd13..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-08.html
+++ /dev/null
@@ -1,3 +0,0 @@
-War Mage Artius:
-Thank you! I will give you a generous reward for the Banshee Queen's Eye and the Deadman's Remains you obtained in your hunting. Good luck!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-09.html b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-09.html
deleted file mode 100644
index f3eac7848d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/32559-09.html
+++ /dev/null
@@ -1,3 +0,0 @@
-War Mage Artius:
-I'm sorry to hear that, but I suppose there's nothing I can say to change your mind. You must have your reasons. Well, good luck to you.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/Q00701_ProofOfExistence.java b/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/Q00701_ProofOfExistence.java
deleted file mode 100644
index 9fa937d4ec..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00701_ProofOfExistence/Q00701_ProofOfExistence.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00701_ProofOfExistence;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
-
-/**
- * Proof of Existence (701)
- * @author malyelfik
- */
-public class Q00701_ProofOfExistence extends Quest
-{
- // NPC
- private static final int ARTIUS = 32559;
- // Items
- private static final int DEADMANS_REMAINS = 13875;
- private static final int BANSHEE_QUEENS_EYE = 13876;
- // Monsters
- private static final int ENIRA = 25625;
- private static final Map MOBS = new HashMap<>();
- static
- {
- MOBS.put(22606, 518); // Floating Skull
- MOBS.put(22607, 858); // Floating Skull
- MOBS.put(22608, 482); // Floating Zombie
- MOBS.put(22609, 466); // Floating Zombie
- MOBS.put(25629, 735); // Floating Skull (Enira's Evil Spirit)
- MOBS.put(25630, 391); // Floating Zombie (Enira's Evil Spirit)
- }
-
- // Misc
- private static final int MIN_LEVEL = 78;
-
- public Q00701_ProofOfExistence()
- {
- super(701, Q00701_ProofOfExistence.class.getSimpleName(), "Proof of Existence");
- addStartNpc(ARTIUS);
- addTalkId(ARTIUS);
- addKillId(MOBS.keySet());
- addKillId(ENIRA);
- registerQuestItems(DEADMANS_REMAINS, BANSHEE_QUEENS_EYE);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- return null;
- }
- String htmltext = event;
- switch (event)
- {
- case "32559-03.htm":
- case "32559-08.html":
- {
- break;
- }
- case "32559-04.htm":
- {
- qs.startQuest();
- break;
- }
- case "32559-09.html":
- {
- qs.exitQuest(true, true);
- break;
- }
- default:
- {
- htmltext = null;
- break;
- }
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
- {
- final L2PcInstance member = getRandomPartyMember(player, 1);
- if (member == null)
- {
- return super.onKill(npc, player, isSummon);
- }
-
- if (npc.getId() == ENIRA)
- {
- final int chance = getRandom(1000);
- final int count;
- if (chance < 708)
- {
- count = getRandom(2) + 1;
- }
- else if (chance < 978)
- {
- count = getRandom(3) + 3;
- }
- else if (chance < 994)
- {
- count = getRandom(4) + 6;
- }
- else if (chance < 998)
- {
- count = getRandom(4) + 10;
- }
- else
- {
- count = getRandom(5) + 14;
- }
- giveItems(player, BANSHEE_QUEENS_EYE, count);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- else if (getRandom(1000) < MOBS.get(npc.getId()))
- {
- giveItems(player, DEADMANS_REMAINS, 1);
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- }
- return super.onKill(npc, player, isSummon);
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- switch (qs.getState())
- {
- case State.CREATED:
- {
- final QuestState qst = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
- htmltext = ((player.getLevel() >= MIN_LEVEL) && (qst != null) && qst.isCompleted()) ? "32559-01.htm" : "32559-02.htm";
- break;
- }
- case State.STARTED:
- {
- if (hasQuestItems(player, BANSHEE_QUEENS_EYE))
- {
- giveAdena(player, (getQuestItemsCount(player, DEADMANS_REMAINS) * 2500) + (getQuestItemsCount(player, BANSHEE_QUEENS_EYE) * 50000) + 23835, true);
- takeItems(player, BANSHEE_QUEENS_EYE, -1);
- takeItems(player, DEADMANS_REMAINS, -1);
- htmltext = "32559-07.html";
- }
- else if (hasQuestItems(player, DEADMANS_REMAINS))
- {
- giveAdena(player, getQuestItemsCount(player, DEADMANS_REMAINS) * 2500, true);
- takeItems(player, DEADMANS_REMAINS, -1);
- htmltext = "32559-06.html";
- }
- else
- {
- htmltext = "32559-05.html";
- }
- break;
- }
- }
- return htmltext;
- }
-}
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-01.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-01.html
deleted file mode 100644
index 6e16573923..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-01.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-What brings you here?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-02.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-02.html
deleted file mode 100644
index 28c0128895..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-02.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Soldier Tenis: Did you just say you want to catch Dius, the Messenger of Destruction? He is not your average monster, you know! You don't know what you're getting into!
-Say, you're not joking, are you? All right. Well, since I'm wounded, I guess you're my only chance to get some payback. If not for that creature, I'd still be fighting with my buddies on the front lines instead of rotting away back here. If I can help you at all, I will.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-03.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-03.html
deleted file mode 100644
index dbacacac6b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-03.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Dius:
-First of all, Dius did not willingly succumb to the Seed of Destruction. As a result, he becomes stronger whenever the Seed becomes weaker. Unless the Seed of Destruction becomes stable, therefore, you can't defeat him.
-Even then, you can't you can't destroy Dius by normal methods. He has an acute sense of smell and is very intelligent, so he rarely appears when there are a lot of people present. Instead he strikes isolated individuals when they least expect it.
-But he can be defeated! You just have to lay a trap for him! When Admiral Keucereus ordered me to destroy Dius, I spent months perfecting a trap.
-First, we need flesh from one of its subordinates: the Drak, Drake Wing or mutant Drake Wing. Collect 100 Drake's Flesh. I need that much to prepare a single trap. Later I'll explain it more fully.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-04.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-04.html
deleted file mode 100644
index 364b1d9cc9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-04.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Tenis:
-What is it?
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-05.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-05.html
deleted file mode 100644
index f10816682e..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-05.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Tenis:
-Really? That's too bad. Did you think defeating Dius would be easy? I failed too, remember. Well... I'm not trying to criticize you. I really didn't expect you to succeed. Good-bye.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-06.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-06.html
deleted file mode 100644
index f846b0a5b6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-06.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-Are you trying to play games with me? I told you to bring 100! Without that many, we can't make the trap.
-If all you want is to make a quick buck, go and see Plenos. Or are you satisfied earning peanuts? Hmph!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-07.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-07.html
deleted file mode 100644
index 9a59664493..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-07.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Tenis:
-Very good! Now I can prepare one of the trap ingredients. I will give you one key ingredient per 100 Drake's Flesh. I will exchange it one at a time. With my injury, I'm afraid I can't do any more. But I'm your only option here. No one else has my depth of knowledge about this creature.
-Do you want to continue?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-08.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-08.html
deleted file mode 100644
index 11ae741b42..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-08.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Solider Tenis:
-Here you go. What's this? Heh heh... I squeezed the flesh you gave me. Out of it came this rotten blood. Then I enhanced the blood smell using my secret method. Heh -- the bloody of smell of revenge seems to be spreading even up here.
-You want to know why I didn't just have you collect the blood? Well, the key is how the blood is extracted. Think about it! Blood from its own kind is used to lure it into the trap... What a sweet trap for revenge?
-Now take this to Engineer Lekon. He has made many traps for me. He'll know how to make this one for Dius.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-09.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-09.html
deleted file mode 100644
index 7fbeec022f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-09.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Solider Tenis:
-Fine -- if you don't want to exchange it, don't. Just don't forget that I'm the only one who can make the trap you need.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-10.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-10.html
deleted file mode 100644
index 54ce28eafb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-10.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Tenis:
-Ha! You say you defeated Dius? You claim to have succeeded where I failed? Where's the proof?
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-11.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-11.html
deleted file mode 100644
index 1198d89638..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-11.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Soldier Tenis:
-You really defeated him? Hee hee... Is this his horn? Ah, revenge is sweet.
-It's almost as good as if I did the deed myself. Wonderful! Just looking at the horn does my heart good. Thinking about it makes me feel all warm. Hey! I'd like the horn as a souvenir, to comfort me while I recover. Would you give it to me?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-12.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-12.html
deleted file mode 100644
index 4f72d104e8..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-12.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Soldier Tenis:
-What can a poor injured soldier like me offer?
-Well... Come to think of it, there is a box I hid long ago. I found it while exploring the Seed of Destruction. Funny, I haven't thought about it until now.
-But I don't know what's inside it. I think it's something heavy and precious, though. If you hand over the horn, I will give you whatever is in the box. Maybe it's something worth more than what Plenos can offer, eh? Or maybe it's something worthless. Care to gamble? What's life without a little risk, eh?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-13.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-13.html
deleted file mode 100644
index f299de2689..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-13.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Tenis:
-Hey, no need to get angry! If you don't like my offer, no problem. Just take the horn to Plenos. You'll get what's coming to you there...
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-14.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-14.html
deleted file mode 100644
index 46a6c00dfa..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-14.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-What? Really? Promise you won't change your mind later? Then give me that horn. Shall we open the box?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-15.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-15.html
deleted file mode 100644
index bb5a3ea3b9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-15.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-Oh ho, this is quite a good reward....both Adena and several expensive materials. It's certainly better than anything you would get from Plenos. I think we'd both benefit. Frankly, you're lucky to have gotten that box, too.
-There are more, you know... Bring me another horn and I we can do another deal.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-16.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-16.html
deleted file mode 100644
index d9905fcba6..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-16.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-Huh! That seems like a lot of money... Other than that there isn't anything special. Trust me, you're getting a good deal here. But what's done is done.
-Of course, there are more boxes; bring me another horn and we can do another trade.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-17.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-17.html
deleted file mode 100644
index 753ba0e418..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-17.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-Huh! Not a lot of money in it. But it is full of expensive-looking materials. It was sure heavy... I'm guessing that if you sell these, you could probably make a lot of money. You could also use them yourself. Satisfied? Either way, what's done is done.
-Of course, there are more boxes; bring me another horn and we can do another trade.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-18.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-18.html
deleted file mode 100644
index d73a76cbcc..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32555-18.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Tenis:
-Hey, this box is full of rocks! What the...? Oh, here are some Adena and other materials as well. Whew! Well, a trade is trade. I have nothing to say. You're just unlucky, my friend.
-Of course, there are more boxes; bring me another horn and we can do another trade.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-01.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-01.html
deleted file mode 100644
index 74db87128b..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-01.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Engineer Lekon:
-Can't you see I'm busy! What business do you have with me? C'mon, speak up. Time is money, you know.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-02.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-02.html
deleted file mode 100644
index 52f6d9cf30..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-02.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Engineer Lekon:
-I think I know what you're talking about. Tenius mentioned it... It's not beautiful, but I'll do it. But I need 100 Red Star Stone Extraction Stones to make it. Just let me know when you have them ready.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-03.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-03.html
deleted file mode 100644
index cdd5419b01..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-03.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Engineer Lekon:
-Where are the materials? What I am supposed to work with? There's nothing here!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-04.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-04.html
deleted file mode 100644
index affaf86465..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-04.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Engineer Lekon:
-I told you that I need100 Red Star Stone Extraction Stones. You don't have enough here.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-05.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-05.html
deleted file mode 100644
index f9f22353c9..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-05.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Engineer Lekon:
-I think there is an item you need to get from Tenius.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-06.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-06.html
deleted file mode 100644
index aaf1f0b661..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32557-06.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Engineer Lekon:
-Here! It's finished. It radiates intense energy now that the blood energy has been added to the original energy of the Red Star Stone Extraction Stones. You should be able to use it to lure out Dius, the Messenger of Destruction.
-Do you know how to use it? Find some Baby Drake Wings and cover them with it. Hopefully that will make Dius believe that his young are being attacked and he will become enraged. Be careful -- he will be very dangerous at that point. But this tactic should exploit the Dragonkins' instinct to protect their own kind.
-I'm sure Tenis already told you that Dius will appear only when the Seed of Destruction becomes stable. This bait will be useless if you use it at any other time.
-Good luck!
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-01.htm b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-01.htm
deleted file mode 100644
index d5575eca27..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-01.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-This is a special mission that can only be undertaken by capable adventurers. Do you want to prove your worth? Then accept this mission!
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-02.htm b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-02.htm
deleted file mode 100644
index d352e3ee8a..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-02.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-This mission is too difficult for someone with your limited experience.
-(Only characters who are level 78 or higher and who have completed the "Good Day to Fly" Quest may undertake this quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-03.htm b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-03.htm
deleted file mode 100644
index 952f2b81a7..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-03.htm
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Plenos:
-I hoped that you would accept this challenge! You won't find a better opportunity to enhance your reputation and make a tidy pile of money.
-Let's cut to the chase. Hunt the Deadman of Destruction, Dius that appears in the sky above the Seed of Destruction. It is a type of mutant Drake that has proven resistant to the power of the Seed. In fact, when the Seed is stabilized, it and its Drake followers have been attacking our supply and transport ships. It has become a real problem for us.
-What do you say? Will you accept the mission?
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-04.htm b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-04.htm
deleted file mode 100644
index d4305bb5a1..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-04.htm
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-Good! But don't expect this to be easy. Its spirit is so strong that it doesn't succumb to the power of the Seed. Many have promised to hunt them, but few have succeeded. Most are killed or seriously wounded in the attempt.
-But you look like the type who likes a challenge, eh? I'd recommend that you go see Soldier Tenius near the center of Keucereus Alliance Base before leaving. He was injured while hunting Dius. Nobody knows more about this monster than he does.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-05.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-05.html
deleted file mode 100644
index ae95d9adab..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-05.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-You haven't forgotten about the mission, have you?
-Go see Soldier Tenius in the center of Keucereus Alliance Base. He can tell you what you need to know to successfully hunt Dius, the Deadman of Destruction.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-06.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-06.html
deleted file mode 100644
index e6f311d8ac..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-06.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Soldier Plenos:
-What did you do?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-07.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-07.html
deleted file mode 100644
index 764472bf7d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-07.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-Really? Show me the evidence.
-No proof, eh? What are you trying to pull? Unless you bring proof, I can't just accept your word for it.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-08.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-08.html
deleted file mode 100644
index 999a769697..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-08.html
+++ /dev/null
@@ -1,5 +0,0 @@
-Soldier Plenos:
-Hmm...These are definitely the creatures who follow Dius... Of course, these aren't the real problem, so I can't give you much of a reward. Will you still accept it?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-09.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-09.html
deleted file mode 100644
index 84aeb5ea5c..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-09.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-Here it is. It's not much, but I hope it brings you luck.
-And I pray that you have better luck hunting Dius, the Lion of Destruction.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-10.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-10.html
deleted file mode 100644
index 56d9092463..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-10.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-Fine. That's what I want too.
-Before you go, I heard Tenius mention something about using this to make some kind of bait... It might be a good idea for you to talk to him about it.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-11.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-11.html
deleted file mode 100644
index 764472bf7d..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-11.html
+++ /dev/null
@@ -1,4 +0,0 @@
-Soldier Plenos:
-Really? Show me the evidence.
-No proof, eh? What are you trying to pull? Unless you bring proof, I can't just accept your word for it.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-12.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-12.html
deleted file mode 100644
index e1966bc48f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-12.html
+++ /dev/null
@@ -1,6 +0,0 @@
-Soldier Plenos:
-Ah, a horn from Dius, the Lion of Destruction! What a fight that must have been! Marvelous! Your skill is very impressive.
-Here is the reward I promised. I only wish it could be more. Could I persuade you to continue hunting?
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-13.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-13.html
deleted file mode 100644
index a660d93349..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-13.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Plenos:
-Thank you! Then go hunt Dius, the Lion of Destruction in the sky above the the Seed of Destruction and bring back its horn as proof.
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-14.html b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-14.html
deleted file mode 100644
index 2475be6807..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/32563-14.html
+++ /dev/null
@@ -1,3 +0,0 @@
-Soldier Plenos:
-Are you sure you want to quit? I guess there's nothing I can say to change your mind, eh? I haven't met anyone else as skilled in hunting Dius as you are. What a waste...
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/Q00702_ATrapForRevenge.java b/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/Q00702_ATrapForRevenge.java
deleted file mode 100644
index 91517a74d4..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00702_ATrapForRevenge/Q00702_ATrapForRevenge.java
+++ /dev/null
@@ -1,440 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00702_ATrapForRevenge;
-
-import com.l2jmobius.gameserver.enums.QuestSound;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
-
-/**
- * A Trap for Revenge (702)
- * @author malyelfik
- */
-public class Q00702_ATrapForRevenge extends Quest
-{
- // NPC
- private static final int PLENOS = 32563;
- private static final int LEKON = 32557;
- private static final int TENIUS = 32555;
- private static final int[] MONSTERS =
- {
- 22612,
- 22613,
- 25632,
- 22610,
- 22611,
- 25631,
- 25626
- };
- // Items
- private static final int DRAKES_FLESH = 13877;
- private static final int ROTTEN_BLOOD = 13878;
- private static final int BAIT_FOR_DRAKES = 13879;
- private static final int VARIANT_DRAKE_WING_HORNS = 13880;
- private static final int EXTRACTED_RED_STAR_STONE = 14009;
-
- public Q00702_ATrapForRevenge()
- {
- super(702, Q00702_ATrapForRevenge.class.getSimpleName(), "A Trap for Revenge");
- addStartNpc(PLENOS);
- addTalkId(PLENOS, LEKON, TENIUS);
- addKillId(MONSTERS);
- registerQuestItems(DRAKES_FLESH, ROTTEN_BLOOD, BAIT_FOR_DRAKES, VARIANT_DRAKE_WING_HORNS);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- String htmltext = event;
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- return getNoQuestMsg(player);
- }
-
- if (event.equalsIgnoreCase("32563-04.htm"))
- {
- qs.startQuest();
- }
- else if (event.equalsIgnoreCase("32563-07.html"))
- {
- htmltext = hasQuestItems(player, DRAKES_FLESH) ? "32563-08.html" : "32563-07.html";
- }
- else if (event.equalsIgnoreCase("32563-09.html"))
- {
- giveAdena(player, getQuestItemsCount(player, DRAKES_FLESH) * 100, false);
- takeItems(player, DRAKES_FLESH, -1);
- }
- else if (event.equalsIgnoreCase("32563-11.html"))
- {
- if (hasQuestItems(player, VARIANT_DRAKE_WING_HORNS))
- {
- giveAdena(player, getQuestItemsCount(player, VARIANT_DRAKE_WING_HORNS) * 200000, false);
- takeItems(player, VARIANT_DRAKE_WING_HORNS, -1);
- htmltext = "32563-12.html";
- }
- else
- {
- htmltext = "32563-11.html";
- }
- }
- else if (event.equalsIgnoreCase("32563-14.html"))
- {
- qs.exitQuest(true, true);
- }
- else if (event.equalsIgnoreCase("32557-03.html"))
- {
- if (!hasQuestItems(player, ROTTEN_BLOOD) && (getQuestItemsCount(player, EXTRACTED_RED_STAR_STONE) < 100))
- {
- htmltext = "32557-03.html";
- }
- else if (hasQuestItems(player, ROTTEN_BLOOD) && (getQuestItemsCount(player, EXTRACTED_RED_STAR_STONE) < 100))
- {
- htmltext = "32557-04.html";
- }
- else if (!hasQuestItems(player, ROTTEN_BLOOD) && (getQuestItemsCount(player, EXTRACTED_RED_STAR_STONE) >= 100))
- {
- htmltext = "32557-05.html";
- }
- else if (hasQuestItems(player, ROTTEN_BLOOD) && (getQuestItemsCount(player, EXTRACTED_RED_STAR_STONE) >= 100))
- {
- giveItems(player, BAIT_FOR_DRAKES, 1);
- takeItems(player, ROTTEN_BLOOD, 1);
- takeItems(player, EXTRACTED_RED_STAR_STONE, 100);
- htmltext = "32557-06.html";
- }
- }
- else if (event.equalsIgnoreCase("32555-03.html"))
- {
- qs.setCond(2, true);
- }
- else if (event.equalsIgnoreCase("32555-05.html"))
- {
- qs.exitQuest(true, true);
- }
- else if (event.equalsIgnoreCase("32555-06.html"))
- {
- if (getQuestItemsCount(player, DRAKES_FLESH) < 100)
- {
- htmltext = "32555-06.html";
- }
- else
- {
- htmltext = "32555-07.html";
- }
- }
- else if (event.equalsIgnoreCase("32555-08.html"))
- {
- giveItems(player, ROTTEN_BLOOD, 1);
- takeItems(player, DRAKES_FLESH, 100);
- }
- else if (event.equalsIgnoreCase("32555-10.html"))
- {
- if (hasQuestItems(player, VARIANT_DRAKE_WING_HORNS))
- {
- htmltext = "32555-11.html";
- }
- else
- {
- htmltext = "32555-10.html";
- }
- }
- else if (event.equalsIgnoreCase("32555-15.html"))
- {
- final int i0 = getRandom(1000);
- final int i1 = getRandom(1000);
-
- if ((i0 >= 500) && (i1 >= 600))
- {
- giveAdena(player, getRandom(49917) + 125000, false);
- if (i1 < 720)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9629, getRandom(3) + 1);
- }
- else if (i1 < 840)
- {
- giveItems(player, 9629, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- else if (i1 < 960)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- else if (i1 < 1000)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9629, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- htmltext = "32555-15.html";
- }
- else if ((i0 >= 500) && (i1 < 600))
- {
- giveAdena(player, getRandom(49917) + 125000, false);
- if (i1 < 210)
- {
- }
- else if (i1 < 340)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- }
- else if (i1 < 470)
- {
- giveItems(player, 9629, getRandom(3) + 1);
- }
- else if (i1 < 600)
- {
- giveItems(player, 9630, getRandom(3) + 1);
- }
-
- htmltext = "32555-16.html";
- }
- else if ((i0 < 500) && (i1 >= 600))
- {
- giveAdena(player, getRandom(49917) + 25000, false);
- if (i1 < 720)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9629, getRandom(3) + 1);
- }
- else if (i1 < 840)
- {
- giveItems(player, 9629, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- else if (i1 < 960)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- else if (i1 < 1000)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- giveItems(player, 9629, getRandom(3) + 1);
- giveItems(player, 9630, getRandom(3) + 1);
- }
- htmltext = "32555-17.html";
- }
- else if ((i0 < 500) && (i1 < 600))
- {
- giveAdena(player, getRandom(49917) + 25000, false);
- if (i1 < 210)
- {
- }
- else if (i1 < 340)
- {
- giveItems(player, 9628, getRandom(3) + 1);
- }
- else if (i1 < 470)
- {
- giveItems(player, 9629, getRandom(3) + 1);
- }
- else if (i1 < 600)
- {
- giveItems(player, 9630, getRandom(3) + 1);
- }
-
- htmltext = "32555-18.html";
- }
- takeItems(player, VARIANT_DRAKE_WING_HORNS, 1);
- }
- return htmltext;
- }
-
- @Override
- public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
- {
- final L2PcInstance partyMember = getRandomPartyMember(player, 2);
- if (partyMember == null)
- {
- return null;
- }
-
- final int chance = getRandom(1000);
- switch (npc.getId())
- {
- case 22612:
- {
- if (chance < 413)
- {
- giveItems(player, DRAKES_FLESH, 2);
- }
- else
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 22613:
- {
- if (chance < 440)
- {
- giveItems(player, DRAKES_FLESH, 2);
- }
- else
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 25632:
- {
- if (chance < 996)
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 22610:
- {
- if (chance < 485)
- {
- giveItems(player, DRAKES_FLESH, 2);
- }
- else
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 22611:
- {
- if (chance < 451)
- {
- giveItems(player, DRAKES_FLESH, 2);
- }
- else
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 25631:
- {
- if (chance < 485)
- {
- giveItems(player, DRAKES_FLESH, 2);
- }
- else
- {
- giveItems(player, DRAKES_FLESH, 1);
- }
- break;
- }
- case 25626:
- {
- int count = 0;
- if (chance < 708)
- {
- count = getRandom(2) + 1;
- }
- else if (chance < 978)
- {
- count = getRandom(3) + 3;
- }
- else if (chance < 994)
- {
- count = getRandom(4) + 6;
- }
- else if (chance < 998)
- {
- count = getRandom(4) + 10;
- }
- else if (chance < 1000)
- {
- count = getRandom(5) + 14;
- }
- giveItems(player, VARIANT_DRAKE_WING_HORNS, count);
- break;
- }
- }
- playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
- return null;
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- String htmltext = getNoQuestMsg(player);
- final QuestState qs = getQuestState(player, true);
- if (qs == null)
- {
- return htmltext;
- }
-
- if (npc.getId() == PLENOS)
- {
- switch (qs.getState())
- {
- case State.CREATED:
- {
- final QuestState prev = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
- htmltext = ((prev != null) && prev.isCompleted() && (player.getLevel() >= 78)) ? "32563-01.htm" : "32563-02.htm";
- break;
- }
- case State.STARTED:
- {
- htmltext = qs.isCond(1) ? "32563-05.html" : "32563-06.html";
- break;
- }
- }
- }
- if (qs.getState() == State.STARTED)
- {
- if (npc.getId() == LEKON)
- {
- switch (qs.getCond())
- {
- case 1:
- {
- htmltext = "32557-01.html";
- break;
- }
- case 2:
- {
- htmltext = "32557-02.html";
- break;
- }
- }
- }
- else if (npc.getId() == TENIUS)
- {
- switch (qs.getCond())
- {
- case 1:
- {
- htmltext = "32555-01.html";
- break;
- }
- case 2:
- {
- htmltext = "32555-04.html";
- break;
- }
- }
- }
- }
- return htmltext;
- }
-}
diff --git a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-00.html b/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-00.html
deleted file mode 100644
index e2dfa21ffb..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-00.html
+++ /dev/null
@@ -1,7 +0,0 @@
-Warehouse Chief Natools:
-Both of these missions are very important.
-Not only must they be completed quickly, they also have extensive political ramifications.
-I do not think you are yet ready to take on so important a responsibility.
-Perhaps with more training and experience...
-(Only characters level 38 and above who have completed Shadow Fox - 3 are permitted to undertake either the Fallen Angel - Request of Dusk or the Fallen Angel - Request of Dawn quest.)
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-01.html b/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-01.html
deleted file mode 100644
index 7e6863a258..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-01.html
+++ /dev/null
@@ -1,9 +0,0 @@
-Warehouse Chief Natools:
-In the name of Shadow Fox... You must choose now.
-Select either the request of the Temple and the Lords of Dawn, or that of the Preachers of the Wilderness and the Revolutionaries of Dusk...
-Choose wisely -- once you have made your decision, it cannot be reversed...
-
-
-
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-02.html b/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-02.html
deleted file mode 100644
index 3eb1ec0687..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-02.html
+++ /dev/null
@@ -1,9 +0,0 @@
-Warehouse Chief Natools:
-The Temple and the Rulers of Dawn believe that Einhasad created Humans, and that they are her rightful representatives in this world, with the power to issue commands in her name.
-They believe that the other gods are inferior to Einhasad, and so their followers should submit to the Temple's leadership in the war against Shilen and the forces of chaos.
-Unity and order are their chief concerns, and they take a dim view of diversity and individualism.
-In fact, they believe that only through a unified society built on a rigid hierarchy can justice prevail and the weak be truly protected.
-Certainly, their argument carries some weight: the weak are daily attacked and exploited, and justice seems but a dream to most...
-Ultimately, the Temple and the Rulers of Dawn hope for some sort of reborn empire to bring peace and order to the land...
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-03.html b/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-03.html
deleted file mode 100644
index c60c1b485f..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/30894-03.html
+++ /dev/null
@@ -1,10 +0,0 @@
-Warehouse Chief Natools:
-They argue that we should respect diversity....
-They believe that all power and all living things are equal on this earth, and that the Temple and the Lords should use their power to protect the powerless.
-Instead, they say, the Temple and the Lords simply exploit the people to protect their own interests and vested rights.
-They are hypocrites...
-The Revolutionaries of Dusk believe that true peace is not artificially imposed on society by a central authority, but rather achieved through a harmonious diversity of powers and races.
-They say that Einhasad did not, in fact, create Humans -- that was a myth fabricated by Shunaiman, and the Temple and Lords of Dawn know the truth but are afraid to reveal it...
-The Revolutionaries of Dusk are dedicated to finding some crucial piece of evidence that would permanently discredit their foes.
-
-
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/Q00998_FallenAngelSelect.java b/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/Q00998_FallenAngelSelect.java
deleted file mode 100644
index 4c321040cd..0000000000
--- a/trunk/dist/game/data/scripts/quests/Q00998_FallenAngelSelect/Q00998_FallenAngelSelect.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * 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 .
- */
-package quests.Q00998_FallenAngelSelect;
-
-import com.l2jmobius.gameserver.instancemanager.QuestManager;
-import com.l2jmobius.gameserver.model.actor.L2Npc;
-import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
-import com.l2jmobius.gameserver.model.quest.Quest;
-import com.l2jmobius.gameserver.model.quest.QuestState;
-import com.l2jmobius.gameserver.model.quest.State;
-
-import quests.Q00141_ShadowFoxPart3.Q00141_ShadowFoxPart3;
-import quests.Q00142_FallenAngelRequestOfDawn.Q00142_FallenAngelRequestOfDawn;
-import quests.Q00143_FallenAngelRequestOfDusk.Q00143_FallenAngelRequestOfDusk;
-
-/**
- * Fallen Angel Select (998 - Custom)
- * NOTE: This quest is used for start quest 142 or 143
- * @author Nono
- */
-public class Q00998_FallenAngelSelect extends Quest
-{
- // NPCs
- private static final int NATOOLS = 30894;
- // Misc
- private static final int MIN_LEVEL = 38;
-
- public Q00998_FallenAngelSelect()
- {
- super(998, Q00998_FallenAngelSelect.class.getSimpleName(), "Fallen Angel - Select");
- setIsCustom(true);
- addStartNpc(NATOOLS);
- addTalkId(NATOOLS);
- }
-
- @Override
- public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, false);
- if (qs == null)
- {
- return null;
- }
-
- switch (event)
- {
- case "30894-01.html":
- case "30894-02.html":
- case "30894-03.html":
- {
- return event;
- }
- case "dawn":
- {
- startQuest(Q00142_FallenAngelRequestOfDawn.class.getSimpleName(), player);
- break;
- }
- case "dusk":
- {
- startQuest(Q00143_FallenAngelRequestOfDusk.class.getSimpleName(), player);
- break;
- }
- }
- return null;
- }
-
- private void startQuest(String name, L2PcInstance player)
- {
- final Quest q = QuestManager.getInstance().getQuest(name);
- if (q != null)
- {
- q.newQuestState(player);
- q.notifyEvent("30894-01.html", null, player);
- player.getQuestState(getName()).setState(State.COMPLETED);
- }
- }
-
- @Override
- public String onTalk(L2Npc npc, L2PcInstance player)
- {
- final QuestState qs = getQuestState(player, true);
- final QuestState qst = player.getQuestState(Q00141_ShadowFoxPart3.class.getSimpleName());
- if ((qst == null) || !qst.isStarted())
- {
- return getNoQuestMsg(player);
- }
- return ((player.getLevel() >= MIN_LEVEL) && (qs != null) && qs.isCompleted()) ? "30894-01.html" : "30894-00.html";
- }
-}
\ No newline at end of file
diff --git a/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java b/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java
index e520986593..3228193844 100644
--- a/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java
+++ b/trunk/dist/game/data/scripts/quests/QuestMasterHandler.java
@@ -96,19 +96,13 @@ import quests.Q00254_LegendaryTales.Q00254_LegendaryTales;
import quests.Q00255_Tutorial.Q00255_Tutorial;
import quests.Q00270_TheOneWhoEndsSilence.Q00270_TheOneWhoEndsSilence;
import quests.Q00278_HomeSecurity.Q00278_HomeSecurity;
-import quests.Q00279_TargetOfOpportunity.Q00279_TargetOfOpportunity;
import quests.Q00298_LizardmensConspiracy.Q00298_LizardmensConspiracy;
-import quests.Q00300_HuntingLetoLizardman.Q00300_HuntingLetoLizardman;
import quests.Q00307_ControlDeviceOfTheGiants.Q00307_ControlDeviceOfTheGiants;
import quests.Q00310_OnlyWhatRemains.Q00310_OnlyWhatRemains;
-import quests.Q00326_VanquishRemnants.Q00326_VanquishRemnants;
import quests.Q00336_CoinsOfMagic.Q00336_CoinsOfMagic;
import quests.Q00337_AudienceWithTheLandDragon.Q00337_AudienceWithTheLandDragon;
-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;
@@ -152,17 +146,12 @@ import quests.Q00509_AClansFame.Q00509_AClansFame;
import quests.Q00510_AClansPrestige.Q00510_AClansPrestige;
import quests.Q00511_AwlUnderFoot.Q00511_AwlUnderFoot;
import quests.Q00551_OlympiadStarter.Q00551_OlympiadStarter;
-import quests.Q00552_OlympiadVeteran.Q00552_OlympiadVeteran;
import quests.Q00553_OlympiadUndefeated.Q00553_OlympiadUndefeated;
-import quests.Q00603_DaimonTheWhiteEyedPart1.Q00603_DaimonTheWhiteEyedPart1;
-import quests.Q00604_DaimonTheWhiteEyedPart2.Q00604_DaimonTheWhiteEyedPart2;
import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames;
import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame;
import quests.Q00621_EggDelivery.Q00621_EggDelivery;
import quests.Q00622_SpecialtyLiquorDelivery.Q00622_SpecialtyLiquorDelivery;
import quests.Q00623_TheFinestFood.Q00623_TheFinestFood;
-import quests.Q00624_TheFinestIngredientsPart1.Q00624_TheFinestIngredientsPart1;
-import quests.Q00625_TheFinestIngredientsPart2.Q00625_TheFinestIngredientsPart2;
import quests.Q00626_ADarkTwilight.Q00626_ADarkTwilight;
import quests.Q00627_HeartInSearchOfPower.Q00627_HeartInSearchOfPower;
import quests.Q00631_DeliciousTopChoiceMeat.Q00631_DeliciousTopChoiceMeat;
@@ -177,10 +166,6 @@ import quests.Q00652_AnAgedExAdventurer.Q00652_AnAgedExAdventurer;
import quests.Q00655_AGrandPlanForTamingWildBeasts.Q00655_AGrandPlanForTamingWildBeasts;
import quests.Q00662_AGameOfCards.Q00662_AGameOfCards;
import quests.Q00688_DefeatTheElrokianRaiders.Q00688_DefeatTheElrokianRaiders;
-import quests.Q00699_GuardianOfTheSkies.Q00699_GuardianOfTheSkies;
-import quests.Q00700_CursedLife.Q00700_CursedLife;
-import quests.Q00701_ProofOfExistence.Q00701_ProofOfExistence;
-import quests.Q00702_ATrapForRevenge.Q00702_ATrapForRevenge;
import quests.Q00754_AssistingTheRebelForces.Q00754_AssistingTheRebelForces;
import quests.Q00755_InNeedOfPetras.Q00755_InNeedOfPetras;
import quests.Q00756_TopQualityPetra.Q00756_TopQualityPetra;
@@ -194,7 +179,6 @@ import quests.Q00905_RefinedDragonBlood.Q00905_RefinedDragonBlood;
import quests.Q00906_TheCallOfValakas.Q00906_TheCallOfValakas;
import quests.Q00907_DragonTrophyValakas.Q00907_DragonTrophyValakas;
import quests.Q00943_FillingTheEnergyOfDestruction.Q00943_FillingTheEnergyOfDestruction;
-import quests.Q00998_FallenAngelSelect.Q00998_FallenAngelSelect;
import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
import quests.Q10274_CollectingInTheAir.Q10274_CollectingInTheAir;
import quests.Q10275_ContainingTheAttributePower.Q10275_ContainingTheAttributePower;
@@ -398,19 +382,13 @@ final class QuestMasterHandler
Q00255_Tutorial.class,
Q00270_TheOneWhoEndsSilence.class,
Q00278_HomeSecurity.class,
- Q00279_TargetOfOpportunity.class,
Q00298_LizardmensConspiracy.class,
- Q00300_HuntingLetoLizardman.class,
Q00307_ControlDeviceOfTheGiants.class,
Q00310_OnlyWhatRemains.class,
- Q00326_VanquishRemnants.class,
Q00336_CoinsOfMagic.class,
Q00337_AudienceWithTheLandDragon.class,
- Q00350_EnhanceYourWeapon.class,
- Q00357_WarehouseKeepersAmbition.class,
Q00359_ForASleeplessDeadman.class,
Q00371_ShrieksOfGhosts.class,
- Q00372_LegacyOfInsolence.class,
Q00373_SupplierOfReagents.class,
Q00376_ExplorationOfTheGiantsCavePart1.class,
Q00377_ExplorationOfTheGiantsCavePart2.class,
@@ -451,17 +429,12 @@ final class QuestMasterHandler
Q00510_AClansPrestige.class,
Q00511_AwlUnderFoot.class,
Q00551_OlympiadStarter.class,
- Q00552_OlympiadVeteran.class,
Q00553_OlympiadUndefeated.class,
- Q00603_DaimonTheWhiteEyedPart1.class,
- Q00604_DaimonTheWhiteEyedPart2.class,
Q00617_GatherTheFlames.class,
Q00618_IntoTheFlame.class,
Q00621_EggDelivery.class,
Q00622_SpecialtyLiquorDelivery.class,
Q00623_TheFinestFood.class,
- Q00624_TheFinestIngredientsPart1.class,
- Q00625_TheFinestIngredientsPart2.class,
Q00626_ADarkTwilight.class,
Q00627_HeartInSearchOfPower.class,
Q00631_DeliciousTopChoiceMeat.class,
@@ -476,10 +449,6 @@ final class QuestMasterHandler
Q00655_AGrandPlanForTamingWildBeasts.class,
Q00662_AGameOfCards.class,
Q00688_DefeatTheElrokianRaiders.class,
- Q00699_GuardianOfTheSkies.class,
- Q00700_CursedLife.class,
- Q00701_ProofOfExistence.class,
- Q00702_ATrapForRevenge.class,
Q00754_AssistingTheRebelForces.class,
Q00755_InNeedOfPetras.class,
Q00756_TopQualityPetra.class,
@@ -493,7 +462,6 @@ final class QuestMasterHandler
Q00906_TheCallOfValakas.class,
Q00907_DragonTrophyValakas.class,
Q00943_FillingTheEnergyOfDestruction.class,
- Q00998_FallenAngelSelect.class,
Q10273_GoodDayToFly.class,
Q10274_CollectingInTheAir.class,
Q10275_ContainingTheAttributePower.class,
diff --git a/trunk/dist/game/data/scripts/quests/QuestsToDo.xlsx b/trunk/dist/game/data/scripts/quests/QuestsToDo.xlsx
new file mode 100644
index 0000000000..bbc7ee42ae
Binary files /dev/null and b/trunk/dist/game/data/scripts/quests/QuestsToDo.xlsx differ
diff --git a/trunk/dist/game/data/xsd/LevelUpCrystalData.xsd b/trunk/dist/game/data/xsd/LevelUpCrystalData.xsd
deleted file mode 100644
index ae8419a69d..0000000000
--- a/trunk/dist/game/data/xsd/LevelUpCrystalData.xsd
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file