diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/MissingQuests.txt index 7a78ea9109..2fc408957d 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/MissingQuests.txt @@ -20,6 +20,4 @@ 10871 Death to the Pirate King! 10993 Future: Dwarves 10994 Future: Orcs -11006 Future: People 11012 Future Elves -11018 Future: Dark Elves diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html new file mode 100644 index 0000000000..729f93d988 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html @@ -0,0 +1,4 @@ +Trader Lector:
+With your experience, you should think about greater tasks. I have friends who will help you realize them.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html new file mode 100644 index 0000000000..a221898cf1 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html @@ -0,0 +1,4 @@ +Trader Lector:
+With your experience, you should think about greater tasks. I have friends who will help you realize them.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm new file mode 100644 index 0000000000..34a2564031 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm @@ -0,0 +1,6 @@ +Trader Lector:
+Looks like you got accustomed to relying on the strength of your body. Then it's best if you become a Warrior, a Human Knight or a Rogue.
+Become a Human KnightBecome a Rogue \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm new file mode 100644 index 0000000000..4f5ae9cd98 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm @@ -0,0 +1,5 @@ +Trader Lector:
+You favor magic, I see: Then it's best if you become a Human Wizard or a Cleric.
+Become a Cleric \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html new file mode 100644 index 0000000000..34a1733e37 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html @@ -0,0 +1,4 @@ +Trader Lector:
+Are you still here? Don't worry about it. You can do it. Now get to it!
+(Press Alt+U to view destination in the quest dialog.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html new file mode 100644 index 0000000000..2fc6530b19 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html @@ -0,0 +1,3 @@ +Weapon Merchant Lector:
+(Only characters who are level 19 or above and who have completed the Perfect Leather Armor (3/3) quests may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html new file mode 100644 index 0000000000..be84bef78f --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html @@ -0,0 +1,4 @@ +Master Auron:
+Did Lector send you? Good to meet you. Path of the Warrior is not easy. But that's its main advantage.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html new file mode 100644 index 0000000000..8d4ca903fc --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html @@ -0,0 +1,3 @@ +Master Auron:
+You won't regret it. Tell me when you are ready to make a Class Transfer.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html new file mode 100644 index 0000000000..f520ea9e28 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html @@ -0,0 +1,4 @@ +Master Auron:
+The path of a Warrior is hard and full of thorn. If you're afraid of hardships, then try to find yourself another calling. Though, this I can't help you with.
+(The quest has already been completed. take a look at the Encyclopedia if you want to do a Class Transfer.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html new file mode 100644 index 0000000000..b81c6687dd --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html @@ -0,0 +1,4 @@ +Priest Zigaunt:
+Lector sent you, right? So you want to choose the path of a Cleric? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html new file mode 100644 index 0000000000..0e2b6ce70f --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html @@ -0,0 +1,3 @@ +Priest Zigaunt:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html new file mode 100644 index 0000000000..cea684bdcc --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html @@ -0,0 +1,5 @@ +Trader Payne:
+Excellent! Can you feel how well it fits? I hope it will protect you during your adventures.
+By the way, I have a request for you. I'm designing a new model of shield together with Grocer Vollodos, and we plan to put in on sale. I worked on the structural design, and Vollodos promised to come up with ideas for decoration and reinforce the finished product, but there haven't been any news from him for a while. Could you visit him and ask about his progress?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html new file mode 100644 index 0000000000..f637325eb4 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html @@ -0,0 +1,4 @@ +Captain Bezique:
+Did Lector send you? Do you want to become a Rogue? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html new file mode 100644 index 0000000000..5914a273c0 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html @@ -0,0 +1,3 @@ +Captain Bezique:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html new file mode 100644 index 0000000000..136d0fc1e7 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html @@ -0,0 +1,4 @@ +Parina:
+Lector sent you, right? So you want to choose the path of a Wizard? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html new file mode 100644 index 0000000000..6615274c90 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html @@ -0,0 +1,3 @@ +Parina:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html new file mode 100644 index 0000000000..3decf562cc --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html @@ -0,0 +1,4 @@ +Sir Klaus Vasper:
+Did Lector send you? Do you want to become a Human Knight? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html new file mode 100644 index 0000000000..3e6db5c1e5 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html @@ -0,0 +1,3 @@ +Sir Klaus Vasper:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java new file mode 100644 index 0000000000..f2be3efb09 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java @@ -0,0 +1,218 @@ +/* + * 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.Q11006_FuturePeople; + +import com.l2jmobius.gameserver.enums.Race; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.base.ClassId; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q11005_PerfectLeatherArmor3.Q11005_PerfectLeatherArmor3; + +/** + * Future People (11016) + * @author Stayway + */ +public class Q11006_FuturePeople extends Quest +{ + // NPCs + private static final int LECTOR = 30001; + private static final int PAYNE = 30136; + private static final int PARINA = 30391; + private static final int ZIGAUNT = 30022; + private static final int AURON = 30010; + private static final int KLAUS_VASPER = 30417; + private static final int BEZIQUE = 30379; + + // Items + private static final int FIRST_CLASS_BUFF_SCROLL = 29011; + private static final int IMPROVED_SOE = 49087; + + // Misc + private static final int MIN_LEVEL = 19; + + public Q11006_FuturePeople() + { + super(11006); + addStartNpc(LECTOR); + addTalkId(PAYNE, LECTOR, PARINA, ZIGAUNT, AURON, KLAUS_VASPER, BEZIQUE); + addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom + addCondRace(Race.HUMAN, "no-race.html"); // Custom + addCondCompletedQuest(Q11005_PerfectLeatherArmor3.class.getSimpleName(), "30001-04.html"); + setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_PEOPLE); + } + + @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 "30001-02.htm": + case "30001-02a.htm": + case "f_warrior.html": + case "f_knight.html": + case "f_rogue.html": + case "m_wizard.html": + case "m_cleric.html": + { + htmltext = event; + break; + } + case "a_warrior.html": + { + qs.startQuest(); + qs.setCond(2, true); + htmltext = event; + break; + } + case "a_knight.html": + { + qs.startQuest(); + qs.setCond(3, true); + htmltext = event; + break; + } + case "a_rogue.html": + { + qs.startQuest(); + qs.setCond(4, true); + htmltext = event; + break; + } + case "a_wizard.html": + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "a_cleric.html": // Custom html + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "30391-02.html": + case "30022-02.html": + case "30010-02.html": + case "30417-02.html": + case "30379-02.html": // Custom Html + { + if (qs.getCond() > 1) + { + giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5); + giveItems(player, IMPROVED_SOE, 1); + qs.exitQuest(false, true); + htmltext = event; + } + 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() == LECTOR) && (talker.getClassId() == ClassId.FIGHTER)) + { + htmltext = "30001-01.html"; + } + else if (talker.getClassId() == ClassId.MAGE) + { + htmltext = "30001-01a.html"; + } + break; + } + case State.STARTED: + { + if (npc.getId() == LECTOR) + { + if (qs.getCond() >= 1) + { + htmltext = "30001-03.html"; + } + break; + } + if ((npc.getId() == PARINA) && (talker.getClassId() != ClassId.WIZARD)) + { + if (qs.isCond(5)) + { + htmltext = "30391-01.html"; + } + break; + } + if ((npc.getId() == ZIGAUNT) && (talker.getClassId() != ClassId.CLERIC)) + { + if (qs.isCond(6)) + { + htmltext = "30022-01.html"; // Custom Html + } + break; + } + if ((npc.getId() == AURON) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(2)) + { + htmltext = "30010-01.html"; + } + break; + } + if ((npc.getId() == KLAUS_VASPER) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(3)) + { + htmltext = "30417-01.html"; + } + break; + } + if ((npc.getId() == BEZIQUE) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(4)) + { + htmltext = "30379-01.html"; // Custom Html + } + break; + } + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html new file mode 100644 index 0000000000..8ec4a298bb --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Cleric? Then you need to talk to Zigaunt. He will be waiting for you in the Temple of Einhasad in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html new file mode 100644 index 0000000000..87319f3433 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Knight? Then you need to talk with Sir Klaus Vasper. He will be waiting for you at the Central Square in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html new file mode 100644 index 0000000000..6ea5ce9232 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Rogue? Well-well... Then you need to talk to Captain Bezique. He will be waiting for at the western gates of the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html new file mode 100644 index 0000000000..1e4f01cb2c --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Warrior? Then you need to meet with Auron. He will be waiting for you at the entrance to the Warrior Guild building in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html new file mode 100644 index 0000000000..74c558855a --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Wizard? Then you need to talk to Parina. She will be waiting for you in front of the Temple of Einhasad in the Village of Gludin. I will let her know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html new file mode 100644 index 0000000000..397a8930d2 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html @@ -0,0 +1,7 @@ +Class description - Human Knight:
+Human Knights are the soldiers of a regular army who are skilled in martial arts.
+They pay great attention to defense, and that's why they are always suited in Heavy Armor. In combat, they use One-handed Swords, One-handed Blunt. Weapons and sturdy Shields. In a group, they act like defenders.
+Human Knights don't have attacking Skills, and that affects the speed of a battle, however, with skills such as Divine Heal, they can fight for a long periods of time.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html new file mode 100644 index 0000000000..a51ff7c908 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html @@ -0,0 +1,7 @@ +Class description - Rogue:
+Rogues are warriors who rely on agility and cunning, rather than strength and honor.
+In combat, they use Daggers and Bows, which allows them to effectively dispose of enemies in both close-range and long-range combat.
+They typically wear Light Armor that significantly lowers their defense, however they compensate for it with evasion and moving speed.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html new file mode 100644 index 0000000000..8f8e6f9bc3 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html @@ -0,0 +1,7 @@ +Class description - Warrior:
+Warriors are the mighty soldiers who rely on their savage strength the most.
+They can use any of the following weapons: Blue Mackerel: One-handed Sword, One-handed Blunt Weapon, Two-handed Blunt Weapon, Spear.
+They can't restore themselves and so are not suited for a single-player game, but in a group, they are excellent in the role of attackers.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html new file mode 100644 index 0000000000..23c42c9632 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html @@ -0,0 +1,7 @@ +Class description - Human Cleric:
+Human Clerics can perform holy miracles by the power of their faith. Heaven favors them.
+Their magic primarily focused on helping other players. By using holy magic, they heal and cast Buffs, which makes them essential for a group.
+After a Class Transfer they can't fight, except perhaps in a close combat. They can barely learn attacking spells. Clerics possess low attack power but compensate for it with various Buffs.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html new file mode 100644 index 0000000000..e0aa3de32e --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html @@ -0,0 +1,6 @@ +Class description - Human Wizard:
+Human Wizards are people who wield the key powers of this world.
+Specializing in attacking spells, they can freely manipulate Fire Magic and Dark Magic, which allows them to fight in different styles.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html new file mode 100644 index 0000000000..6351191362 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html @@ -0,0 +1,4 @@ +Weapon Merchant Lector:
+You ought to gain more experience. Come back later.
+(This quest is available to characters of Level 19 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html new file mode 100644 index 0000000000..e1b9e80f85 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html @@ -0,0 +1,4 @@ +Tetrarch Talos:
+You are not a Dark Elf. Get the hell out! +(This quest is available to Dark Elfs only.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html new file mode 100644 index 0000000000..21e7bd48cb --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html @@ -0,0 +1,4 @@ +Trader Vollodos:
+I think you are ready to gain new powers and set out into the world. What do you think? Do you want to gain new powers?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html new file mode 100644 index 0000000000..7180c4447a --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html @@ -0,0 +1,4 @@ +Trader Vollodos:
+I think you are ready to gain new powers and set out into the world. What do you think? Do you want to gain new powers?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm new file mode 100644 index 0000000000..8f82a90709 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm @@ -0,0 +1,5 @@ +Trader Vollodos:
+Looks like you more used to relying on the strength of your weapon, not spells. That's why it's better if you become a Palus Knight or an Assassin.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm new file mode 100644 index 0000000000..a30165a48b --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm @@ -0,0 +1,5 @@ +Trader Vollodos:
+You've got a talent for magic, I see. But it should be developed further. What do you think about being a Dark Wizard or a Shillien Oracle?
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html new file mode 100644 index 0000000000..79ad82a837 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html @@ -0,0 +1,3 @@ +Trader Vollodos:
+Haven't you set off? Only through trials can you archieve something new. Follow where the arrow points you. Come on, don't waste your time
+(you may check your destination in the quest dialog by pressing Alt+U.) \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html new file mode 100644 index 0000000000..c0645ae313 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html @@ -0,0 +1,3 @@ +Trader Vollodos:
+(Only characters who are level 19 or above and who have completed the Prepare for Trade (3/3) quests may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html new file mode 100644 index 0000000000..8ae41bb2b6 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html @@ -0,0 +1,4 @@ +Master Virgil:
+Vollodos told me about you. Do you want to became a Palus Knight?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html new file mode 100644 index 0000000000..5276915716 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html @@ -0,0 +1,2 @@ +Master Virgil:
+You made the right decision! Tell me when you are ready to make a Class Transfer. \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html new file mode 100644 index 0000000000..8f8afa30c7 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html @@ -0,0 +1,4 @@ +Magister Sidra:
+Did Lector send you? Do you want to become a Shillien Oracle? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html new file mode 100644 index 0000000000..4395ab076b --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html @@ -0,0 +1,3 @@ +Magister Sidra:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html new file mode 100644 index 0000000000..0e2184bd16 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html @@ -0,0 +1,4 @@ +Triskel:
+Lector sent you, right? So you want to choose the path of a Assassin? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html new file mode 100644 index 0000000000..86cf6d1c99 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html @@ -0,0 +1,3 @@ +Triskel:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html new file mode 100644 index 0000000000..0560d69f8b --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html @@ -0,0 +1,4 @@ +Witch Varika:
+Vollodos told me about you.Do you want to become a Dark Wizard?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html new file mode 100644 index 0000000000..f33db4fc1c --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html @@ -0,0 +1,3 @@ +Witch Varika:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java new file mode 100644 index 0000000000..b9cbd708d2 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java @@ -0,0 +1,199 @@ +/* + * 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.Q11018_FutureDarkElves; + +import com.l2jmobius.gameserver.enums.Race; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.base.ClassId; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q11017_PrepareForTrade3.Q11017_PrepareForTrade3; + +/** + * Future: Dark Elves (11018) + * @author Stayway + */ +public class Q11018_FutureDarkElves extends Quest +{ + // NPCs + private static final int VOLLODOS = 30137; + private static final int VIRGIL = 30329; + private static final int TRISKEL = 30416; + private static final int VARIKA = 30421; + private static final int SIDRA = 30330; + + // Items + private static final int FIRST_CLASS_BUFF_SCROLL = 29011; + private static final int IMPROVED_SOE = 49087; + + // Misc + private static final int MIN_LEVEL = 19; + + public Q11018_FutureDarkElves() + { + super(11018); + addStartNpc(VOLLODOS); + addTalkId(VIRGIL, VOLLODOS, TRISKEL, VARIKA, SIDRA); + addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom + addCondRace(Race.DARK_ELF, "no-race.html"); // Custom + addCondCompletedQuest(Q11017_PrepareForTrade3.class.getSimpleName(), "30137-04.html"); + setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_DARK_ELVES); + } + + @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 "30137-02.htm": + case "30137-02a.htm": + case "f_PalusKnight.html": + case "f_assassin.html": + case "m_wizard.html": + case "m_shillien.html": + { + htmltext = event; + break; + } + case "a_PalusKnight.html": + { + qs.startQuest(); + qs.setCond(2, true); + htmltext = event; + break; + } + case "a_assassin.html": // Custom html + { + qs.startQuest(); + qs.setCond(3, true); + htmltext = event; + break; + } + case "a_wizard.html": + { + qs.startQuest(); + qs.setCond(4, true); + htmltext = event; + break; + } + case "a_shillien.html": // Custom html + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "30329-02.html": + case "30416-02.html": + case "30421-02.html": + case "30330-02.html": + { + if (qs.getCond() > 1) + { + giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5); + giveItems(player, IMPROVED_SOE, 1); + qs.exitQuest(false, true); + htmltext = event; + } + 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() == VOLLODOS) && (talker.getClassId() == ClassId.DARK_FIGHTER)) + { + htmltext = "30137-01.html"; + } + else if (talker.getClassId() == ClassId.DARK_MAGE) + { + htmltext = "30137-01a.html"; + } + break; + } + case State.STARTED: + { + if (npc.getId() == VOLLODOS) + { + if (qs.getCond() >= 1) + { + htmltext = "30137-03.html"; + } + break; + } + if ((npc.getId() == VIRGIL) && (talker.getClassId() != ClassId.PALUS_KNIGHT)) + { + if (qs.isCond(2)) + { + htmltext = "30329-01.html"; + } + break; + } + if ((npc.getId() == TRISKEL) && (talker.getClassId() != ClassId.ASSASSIN)) + { + if (qs.isCond(3)) + { + htmltext = "30416-01.html"; // Custom Html + } + break; + } + if ((npc.getId() == VARIKA) && (talker.getClassId() != ClassId.DARK_WIZARD)) + { + if (qs.isCond(4)) + { + htmltext = "30421-01.html"; + } + break; + } + if ((npc.getId() == SIDRA) && (talker.getClassId() != ClassId.DARK_WIZARD)) + { + if (qs.isCond(5)) + { + htmltext = "30330-01.html"; // Custom html + } + break; + } + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html new file mode 100644 index 0000000000..cdff711200 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become a Palus Knight ? Then you should talk to Master Virgil . Right now he can be found on the outskirts of Gludio . Don't waste time, go there
\ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html new file mode 100644 index 0000000000..84b0a3cb90 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become a Assassin ? Then you should talk to Triskel . Right now he can be found on the outskirts of Gludio . Don't waste time, go there
\ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html new file mode 100644 index 0000000000..82d87ea137 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become Shillien Oracle ? Then you should talk to Magister Sidra . She can be found at Dark Elf Guild in Gludio . Don't waste time, go there
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html new file mode 100644 index 0000000000..5114523fd2 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become Dark Wizard ? Then you should talk to Witch Varika . Right now she can be found near the Altar of Rites . Don't waste time, go there
diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html new file mode 100644 index 0000000000..fa8021b8ba --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html @@ -0,0 +1,7 @@ +Class description - Palus Knight
+Palus Knightss are Dark Elven Warriors who mastered the art of sword-wielding
+Moreover, they skillfully use Shields, wich helps them to survive battles.
+These warriors wield One-handed Swords or one-handed Blunt Weapons, and they can withstand a lot of damage thanks to their Shields. Elven Knights don't have attacking Skills, and that afeects their battle speed, however, with restorative Skills, they can fight for a long periods of time.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html new file mode 100644 index 0000000000..c82aa5f97d --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html @@ -0,0 +1,7 @@ +Class description - Assassin
+Assassins are Dark Elven Warriors who prefer Daggers and Bows.
+In combat they use Daggers and Biws, which allows them to effectively dispose of enemies in both close-range and long-range combat. They typically wear Light Armor that significantly loers their defens, however they compensate for it with their excellent evasion Skills and moving speed.
+Compared to similiar Classes of other Races they have higher P. Atk. and a high chance of dealing critical damage. This is the most effective Class for a single-player game because of its many personal Reinforcement Skills.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html new file mode 100644 index 0000000000..45329691c2 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html @@ -0,0 +1,7 @@ +Class description - Shillien Oracle:
+ Shillien Oracles ? can perform holy miracles by the power of their faith. The Goddess favors them...
+They are the key Class for a group game since they specialize in healing and reinforcing with various Buffs.
+They are ill-suited for a single-player game since they barely have any attacking magic Skills. Hunting will be most effective in a group geme.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html new file mode 100644 index 0000000000..916bf1133d --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html @@ -0,0 +1,6 @@ +Class description - Dark Wizard:
+ Dark Wizard ? specialize in attackimg spells. Unlike Elven mages, they can use powerful dark magic.
+These sorcerers are highly effective in battles, since their magical attacks are more powerful than that of other Races'mages. They can also consume HP or fill the shortage of MP by their own HP, which allows them to spend MP more effectively.br> +
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html new file mode 100644 index 0000000000..ff92e600e2 --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html @@ -0,0 +1,4 @@ +Grocer Vollodos:
+You ought to gain more experience. Come back later.
+(This quest is available to characters of Level 19 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html new file mode 100644 index 0000000000..90813e136f --- /dev/null +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html @@ -0,0 +1,4 @@ +Grocer Vollodos:
+You are not a Dark Elf. Get the hell out! +(This quest is available to Dark Elfs only.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/QuestMasterHandler.java index 5ebce0f59d..78ed3aaf9c 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_Classic_2.1_Zaken/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -158,6 +158,7 @@ import quests.Q11002_HelpWithTempleRestoration.Q11002_HelpWithTempleRestoration; import quests.Q11003_PerfectLeatherArmor1.Q11003_PerfectLeatherArmor1; import quests.Q11004_PerfectLeatherArmor2.Q11004_PerfectLeatherArmor2; import quests.Q11005_PerfectLeatherArmor3.Q11005_PerfectLeatherArmor3; +import quests.Q11006_FuturePeople.Q11006_FuturePeople; import quests.Q11007_NoiseInWoods.Q11007_NoiseInWoods; import quests.Q11008_PreparationForDungeon.Q11008_PreparationForDungeon; import quests.Q11009_NewPotionDevelopment1.Q11009_NewPotionDevelopment1; @@ -168,6 +169,7 @@ import quests.Q11014_SurpriseGift.Q11014_SurpriseGift; import quests.Q11015_PrepareForTrade1.Q11015_PrepareForTrade1; import quests.Q11016_PrepareForTrade2.Q11016_PrepareForTrade2; import quests.Q11017_PrepareForTrade3.Q11017_PrepareForTrade3; +import quests.Q11018_FutureDarkElves.Q11018_FutureDarkElves; import quests.Q11019_TribalBenefit.Q11019_TribalBenefit; import quests.Q11020_BlacksmithsRequest.Q11020_BlacksmithsRequest; import quests.Q11021_RedGemNecklace1.Q11021_RedGemNecklace1; @@ -322,6 +324,7 @@ public class QuestMasterHandler Q11003_PerfectLeatherArmor1.class, Q11004_PerfectLeatherArmor2.class, Q11005_PerfectLeatherArmor3.class, + Q11006_FuturePeople.class, Q11007_NoiseInWoods.class, Q11008_PreparationForDungeon.class, Q11009_NewPotionDevelopment1.class, @@ -332,6 +335,7 @@ public class QuestMasterHandler Q11015_PrepareForTrade1.class, Q11016_PrepareForTrade2.class, Q11017_PrepareForTrade3.class, + Q11018_FutureDarkElves.class, Q11019_TribalBenefit.class, Q11020_BlacksmithsRequest.class, Q11021_RedGemNecklace1.class, diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/MissingQuests.txt b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/MissingQuests.txt index bc149e7449..06d85c5cac 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/MissingQuests.txt +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/MissingQuests.txt @@ -19,9 +19,7 @@ 10871 Death to the Pirate King! 10993 Future: Dwarves 10994 Future: Orcs -11006 Future: People 11012 Future Elves -11018 Future: Dark Elves TODO: Check Antharas rewards. 11006 Future: People diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html new file mode 100644 index 0000000000..729f93d988 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01.html @@ -0,0 +1,4 @@ +Trader Lector:
+With your experience, you should think about greater tasks. I have friends who will help you realize them.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html new file mode 100644 index 0000000000..a221898cf1 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-01a.html @@ -0,0 +1,4 @@ +Trader Lector:
+With your experience, you should think about greater tasks. I have friends who will help you realize them.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm new file mode 100644 index 0000000000..34a2564031 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02.htm @@ -0,0 +1,6 @@ +Trader Lector:
+Looks like you got accustomed to relying on the strength of your body. Then it's best if you become a Warrior, a Human Knight or a Rogue.
+Become a Human KnightBecome a Rogue \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm new file mode 100644 index 0000000000..4f5ae9cd98 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-02a.htm @@ -0,0 +1,5 @@ +Trader Lector:
+You favor magic, I see: Then it's best if you become a Human Wizard or a Cleric.
+Become a Cleric \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html new file mode 100644 index 0000000000..34a1733e37 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-03.html @@ -0,0 +1,4 @@ +Trader Lector:
+Are you still here? Don't worry about it. You can do it. Now get to it!
+(Press Alt+U to view destination in the quest dialog.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html new file mode 100644 index 0000000000..2fc6530b19 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30001-04.html @@ -0,0 +1,3 @@ +Weapon Merchant Lector:
+(Only characters who are level 19 or above and who have completed the Perfect Leather Armor (3/3) quests may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html new file mode 100644 index 0000000000..be84bef78f --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-01.html @@ -0,0 +1,4 @@ +Master Auron:
+Did Lector send you? Good to meet you. Path of the Warrior is not easy. But that's its main advantage.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html new file mode 100644 index 0000000000..8d4ca903fc --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-02.html @@ -0,0 +1,3 @@ +Master Auron:
+You won't regret it. Tell me when you are ready to make a Class Transfer.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html new file mode 100644 index 0000000000..f520ea9e28 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30010-03.html @@ -0,0 +1,4 @@ +Master Auron:
+The path of a Warrior is hard and full of thorn. If you're afraid of hardships, then try to find yourself another calling. Though, this I can't help you with.
+(The quest has already been completed. take a look at the Encyclopedia if you want to do a Class Transfer.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html new file mode 100644 index 0000000000..b81c6687dd --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-01.html @@ -0,0 +1,4 @@ +Priest Zigaunt:
+Lector sent you, right? So you want to choose the path of a Cleric? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html new file mode 100644 index 0000000000..0e2b6ce70f --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30022-02.html @@ -0,0 +1,3 @@ +Priest Zigaunt:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html new file mode 100644 index 0000000000..cea684bdcc --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30136-04.html @@ -0,0 +1,5 @@ +Trader Payne:
+Excellent! Can you feel how well it fits? I hope it will protect you during your adventures.
+By the way, I have a request for you. I'm designing a new model of shield together with Grocer Vollodos, and we plan to put in on sale. I worked on the structural design, and Vollodos promised to come up with ideas for decoration and reinforce the finished product, but there haven't been any news from him for a while. Could you visit him and ask about his progress?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html new file mode 100644 index 0000000000..f637325eb4 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-01.html @@ -0,0 +1,4 @@ +Captain Bezique:
+Did Lector send you? Do you want to become a Rogue? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html new file mode 100644 index 0000000000..5914a273c0 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30379-02.html @@ -0,0 +1,3 @@ +Captain Bezique:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html new file mode 100644 index 0000000000..136d0fc1e7 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-01.html @@ -0,0 +1,4 @@ +Parina:
+Lector sent you, right? So you want to choose the path of a Wizard? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html new file mode 100644 index 0000000000..6615274c90 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30391-02.html @@ -0,0 +1,3 @@ +Parina:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html new file mode 100644 index 0000000000..3decf562cc --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-01.html @@ -0,0 +1,4 @@ +Sir Klaus Vasper:
+Did Lector send you? Do you want to become a Human Knight? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html new file mode 100644 index 0000000000..3e6db5c1e5 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/30417-02.html @@ -0,0 +1,3 @@ +Sir Klaus Vasper:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java new file mode 100644 index 0000000000..f2be3efb09 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/Q11006_FuturePeople.java @@ -0,0 +1,218 @@ +/* + * 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.Q11006_FuturePeople; + +import com.l2jmobius.gameserver.enums.Race; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.base.ClassId; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q11005_PerfectLeatherArmor3.Q11005_PerfectLeatherArmor3; + +/** + * Future People (11016) + * @author Stayway + */ +public class Q11006_FuturePeople extends Quest +{ + // NPCs + private static final int LECTOR = 30001; + private static final int PAYNE = 30136; + private static final int PARINA = 30391; + private static final int ZIGAUNT = 30022; + private static final int AURON = 30010; + private static final int KLAUS_VASPER = 30417; + private static final int BEZIQUE = 30379; + + // Items + private static final int FIRST_CLASS_BUFF_SCROLL = 29011; + private static final int IMPROVED_SOE = 49087; + + // Misc + private static final int MIN_LEVEL = 19; + + public Q11006_FuturePeople() + { + super(11006); + addStartNpc(LECTOR); + addTalkId(PAYNE, LECTOR, PARINA, ZIGAUNT, AURON, KLAUS_VASPER, BEZIQUE); + addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom + addCondRace(Race.HUMAN, "no-race.html"); // Custom + addCondCompletedQuest(Q11005_PerfectLeatherArmor3.class.getSimpleName(), "30001-04.html"); + setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_PEOPLE); + } + + @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 "30001-02.htm": + case "30001-02a.htm": + case "f_warrior.html": + case "f_knight.html": + case "f_rogue.html": + case "m_wizard.html": + case "m_cleric.html": + { + htmltext = event; + break; + } + case "a_warrior.html": + { + qs.startQuest(); + qs.setCond(2, true); + htmltext = event; + break; + } + case "a_knight.html": + { + qs.startQuest(); + qs.setCond(3, true); + htmltext = event; + break; + } + case "a_rogue.html": + { + qs.startQuest(); + qs.setCond(4, true); + htmltext = event; + break; + } + case "a_wizard.html": + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "a_cleric.html": // Custom html + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "30391-02.html": + case "30022-02.html": + case "30010-02.html": + case "30417-02.html": + case "30379-02.html": // Custom Html + { + if (qs.getCond() > 1) + { + giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5); + giveItems(player, IMPROVED_SOE, 1); + qs.exitQuest(false, true); + htmltext = event; + } + 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() == LECTOR) && (talker.getClassId() == ClassId.FIGHTER)) + { + htmltext = "30001-01.html"; + } + else if (talker.getClassId() == ClassId.MAGE) + { + htmltext = "30001-01a.html"; + } + break; + } + case State.STARTED: + { + if (npc.getId() == LECTOR) + { + if (qs.getCond() >= 1) + { + htmltext = "30001-03.html"; + } + break; + } + if ((npc.getId() == PARINA) && (talker.getClassId() != ClassId.WIZARD)) + { + if (qs.isCond(5)) + { + htmltext = "30391-01.html"; + } + break; + } + if ((npc.getId() == ZIGAUNT) && (talker.getClassId() != ClassId.CLERIC)) + { + if (qs.isCond(6)) + { + htmltext = "30022-01.html"; // Custom Html + } + break; + } + if ((npc.getId() == AURON) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(2)) + { + htmltext = "30010-01.html"; + } + break; + } + if ((npc.getId() == KLAUS_VASPER) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(3)) + { + htmltext = "30417-01.html"; + } + break; + } + if ((npc.getId() == BEZIQUE) && (talker.getClassId() != ClassId.WARRIOR)) + { + if (qs.isCond(4)) + { + htmltext = "30379-01.html"; // Custom Html + } + break; + } + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html new file mode 100644 index 0000000000..8ec4a298bb --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_cleric.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Cleric? Then you need to talk to Zigaunt. He will be waiting for you in the Temple of Einhasad in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html new file mode 100644 index 0000000000..87319f3433 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_knight.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Knight? Then you need to talk with Sir Klaus Vasper. He will be waiting for you at the Central Square in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html new file mode 100644 index 0000000000..6ea5ce9232 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_rogue.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Rogue? Well-well... Then you need to talk to Captain Bezique. He will be waiting for at the western gates of the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html new file mode 100644 index 0000000000..1e4f01cb2c --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_warrior.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Warrior? Then you need to meet with Auron. He will be waiting for you at the entrance to the Warrior Guild building in the Village of Gludin. I will let him know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html new file mode 100644 index 0000000000..74c558855a --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/a_wizard.html @@ -0,0 +1,3 @@ +Trader Lector:
+Do you want to become a Human Wizard? Then you need to talk to Parina. She will be waiting for you in front of the Temple of Einhasad in the Village of Gludin. I will let her know about your arrival.
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html new file mode 100644 index 0000000000..397a8930d2 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_knight.html @@ -0,0 +1,7 @@ +Class description - Human Knight:
+Human Knights are the soldiers of a regular army who are skilled in martial arts.
+They pay great attention to defense, and that's why they are always suited in Heavy Armor. In combat, they use One-handed Swords, One-handed Blunt. Weapons and sturdy Shields. In a group, they act like defenders.
+Human Knights don't have attacking Skills, and that affects the speed of a battle, however, with skills such as Divine Heal, they can fight for a long periods of time.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html new file mode 100644 index 0000000000..a51ff7c908 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_rogue.html @@ -0,0 +1,7 @@ +Class description - Rogue:
+Rogues are warriors who rely on agility and cunning, rather than strength and honor.
+In combat, they use Daggers and Bows, which allows them to effectively dispose of enemies in both close-range and long-range combat.
+They typically wear Light Armor that significantly lowers their defense, however they compensate for it with evasion and moving speed.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html new file mode 100644 index 0000000000..8f8e6f9bc3 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/f_warrior.html @@ -0,0 +1,7 @@ +Class description - Warrior:
+Warriors are the mighty soldiers who rely on their savage strength the most.
+They can use any of the following weapons: Blue Mackerel: One-handed Sword, One-handed Blunt Weapon, Two-handed Blunt Weapon, Spear.
+They can't restore themselves and so are not suited for a single-player game, but in a group, they are excellent in the role of attackers.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html new file mode 100644 index 0000000000..23c42c9632 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_cleric.html @@ -0,0 +1,7 @@ +Class description - Human Cleric:
+Human Clerics can perform holy miracles by the power of their faith. Heaven favors them.
+Their magic primarily focused on helping other players. By using holy magic, they heal and cast Buffs, which makes them essential for a group.
+After a Class Transfer they can't fight, except perhaps in a close combat. They can barely learn attacking spells. Clerics possess low attack power but compensate for it with various Buffs.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html new file mode 100644 index 0000000000..e0aa3de32e --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/m_wizard.html @@ -0,0 +1,6 @@ +Class description - Human Wizard:
+Human Wizards are people who wield the key powers of this world.
+Specializing in attacking spells, they can freely manipulate Fire Magic and Dark Magic, which allows them to fight in different styles.
+Say that you want to think about it \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html new file mode 100644 index 0000000000..6351191362 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-level.html @@ -0,0 +1,4 @@ +Weapon Merchant Lector:
+You ought to gain more experience. Come back later.
+(This quest is available to characters of Level 19 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html new file mode 100644 index 0000000000..e1b9e80f85 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11006_FuturePeople/no-race.html @@ -0,0 +1,4 @@ +Tetrarch Talos:
+You are not a Dark Elf. Get the hell out! +(This quest is available to Dark Elfs only.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html new file mode 100644 index 0000000000..21e7bd48cb --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01.html @@ -0,0 +1,4 @@ +Trader Vollodos:
+I think you are ready to gain new powers and set out into the world. What do you think? Do you want to gain new powers?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html new file mode 100644 index 0000000000..7180c4447a --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-01a.html @@ -0,0 +1,4 @@ +Trader Vollodos:
+I think you are ready to gain new powers and set out into the world. What do you think? Do you want to gain new powers?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm new file mode 100644 index 0000000000..8f82a90709 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02.htm @@ -0,0 +1,5 @@ +Trader Vollodos:
+Looks like you more used to relying on the strength of your weapon, not spells. That's why it's better if you become a Palus Knight or an Assassin.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm new file mode 100644 index 0000000000..a30165a48b --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-02a.htm @@ -0,0 +1,5 @@ +Trader Vollodos:
+You've got a talent for magic, I see. But it should be developed further. What do you think about being a Dark Wizard or a Shillien Oracle?
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html new file mode 100644 index 0000000000..79ad82a837 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-03.html @@ -0,0 +1,3 @@ +Trader Vollodos:
+Haven't you set off? Only through trials can you archieve something new. Follow where the arrow points you. Come on, don't waste your time
+(you may check your destination in the quest dialog by pressing Alt+U.) \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html new file mode 100644 index 0000000000..c0645ae313 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30137-04.html @@ -0,0 +1,3 @@ +Trader Vollodos:
+(Only characters who are level 19 or above and who have completed the Prepare for Trade (3/3) quests may undertake this quest.) + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html new file mode 100644 index 0000000000..8ae41bb2b6 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-01.html @@ -0,0 +1,4 @@ +Master Virgil:
+Vollodos told me about you. Do you want to became a Palus Knight?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html new file mode 100644 index 0000000000..5276915716 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30329-02.html @@ -0,0 +1,2 @@ +Master Virgil:
+You made the right decision! Tell me when you are ready to make a Class Transfer. \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html new file mode 100644 index 0000000000..8f8afa30c7 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-01.html @@ -0,0 +1,4 @@ +Magister Sidra:
+Did Lector send you? Do you want to become a Shillien Oracle? Be mindful, this is a hard path to walk..
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html new file mode 100644 index 0000000000..4395ab076b --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30330-02.html @@ -0,0 +1,3 @@ +Magister Sidra:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html new file mode 100644 index 0000000000..0e2184bd16 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-01.html @@ -0,0 +1,4 @@ +Triskel:
+Lector sent you, right? So you want to choose the path of a Assassin? Excellent! It's always good to study something new.
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html new file mode 100644 index 0000000000..86cf6d1c99 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30416-02.html @@ -0,0 +1,3 @@ +Triskel:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html new file mode 100644 index 0000000000..0560d69f8b --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-01.html @@ -0,0 +1,4 @@ +Witch Varika:
+Vollodos told me about you.Do you want to become a Dark Wizard?
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html new file mode 100644 index 0000000000..f33db4fc1c --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/30421-02.html @@ -0,0 +1,3 @@ +Witch Varika:
+You made the right decision! Tell me when you are ready to make a Class Transfer. + \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java new file mode 100644 index 0000000000..b9cbd708d2 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/Q11018_FutureDarkElves.java @@ -0,0 +1,199 @@ +/* + * 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.Q11018_FutureDarkElves; + +import com.l2jmobius.gameserver.enums.Race; +import com.l2jmobius.gameserver.model.actor.L2Npc; +import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance; +import com.l2jmobius.gameserver.model.base.ClassId; +import com.l2jmobius.gameserver.model.quest.Quest; +import com.l2jmobius.gameserver.model.quest.QuestState; +import com.l2jmobius.gameserver.model.quest.State; +import com.l2jmobius.gameserver.network.NpcStringId; + +import quests.Q11017_PrepareForTrade3.Q11017_PrepareForTrade3; + +/** + * Future: Dark Elves (11018) + * @author Stayway + */ +public class Q11018_FutureDarkElves extends Quest +{ + // NPCs + private static final int VOLLODOS = 30137; + private static final int VIRGIL = 30329; + private static final int TRISKEL = 30416; + private static final int VARIKA = 30421; + private static final int SIDRA = 30330; + + // Items + private static final int FIRST_CLASS_BUFF_SCROLL = 29011; + private static final int IMPROVED_SOE = 49087; + + // Misc + private static final int MIN_LEVEL = 19; + + public Q11018_FutureDarkElves() + { + super(11018); + addStartNpc(VOLLODOS); + addTalkId(VIRGIL, VOLLODOS, TRISKEL, VARIKA, SIDRA); + addCondMinLevel(MIN_LEVEL, "no-level.html"); // Custom + addCondRace(Race.DARK_ELF, "no-race.html"); // Custom + addCondCompletedQuest(Q11017_PrepareForTrade3.class.getSimpleName(), "30137-04.html"); + setQuestNameNpcStringId(NpcStringId.LV_19_FUTURE_DARK_ELVES); + } + + @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 "30137-02.htm": + case "30137-02a.htm": + case "f_PalusKnight.html": + case "f_assassin.html": + case "m_wizard.html": + case "m_shillien.html": + { + htmltext = event; + break; + } + case "a_PalusKnight.html": + { + qs.startQuest(); + qs.setCond(2, true); + htmltext = event; + break; + } + case "a_assassin.html": // Custom html + { + qs.startQuest(); + qs.setCond(3, true); + htmltext = event; + break; + } + case "a_wizard.html": + { + qs.startQuest(); + qs.setCond(4, true); + htmltext = event; + break; + } + case "a_shillien.html": // Custom html + { + qs.startQuest(); + qs.setCond(5, true); + htmltext = event; + break; + } + case "30329-02.html": + case "30416-02.html": + case "30421-02.html": + case "30330-02.html": + { + if (qs.getCond() > 1) + { + giveItems(player, FIRST_CLASS_BUFF_SCROLL, 5); + giveItems(player, IMPROVED_SOE, 1); + qs.exitQuest(false, true); + htmltext = event; + } + 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() == VOLLODOS) && (talker.getClassId() == ClassId.DARK_FIGHTER)) + { + htmltext = "30137-01.html"; + } + else if (talker.getClassId() == ClassId.DARK_MAGE) + { + htmltext = "30137-01a.html"; + } + break; + } + case State.STARTED: + { + if (npc.getId() == VOLLODOS) + { + if (qs.getCond() >= 1) + { + htmltext = "30137-03.html"; + } + break; + } + if ((npc.getId() == VIRGIL) && (talker.getClassId() != ClassId.PALUS_KNIGHT)) + { + if (qs.isCond(2)) + { + htmltext = "30329-01.html"; + } + break; + } + if ((npc.getId() == TRISKEL) && (talker.getClassId() != ClassId.ASSASSIN)) + { + if (qs.isCond(3)) + { + htmltext = "30416-01.html"; // Custom Html + } + break; + } + if ((npc.getId() == VARIKA) && (talker.getClassId() != ClassId.DARK_WIZARD)) + { + if (qs.isCond(4)) + { + htmltext = "30421-01.html"; + } + break; + } + if ((npc.getId() == SIDRA) && (talker.getClassId() != ClassId.DARK_WIZARD)) + { + if (qs.isCond(5)) + { + htmltext = "30330-01.html"; // Custom html + } + break; + } + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(talker); + break; + } + } + return htmltext; + } +} \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html new file mode 100644 index 0000000000..cdff711200 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_PalusKnight.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become a Palus Knight ? Then you should talk to Master Virgil . Right now he can be found on the outskirts of Gludio . Don't waste time, go there
\ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html new file mode 100644 index 0000000000..84b0a3cb90 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_assassin.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become a Assassin ? Then you should talk to Triskel . Right now he can be found on the outskirts of Gludio . Don't waste time, go there
\ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html new file mode 100644 index 0000000000..82d87ea137 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_shillien.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become Shillien Oracle ? Then you should talk to Magister Sidra . She can be found at Dark Elf Guild in Gludio . Don't waste time, go there
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html new file mode 100644 index 0000000000..5114523fd2 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/a_wizard.html @@ -0,0 +1,2 @@ +Trader Vollodos:
+Do you want to become Dark Wizard ? Then you should talk to Witch Varika . Right now she can be found near the Altar of Rites . Don't waste time, go there
diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html new file mode 100644 index 0000000000..fa8021b8ba --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_PalusKnight.html @@ -0,0 +1,7 @@ +Class description - Palus Knight
+Palus Knightss are Dark Elven Warriors who mastered the art of sword-wielding
+Moreover, they skillfully use Shields, wich helps them to survive battles.
+These warriors wield One-handed Swords or one-handed Blunt Weapons, and they can withstand a lot of damage thanks to their Shields. Elven Knights don't have attacking Skills, and that afeects their battle speed, however, with restorative Skills, they can fight for a long periods of time.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html new file mode 100644 index 0000000000..c82aa5f97d --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/f_assassin.html @@ -0,0 +1,7 @@ +Class description - Assassin
+Assassins are Dark Elven Warriors who prefer Daggers and Bows.
+In combat they use Daggers and Biws, which allows them to effectively dispose of enemies in both close-range and long-range combat. They typically wear Light Armor that significantly loers their defens, however they compensate for it with their excellent evasion Skills and moving speed.
+Compared to similiar Classes of other Races they have higher P. Atk. and a high chance of dealing critical damage. This is the most effective Class for a single-player game because of its many personal Reinforcement Skills.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html new file mode 100644 index 0000000000..45329691c2 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_shillien.html @@ -0,0 +1,7 @@ +Class description - Shillien Oracle:
+ Shillien Oracles ? can perform holy miracles by the power of their faith. The Goddess favors them...
+They are the key Class for a group game since they specialize in healing and reinforcing with various Buffs.
+They are ill-suited for a single-player game since they barely have any attacking magic Skills. Hunting will be most effective in a group geme.
+
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html new file mode 100644 index 0000000000..916bf1133d --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/m_wizard.html @@ -0,0 +1,6 @@ +Class description - Dark Wizard:
+ Dark Wizard ? specialize in attackimg spells. Unlike Elven mages, they can use powerful dark magic.
+These sorcerers are highly effective in battles, since their magical attacks are more powerful than that of other Races'mages. They can also consume HP or fill the shortage of MP by their own HP, which allows them to spend MP more effectively.br> +
+
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html new file mode 100644 index 0000000000..ff92e600e2 --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-level.html @@ -0,0 +1,4 @@ +Grocer Vollodos:
+You ought to gain more experience. Come back later.
+(This quest is available to characters of Level 19 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html new file mode 100644 index 0000000000..90813e136f --- /dev/null +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/Q11018_FutureDarkElves/no-race.html @@ -0,0 +1,4 @@ +Grocer Vollodos:
+You are not a Dark Elf. Get the hell out! +(This quest is available to Dark Elfs only.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/QuestMasterHandler.java index 5ebce0f59d..78ed3aaf9c 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_Classic_2.2_Antharas/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -158,6 +158,7 @@ import quests.Q11002_HelpWithTempleRestoration.Q11002_HelpWithTempleRestoration; import quests.Q11003_PerfectLeatherArmor1.Q11003_PerfectLeatherArmor1; import quests.Q11004_PerfectLeatherArmor2.Q11004_PerfectLeatherArmor2; import quests.Q11005_PerfectLeatherArmor3.Q11005_PerfectLeatherArmor3; +import quests.Q11006_FuturePeople.Q11006_FuturePeople; import quests.Q11007_NoiseInWoods.Q11007_NoiseInWoods; import quests.Q11008_PreparationForDungeon.Q11008_PreparationForDungeon; import quests.Q11009_NewPotionDevelopment1.Q11009_NewPotionDevelopment1; @@ -168,6 +169,7 @@ import quests.Q11014_SurpriseGift.Q11014_SurpriseGift; import quests.Q11015_PrepareForTrade1.Q11015_PrepareForTrade1; import quests.Q11016_PrepareForTrade2.Q11016_PrepareForTrade2; import quests.Q11017_PrepareForTrade3.Q11017_PrepareForTrade3; +import quests.Q11018_FutureDarkElves.Q11018_FutureDarkElves; import quests.Q11019_TribalBenefit.Q11019_TribalBenefit; import quests.Q11020_BlacksmithsRequest.Q11020_BlacksmithsRequest; import quests.Q11021_RedGemNecklace1.Q11021_RedGemNecklace1; @@ -322,6 +324,7 @@ public class QuestMasterHandler Q11003_PerfectLeatherArmor1.class, Q11004_PerfectLeatherArmor2.class, Q11005_PerfectLeatherArmor3.class, + Q11006_FuturePeople.class, Q11007_NoiseInWoods.class, Q11008_PreparationForDungeon.class, Q11009_NewPotionDevelopment1.class, @@ -332,6 +335,7 @@ public class QuestMasterHandler Q11015_PrepareForTrade1.class, Q11016_PrepareForTrade2.class, Q11017_PrepareForTrade3.class, + Q11018_FutureDarkElves.class, Q11019_TribalBenefit.class, Q11020_BlacksmithsRequest.class, Q11021_RedGemNecklace1.class,