diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-01.html new file mode 100644 index 0000000000..9d622bbb0f --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-01.html @@ -0,0 +1,7 @@ +Gatekeeper Bella:
+Hm... You are a Sylph, aren't you?
+Nice to meet you! Since I heard that Sylphs had come to the continent, I've been whishing to meet one of them. Now my dream becomes true!
+I've heard Gatekeeper Mellos was sent to the Wind Village, but it seems you haven't met her.
+Well, you should learn to find suitable places to train then.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-02.html new file mode 100644 index 0000000000..d3ea15239c --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-02.html @@ -0,0 +1,7 @@ +Gatekeeper Bella:
+So, first of all you need to know that the fastest and the mos comfortable way to travel around the world is to use teleports.
+To use a teleport just talk to a Gatekeeper in any town. Or you can click the yellow windmill icon.
+Thanks to teleports you can travel from one place to another very fast.
+What's more, you can use the Favorites function to create a list of places you teleport to the most.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-03.html new file mode 100644 index 0000000000..82b814822b --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-03.html @@ -0,0 +1,6 @@ +Gatekeeper Bella:
+One more important thing is the map. It will help you to know a lot of interesting. Open the map to see the details about your where abouts as well as recommendations and information where you should go. Now I'm going to say you a few words about the recommendations.
+We, Gatekeeper, are always asking adventurers about the places they've been. Doing so we can define the danger of that places. You can believe us on this matter.
+So, are you ready to travel somewhere to try new knowledge out?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-04.html new file mode 100644 index 0000000000..b46ac9a200 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-04.html @@ -0,0 +1,5 @@ +Gatekeeper Bella:
+Well... I'd recommend the Ruins of Agony.
+That's a place full of ancient buildings. The indigenous inhabitant had abandoned that place long ago.
+You can get there using teleportation. To travel there select the teleport to Gludio from the list of hunting zone teleports. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-05.html new file mode 100644 index 0000000000..f63391b4d5 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30256-05.html @@ -0,0 +1,5 @@ +Gatekeeper Bella:
+Go to the Ruins of Agony. You can get there using teleportation. To travel there use the teleport to Gludio from the list of hunting zone teleports.
+I think this place is not dangerous for you.
+Nobody has been living there for a long time, just beasts. I suppose good hunting will benefit you: you'll try out and improve your skills. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.html new file mode 100644 index 0000000000..f73b436453 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.html @@ -0,0 +1,5 @@ +Captain Bathis:
+Have you dealt with the monsters?
+Yes, I see you've become a bit stronger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.html new file mode 100644 index 0000000000..f73b436453 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.html @@ -0,0 +1,5 @@ +Captain Bathis:
+Have you dealt with the monsters?
+Yes, I see you've become a bit stronger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.html new file mode 100644 index 0000000000..b9bf48afa0 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.html @@ -0,0 +1,6 @@ +Captain Bathis:
+To mark your advancements I'm going to give you a small present. It'll help you to become stronger.
+And if you have a Weapon of Aden use the Scroll: Enchant Weapon of Aden to make it better.
+There's one more thing I'd like to give you. Here, take it. It's a special bracelet. The path you're on is a dangerous one and items like this can save your life.
+If you want I can tell you more about bracelets. Are you interested?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-01.html new file mode 100644 index 0000000000..aacf19e6d3 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-01.html @@ -0,0 +1,7 @@ +Grocer Evia:
+Bathis iis the Captain of Gludio. Travellers from around the world come to him to learn useful things. I've met him, too.
+Bathis is a natural born teacher. He doesn't discriminate and helps everyone regardless of their race.
+Before I left he asked to send other Sylphs his way if anyone else decided to explore the world. He said he would help them.
+That is a long andd dangerous journey, though, You need to prepare really well if you decide to undertake it.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-02.html new file mode 100644 index 0000000000..bdd047f5eb --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-02.html @@ -0,0 +1,8 @@ +Grocer Avia:
+Bathis regards Sylphs as not very strong, but he is a nice fellow. Let's show him that we are not weak!
+First press Tab or Alt + K to open your Inventory. Equip the weapons and armor you need if you haven't done it yet.
+You can open the Skill List by pressing ALT + K. If you have changed your class to become a Sharpshooter, you will see there new skills that can be learn. To learn skills you need to spend SP, and sometimes you will need special items.
+Master Kerkir should have told you about Automatic Hunting. Do you want to know more about it?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-03.html new file mode 100644 index 0000000000..296513ab1a --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-03.html @@ -0,0 +1,6 @@ +Grocer Avia:
+Okay, it looks like you are up to dare on everything. Ready to head out?
+Adventurers usually start with Gludio. It's a great place to make your first steps into big wide world.
+It doesn't make much sense to just wander the streets of Gludio, though. You need to find a place to train and grow stronger.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-04.html new file mode 100644 index 0000000000..26b1d71c35 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-04.html @@ -0,0 +1,7 @@ +Grocer Avia:
+If you need some guidance, talk to a Gatekeeper. They'll tell you where you need to go to improve your skills.
+We have a Gatekeeper in Wind Village as well.
+Talk to Gatekeeper Mellos or find Gatekeeper Bella in Gludio.
+If you want to go straight to Gludio's Gatekeeper, I can send you there right now.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-05.html new file mode 100644 index 0000000000..8771eb610f --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/34211-05.html @@ -0,0 +1,5 @@ +Grocer Avia:
+Have you talked to a Gatekeeper yet?
+You have? Go to the place they recommended then. The Ruins of Agony, I assume.
+It's a great place to hunt. Go there and kill some monsters. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-01.html new file mode 100644 index 0000000000..056c0b4ff1 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-01.html @@ -0,0 +1,9 @@ +Grocer Avia:
+Automatic hunting is a function that let's you automatically target the next monster and contiinue hunting.
+Automatic hunting function includes such options as distance to target, look pick-up and Manner Mode that prevents the character from attacking targets that are attacked by other players. During Automatic Hunting the character uses their basic Attack.
+If you press ALT+K, however, then drag any non-buffing skill marked with two green arrows in a circle from the Skill window to the Shortcut and click it with the right mouse button, the character will attack using the assigned skill.
+Same goes for buffing skills. If you put a buffing skill to the shortcut and click it with the right mouse button, this skill will be automatically used at the right moment.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-02.html new file mode 100644 index 0000000000..f97ff47269 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-02.html @@ -0,0 +1,8 @@ +Grocer Avia:
+The auto-use supplies function lets you automatically use the supplies you need while hunting.
+If there is an item marked with two green arrows in a circle in your inventory, that means that it can be used automatically.
+To automatically use supplies you need to drag the item to a slot, press the right mouse button and active the auto-use function. Items with actived auto-use will be used automatically as soon as you leave the city.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-03.html new file mode 100644 index 0000000000..2ff24fa415 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting-03.html @@ -0,0 +1,9 @@ +Grocer Avia:
+Automatic use of potions is slightly different from automatic hunting and automatic use of supplies.
+In the shortcut slots, next to the Soulshot there is a slot where you can put a potion for auto-use. You will see a slot that looks like a potion and a small options button. This button lets you configure automatic use.
+After setting the amount of HP that is needed for auto-use of potion, drag the potion for auto-use from your inventory to the potion slot on the shortcut panel.
+Now the potions are going to be used automatically.
+ + + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting.html new file mode 100644 index 0000000000..7be4b63c06 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/AutomaticHunting.html @@ -0,0 +1,9 @@ +Grocer Avia:
+Automatic Hunting is a function that let's you automatically pick a target and continue hunting after you've killed a monster.
+While hunting you can also automatic use potions and supplies.
+Would you like to learn more?
+ + + + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/Q10966_ATripBegins.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java similarity index 72% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/Q10966_ATripBegins.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java index 07438d42e0..105bb14ab2 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/Q10966_ATripBegins.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java @@ -14,11 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10966_ATripBegins; +package quests.Q10290_ATripBegins; import java.util.HashSet; import java.util.Set; +import org.l2jmobius.gameserver.data.xml.ExperienceData; import org.l2jmobius.gameserver.enums.ChatType; import org.l2jmobius.gameserver.enums.QuestSound; import org.l2jmobius.gameserver.model.Location; @@ -36,19 +37,19 @@ import org.l2jmobius.gameserver.network.serverpackets.NpcSay; * A Trip Begins (10966) * @author RobikBobik, Mobius * @Note: Updated based on 4game server October 2020 - * @TODO: Update gatekeeper dialogs. */ -public class Q10966_ATripBegins extends Quest +public class Q10290_ATripBegins extends Quest { // NPCs - private static final int CAPTAIN_BATHIS = 30332; - private static final int MATHORN = 34139; + private static final int EVIA = 34211; private static final int BELLA = 30256; + private static final int CAPTAIN_BATHIS = 30332; // Items private static final ItemHolder SOE_TO_CAPTAIN_BATHIS = new ItemHolder(91651, 1); - private static final ItemHolder SOE_NOVICE = new ItemHolder(10650, 10); - private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1); - private static final ItemHolder SCROLL_OF_ENCHANT_TALISMAN_OF_ADEN = new ItemHolder(91756, 1); + private static final ItemHolder SOE_TO_RUIN_OF_AGONY = new ItemHolder(91727, 1); + private static final ItemHolder BSOE_EVENT = new ItemHolder(91689, 10); + private static final ItemHolder ADVENTURERS_TALISMAN = new ItemHolder(91937, 1); + private static final ItemHolder SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN = new ItemHolder(95688, 1); private static final ItemHolder ADVENTURERS_BRACELET = new ItemHolder(91934, 1); private static final ItemHolder SCROLL_OF_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2); // Monsters @@ -59,17 +60,17 @@ public class Q10966_ATripBegins extends Quest private static final int TUMRAN_BUGBEAR = 20062; private static final int TUMRAN_BUGBEAR_WARRIOR = 20064; // Location - private static final Location TELEPORT_LOCATION = new Location(-14443, 123984, -3120); + private static final Location TELEPORT_GLUDIO = new Location(-14489, 123974, -3128); // Misc private static final int MIN_LEVEL = 20; private static final int MAX_LEVEL = 25; private static final String KILL_COUNT_VAR = "KillCount"; - public Q10966_ATripBegins() + public Q10290_ATripBegins() { - super(10966); - addStartNpc(CAPTAIN_BATHIS, MATHORN); - addTalkId(CAPTAIN_BATHIS, MATHORN, BELLA); + super(10290); + addStartNpc(EVIA, CAPTAIN_BATHIS); + addTalkId(EVIA, BELLA, CAPTAIN_BATHIS); addKillId(ARACHNID_PREDATOR, SKELETON_BOWMAN, RUIN_SPARTOI, RAGING_SPARTOI, RAGING_SPARTOI, TUMRAN_BUGBEAR, TUMRAN_BUGBEAR_WARRIOR); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); @@ -95,78 +96,63 @@ public class Q10966_ATripBegins extends Quest String htmltext = null; switch (event) { - case "30332-01.htm": - case "30332-07.htm": - case "30332-08.htm": - case "34139-01.htm": - case "34139-02.html": - case "34139-03.html": - case "34139-04.html": - case "34139-05.html": - case "34139-06.htm": + case "34211-02.html": + case "34211-04.html": + case "34211-05.html": + case "AutomaticHunting.html": + case "AutomaticHunting-01.html": + case "AutomaticHunting-02.html": + case "AutomaticHunting-03.html": + case "30256-01.html": + case "30256-02.html": + case "30332-01.html": { htmltext = event; break; } - case "34139-00.htm": + case "34211-01.html": { showOnScreenMsg(player, NpcStringId.CHECK_YOUR_INVENTORY_AND_EQUIP_YOUR_WEAPON, ExShowScreenMessage.TOP_CENTER, 10000, player.getName()); htmltext = event; break; } - case "30332-02.htm": - { - htmltext = event; - break; - } - case "30332-03.htm": + case "34211-03.html": { qs.startQuest(); npc.broadcastPacket(new NpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.USING_THE_GATEKEEPER)); htmltext = event; break; } - case "30256-01.html": + case "30256-03.html": { qs.setCond(2, true); + showOnScreenMsg(player, NpcStringId.BEFORE_YOU_GO_FOR_A_BATTLE_CHECK_THE_SKILL_WINDOW_ALT_K_NEW_SKILLS_WILL_HELP_YOU_TO_GET_STRONGER, ExShowScreenMessage.TOP_CENTER, 10000, player.getName()); + giveItems(player, SOE_TO_RUIN_OF_AGONY); htmltext = event; break; } - case "30332-06.html": - { - htmltext = event; - break; - } - case "30332-05.html": + case "30332-02.html": { if (qs.isCond(3)) { showOnScreenMsg(player, NpcStringId.YOU_VE_GOT_ADVENTURER_S_BRACELET_AND_ADVENTURER_S_TALISMAN_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_USE_THE_TALISMAN, ExShowScreenMessage.TOP_CENTER, 10000); - addExpAndSp(player, 1000000, 27000); - giveItems(player, SOE_NOVICE); - giveItems(player, TALISMAN_OF_ADEN); - giveItems(player, SCROLL_OF_ENCHANT_TALISMAN_OF_ADEN); + addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(25) + 100) - player.getExp(), 42000); + giveItems(player, BSOE_EVENT); giveItems(player, ADVENTURERS_BRACELET); + giveItems(player, ADVENTURERS_TALISMAN); + giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN); giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON); qs.exitQuest(false, true); - htmltext = event; + htmltext = "30332-03.html"; } break; } - case "34139-07.htm": - { - qs.startQuest(); - htmltext = event; - break; - } - case "teleport": - { + case "TELEPORT_TO_GLUDIO": if (qs.isCond(1)) { - player.teleToLocation(TELEPORT_LOCATION); + player.teleToLocation(TELEPORT_GLUDIO); } break; - } } return htmltext; } @@ -180,26 +166,19 @@ public class Q10966_ATripBegins extends Quest { switch (npc.getId()) { - case CAPTAIN_BATHIS: + case EVIA: { - // Death Knights. - if (player.isDeathKnight()) - { - return htmltext; - } - - htmltext = "30332.htm"; + htmltext = "34211-01.html"; break; } - case MATHORN: + case BELLA: { - // Death Knights. - if (!player.isDeathKnight()) - { - return htmltext; - } - - htmltext = "34139-01.htm"; + htmltext = "30256-01.html"; + break; + } + case CAPTAIN_BATHIS: + { + htmltext = "30332.htm"; break; } } @@ -208,35 +187,11 @@ public class Q10966_ATripBegins extends Quest { switch (npc.getId()) { - case CAPTAIN_BATHIS: + case EVIA: { if (qs.isCond(1)) { - // Death Knights. - if (player.isDeathKnight()) - { - return htmltext; - } - - htmltext = "30332-03.htm"; - } - else if (qs.isCond(3)) - { - htmltext = "30332-04.html"; - } - break; - } - case MATHORN: - { - // Death Knights. - if (!player.isDeathKnight()) - { - return htmltext; - } - - if (qs.isCond(1)) - { - htmltext = "34139-07.htm"; + htmltext = "34211-05.html"; } break; } @@ -244,7 +199,27 @@ public class Q10966_ATripBegins extends Quest { if (qs.isCond(1)) { - htmltext = "30256.html"; + htmltext = "30256-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "30256-05.html"; + } + break; + } + case CAPTAIN_BATHIS: + { + if (qs.isCond(1)) + { + htmltext = "30332-03.htm"; + } + else if (qs.isCond(2)) + { + htmltext = "30332-04.html"; + } + else if (qs.isCond(3)) + { + htmltext = "30332-01.html"; } break; } @@ -264,7 +239,7 @@ public class Q10966_ATripBegins extends Quest if ((qs != null) && qs.isCond(2)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 70) + if (killCount < 40) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/no_lvl.html new file mode 100644 index 0000000000..2b0656f13d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/no_lvl.html @@ -0,0 +1,5 @@ +Grocer Evia:
+Hey, why are you back so quickly?
+You should get stronger first. I can't waste my time with an inexperienced novice.
+(The quest is for characters of Lv. 20 and higher.) + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-01.htm new file mode 100644 index 0000000000..9ef97b1200 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-01.htm @@ -0,0 +1,6 @@ +Captain Bathis:
+All right, but no hurry.
+Do you remember what you're learned from the Gatekeeper Bella?
+ + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-02.htm new file mode 100644 index 0000000000..d3e66efd9e --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-02.htm @@ -0,0 +1,5 @@ +Captain Bathis:
+That's good. You're going to use teleports very often. If you forget something you always can read the tips.
+Now let's talk about training which is necessary to every adventurer.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-03.htm new file mode 100644 index 0000000000..d3b0d22513 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-03.htm @@ -0,0 +1,5 @@ +Captain Bathis:
+If you don't understand something, don't be shy, ask me once more.
+If you press the yellow windmill icon, you can use teleportation wherever you want. You should remember that.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.htm new file mode 100644 index 0000000000..fdf9eecdc7 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.htm @@ -0,0 +1,7 @@ +Captain Bathis:
+The most important thing is: do not be in haste. To achieve success you have to make efforts. That's correct for whatever you do.
+If you want to get the best result, you shouldn't waste your time. At the same time, undue hurry can do a lot of ham. When you are practicing, you should do everything unhurriedly and persistently.
+I suppose the Abandoned Camp is the best place for your training. If you're strong enough, you can deal with the creatures living there.
+You can get to the Abandoned Camp by using teleport tranfering to Gludin hunting zones, so it's not a problem to get there.
+Good luck!
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.html new file mode 100644 index 0000000000..fdf9eecdc7 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-04.html @@ -0,0 +1,7 @@ +Captain Bathis:
+The most important thing is: do not be in haste. To achieve success you have to make efforts. That's correct for whatever you do.
+If you want to get the best result, you shouldn't waste your time. At the same time, undue hurry can do a lot of ham. When you are practicing, you should do everything unhurriedly and persistently.
+I suppose the Abandoned Camp is the best place for your training. If you're strong enough, you can deal with the creatures living there.
+You can get to the Abandoned Camp by using teleport tranfering to Gludin hunting zones, so it's not a problem to get there.
+Good luck!
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-05.html new file mode 100644 index 0000000000..ff9a8bfda7 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-05.html @@ -0,0 +1,4 @@ +Captain Bathis:
+Have you dealt with the monsters in the Abandoned Camp?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-06.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-06.html new file mode 100644 index 0000000000..69894a4561 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332-06.html @@ -0,0 +1,7 @@ +Captain Bathis:
+You've done great! By the way, if you have an XP Scroll in your inventory don't hesitate to use it.
+One more thing! I have to tell you about the Scroll: Enchant Aden Weapon. I've prepared a Scroll: Enchant Aden Weapon for you, you can use it to enchant an Aden Weapon.
+Also I have a special present for you.
+That's jewel fragments. I'd love to give you a whole jewel as they grant their owners amazing abilities, but the fragments will do for now. You should probably try to find a few whole ones for yourself to experience their astounding power first-hand.
+If you want I can tell you more about jewels and compounding. Are you interested?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332.htm new file mode 100644 index 0000000000..f73c988ccf --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/30332.htm @@ -0,0 +1,5 @@ +Captain Bathis:
+You look like experienced warrior next to the other rookies.
+However you can't just be staisfied with what you have accomplished. You need to keep making your progress, acquiring new knowledge and learning new skills.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/Q10967_CulturedAdventurer.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/Q10291_MoreExperience.java similarity index 78% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/Q10967_CulturedAdventurer.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/Q10291_MoreExperience.java index 54888eac46..2e9c5908ac 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/Q10967_CulturedAdventurer.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/Q10291_MoreExperience.java @@ -14,11 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10967_CulturedAdventurer; +package quests.Q10291_MoreExperience; import java.util.HashSet; import java.util.Set; +import org.l2jmobius.gameserver.data.xml.ExperienceData; import org.l2jmobius.gameserver.enums.QuestSound; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; @@ -30,12 +31,10 @@ import org.l2jmobius.gameserver.network.NpcStringId; import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; /** - * Cultured Adventurer (10967) + * More Experience (10967) * @author RobikBobik - * @Note: Based on NA server September 2019 - * @TODO: Maybe wrong NpcStringId when you killing monsters in Abandoned Camp */ -public class Q10967_CulturedAdventurer extends Quest +public class Q10291_MoreExperience extends Quest { // NPCs private static final int CAPTAIN_BATHIS = 30332; @@ -46,17 +45,19 @@ public class Q10967_CulturedAdventurer extends Quest private static final int OL_MAHUM_GENERAL = 20438; private static final int OL_MAHUM_COMMANDER = 20076; // Items + private static final ItemHolder SOE_TO_CAPTAIN_BATHIS = new ItemHolder(91651, 1); + private static final ItemHolder SOE_ABANDNED_CAMP = new ItemHolder(91725, 1); private static final ItemHolder ADVENTURERS_BROOCH = new ItemHolder(91932, 1); private static final ItemHolder ADVENTURERS_BROOCH_GEMS = new ItemHolder(91936, 1); private static final ItemHolder SCROLL_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2); // Misc private static final String KILL_COUNT_VAR = "KillCount"; - private static final int MAX_LEVEL = 30; private static final int MIN_LEVEL = 25; + private static final int MAX_LEVEL = 30; - public Q10967_CulturedAdventurer() + public Q10291_MoreExperience() { - super(10967); + super(10291); addStartNpc(CAPTAIN_BATHIS); addTalkId(CAPTAIN_BATHIS); addKillId(OL_MAHUM_SHOOTER, OL_MAHUM_SERGEANT, OL_MAHUM_OFFICER, OL_MAHUM_GENERAL, OL_MAHUM_COMMANDER); @@ -78,34 +79,30 @@ public class Q10967_CulturedAdventurer extends Quest switch (event) { case "30332-01.htm": - { - htmltext = event; - break; - } case "30332-02.htm": - { - htmltext = event; - break; - } case "30332-03.htm": - { - qs.startQuest(); - htmltext = event; - break; - } case "30332-05.html": { - if (qs.isStarted()) - { - player.sendPacket(new ExShowScreenMessage("You've obtained Adventurer's Brooch and Adventurer's Gem Fragment.#Check the tutorial to equip the gems.", 5000)); - addExpAndSp(player, 2500000, 67500); - giveItems(player, ADVENTURERS_BROOCH); - giveItems(player, ADVENTURERS_BROOCH_GEMS); - giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON); - qs.exitQuest(false, true); - htmltext = event; - break; - } + htmltext = event; + break; + } + case "30332-04.htm": + { + qs.startQuest(); + giveItems(player, SOE_ABANDNED_CAMP); + htmltext = event; + break; + } + case "30332-06.html": + { + showOnScreenMsg(player, NpcStringId.YOU_VE_GOT_ADVENTURER_S_BROOCH_AND_ADVENTURER_S_ROUGH_JEWEL_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_ENCHASE_THE_JEWEL, ExShowScreenMessage.TOP_CENTER, 10000); + addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(30) + 100) - player.getExp(), 117500); + giveItems(player, ADVENTURERS_BROOCH); + giveItems(player, ADVENTURERS_BROOCH_GEMS); + giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON); + qs.exitQuest(false, true); + htmltext = event; + break; } } return htmltext; @@ -122,10 +119,14 @@ public class Q10967_CulturedAdventurer extends Quest } else if (qs.isStarted()) { - if (qs.isCond(2)) + if (qs.isCond(1)) { htmltext = "30332-04.html"; } + else if (qs.isCond(2)) + { + htmltext = "30332-05.html"; + } } else if (qs.isCompleted()) { @@ -147,7 +148,7 @@ public class Q10967_CulturedAdventurer extends Quest qs.unset(KILL_COUNT_VAR); killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_ABANDONED_CAMP_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_BATHIS_IN_GLUDIO, 2, 5000)); } - else if (killCount < 150) + else if (killCount < 50) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -158,6 +159,7 @@ public class Q10967_CulturedAdventurer extends Quest qs.setCond(2, true); qs.unset(KILL_COUNT_VAR); killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_ABANDONED_CAMP_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_BATHIS_IN_GLUDIO, 2, 5000)); + giveItems(killer, SOE_TO_CAPTAIN_BATHIS); } } return super.onKill(npc, killer, isSummon); diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/no_lvl.html new file mode 100644 index 0000000000..c26962b8ef --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10291_MoreExperience/no_lvl.html @@ -0,0 +1,4 @@ +Captain Bathis:
+Are you interested?
+(Available to characters of Level 25 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-01.html similarity index 80% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-01.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-01.html index 0d14a2240c..0e8fefacc2 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-01.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-01.html @@ -1,5 +1,5 @@ High Priest Raymond:
Do you know there's a Gorgon Flower Garden in the vicinity of Giran?
Formerly it was called Secret Garden, but now it's a horrible place occupied by abmoniable creatures.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-02.html similarity index 88% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-02.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-02.html index 314c171342..16009d688a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-02.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-02.html @@ -2,5 +2,5 @@ The garden was a peaceful and nice place before mysterious and dreadful beasts invaded it. There's a rumour that they have turned all garden animals into stone!
Now there are no living creatures but Harpies, Medusas, and Bugbears.
Word goes around that many strange things have been happening in the garden lately. That worries me a lot, so I'm looking for a brave soul who would go there and find out the truth.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-03.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-03.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-03.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-04.html similarity index 74% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-04.html index 0a48bb5f60..339b3c1320 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-04.html @@ -1,5 +1,5 @@ High Priest Raymond:
Have you completed the mission?
I haven't heard from you for a long time so I've been worried.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289.html similarity index 77% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289.html index 3d37f97191..89a8f55aa5 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30289.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30289.html @@ -1,5 +1,5 @@ High Priest Raymond:
Bathis has sent you, am I right? I've been waiting for you for a while.
Please, if you have a minute, listen to my plea.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332-01.htm similarity index 77% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332-01.htm index 9852c4e430..b118794ffd 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332-01.htm @@ -1,5 +1,5 @@ Captain Bathis:
The High Priest Raymond who is in service at the Temple of Einhasad.
As I know he has some troubles, that's why he's looking for a help. Are you interestd?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332.htm similarity index 75% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332.htm index 1c0a5cd4d4..854ab10d6c 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/30332.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/30332.htm @@ -1,5 +1,5 @@ Captain Bathis:
Thanks to your heroic deeds you've worked up a good reputation.
Now someone wants to ask for your assistance.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/Q10964_SecretGarden.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/Q10292_SecretGarden.java similarity index 87% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/Q10964_SecretGarden.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/Q10292_SecretGarden.java index 6bdffd80fe..a7a08596d9 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/Q10964_SecretGarden.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/Q10292_SecretGarden.java @@ -14,11 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10964_SecretGarden; +package quests.Q10292_SecretGarden; import java.util.HashSet; import java.util.Set; +import org.l2jmobius.gameserver.data.xml.ExperienceData; import org.l2jmobius.gameserver.enums.QuestSound; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; @@ -32,9 +33,8 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; /** * Secret Garden (10964) * @author RobikBobik - * @Note: Based on NA server September 2019 */ -public class Q10964_SecretGarden extends Quest +public class Q10292_SecretGarden extends Quest { // NPC private static final int CAPTAIN_BATHIS = 30332; @@ -46,6 +46,8 @@ public class Q10964_SecretGarden extends Quest private static final int TURAK_BUGBEAR = 20248; private static final int TURAK_BUGBEAR_WARRIOR = 20249; // Items + private static final ItemHolder SOE_GORGON_FLOWER_GARDEN = new ItemHolder(95588, 1); + private static final ItemHolder SOE_HIGH_PRIEST_RAYMOND = new ItemHolder(91736, 1); private static final ItemHolder SCROLL_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2); private static final ItemHolder TRAVELER_AGATHION_SUMMON_BRACELET = new ItemHolder(91933, 1); private static final ItemHolder TRAVELER_AGATHION_GRIFFIN = new ItemHolder(91935, 1); @@ -54,9 +56,9 @@ public class Q10964_SecretGarden extends Quest private static final int MIN_LEVEL = 30; private static final int MAX_LEVEL = 35; - public Q10964_SecretGarden() + public Q10292_SecretGarden() { - super(10964); + super(10292); addStartNpc(CAPTAIN_BATHIS); addTalkId(CAPTAIN_BATHIS, RAYMOND); addKillId(HARPY, MEDUSA, WYRM, TURAK_BUGBEAR, TURAK_BUGBEAR_WARRIOR); @@ -103,6 +105,7 @@ public class Q10964_SecretGarden extends Quest case "30289-02.html": { qs.setCond(2, true); + giveItems(player, SOE_GORGON_FLOWER_GARDEN); htmltext = event; break; } @@ -117,7 +120,7 @@ public class Q10964_SecretGarden extends Quest if (qs.isStarted()) { player.sendPacket(new ExShowScreenMessage(NpcStringId.YOU_VE_GOT_ADVENTURER_S_AGATHION_BRACELET_AND_ADVENTURER_S_AGATHION_GRIFFIN_NCOMPLETE_THE_TUTORIAL_AND_TRY_TO_USE_THE_AGATHION, 2, 5000)); - addExpAndSp(player, 3500000, 95000); + addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(35) + 100) - player.getExp(), 135000); giveItems(player, TRAVELER_AGATHION_SUMMON_BRACELET); giveItems(player, TRAVELER_AGATHION_GRIFFIN); giveItems(player, SCROLL_ENCHANT_ADEN_WEAPON); @@ -137,7 +140,7 @@ public class Q10964_SecretGarden extends Quest if ((qs != null) && qs.isCond(2)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 150) + if (killCount < 70) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -147,6 +150,7 @@ public class Q10964_SecretGarden extends Quest { qs.setCond(3, true); qs.unset(KILL_COUNT_VAR); + giveItems(killer, SOE_HIGH_PRIEST_RAYMOND); killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_GORGON_FLOWER_GARDEN_ARE_KILLED_NUSE_THE_TELEPORT_TO_GET_TO_HIGH_PRIEST_RAYMOND_IN_GLUDIO, 2, 5000)); } } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/no_lvl.html new file mode 100644 index 0000000000..9ea4ba3ee8 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10292_SecretGarden/no_lvl.html @@ -0,0 +1,4 @@ +Captain Bathis:
+Interested? Raymond is looking for an experienced adventurer to assign to a mission. But I've fears you're not strong enough for this quest. You've to improve your skills first.
+(This quest is available to characters of Level 30 or higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-01.html similarity index 86% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-01.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-01.html index d39d42dc77..c3f318a1ca 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-01.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-01.html @@ -1,5 +1,5 @@ High Priest Maximillian:
Yes, that's right. I have to admit that I've heard a lot about your heroic deeds. So when strange things had started happening in the Gorgon Flower Garden, I thought about you and asked Raymond to arrange our meeting.
It is very important. Otherwise, I wouldn't have asked that you leave Gludio in such a hurry.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-02.html similarity index 83% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-02.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-02.html index 3cb195ed0f..f721cd9fcc 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-02.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-02.html @@ -2,5 +2,5 @@ I need help of an experienced adventurer.
Someone has to deal with the monsters inhabiting the Death Pass. When I was informed about that, I thought about you and asked Raymond to arrgane our meeting.
I hope you agree to help me.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-03.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-03.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-03.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-04.html similarity index 69% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-04.html index 07a96f8f25..035d10ffa5 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-04.html @@ -1,4 +1,4 @@ High Priest Maximillian:
You've killed monsters in Death Pass, aren't you?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-05.html new file mode 100644 index 0000000000..89f070fc1a --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120-05.html @@ -0,0 +1,4 @@ +High Priest Maximillian:
+Thank you! That's one load off my mind. May the blessing of Einhasad be with you.
+You've reached Lv. 40. Now you can uuse 2nd class transfer. Remember that class transfer helps you grow your power and makes you stronger.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120.html similarity index 80% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120.html index 77bf865476..26146402ee 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30120.html @@ -1,5 +1,5 @@ High Priest Maximillian:
That's exactly how Raymond has described you to me.
Greetings, I'm High Priest Maximillian, a servant of the Temple of Einhasad in Giran.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-01.htm similarity index 70% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-01.htm index 6cfea6aab3..3ad57e3ba8 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-01.htm @@ -1,4 +1,4 @@ High Priest Raymond:
Do you remember exploring the Gorgon Flower Garden near Giran?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-02.htm similarity index 86% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-02.htm index 161ebb5a03..1e5081efb1 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-02.htm @@ -1,5 +1,5 @@ High Priest Raymond:
This time the High Priest Maximilian is in need of your help. You can find him in the Temple of Einhasad in Giran.
He has heard a lot about your achievements, that's why he wants to give you and assignment. But Maximilian supposed that you wouldn't listen to a stranger. So he asked me to tell you his plea.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-03.htm similarity index 87% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-03.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-03.htm index 06a2d8a7c0..5b5ab1d454 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289-03.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289-03.htm @@ -3,5 +3,5 @@ Unfortunately, I don't know all the details, I'm just a mediator.
The High Priest of Giran can provide full information on the mission.
The long journey to Giran is awaiting you. But I see you're tired, so I can teleport you to Maximilian.
Of course, if you still have other businesses here, come to me after you've finished them. When you come to Giran, look for the Temple of Einhasad.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289.htm similarity index 78% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289.htm index 5257abd4a6..e711ecf61f 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30289.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/30289.htm @@ -1,5 +1,5 @@ High Priest Raymond:
I know you have a lot of work to do, but still I want to ask a favour.
I have some news that help of experienced adventurer is needed in Giran.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/Q10965_DeathMysteries.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/Q10293_DeathMysteries.java similarity index 85% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/Q10965_DeathMysteries.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/Q10293_DeathMysteries.java index 3d9e892fe6..f851240a58 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/Q10965_DeathMysteries.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/Q10293_DeathMysteries.java @@ -14,11 +14,12 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10965_DeathMysteries; +package quests.Q10293_DeathMysteries; import java.util.HashSet; import java.util.Set; +import org.l2jmobius.gameserver.data.xml.ExperienceData; import org.l2jmobius.gameserver.enums.QuestSound; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; @@ -32,9 +33,8 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; /** * Death Mysteries (10965) * @author RobikBobik - * @Note: Based on NA server September 2019 */ -public class Q10965_DeathMysteries extends Quest +public class Q10293_DeathMysteries extends Quest { // NPC private static final int RAYMOND = 30289; @@ -47,17 +47,19 @@ public class Q10965_DeathMysteries extends Quest private static final int WINDUS = 20553; private static final int GRANDIS = 20554; // Items - private static final ItemHolder BLUE_LANTERNT = new ItemHolder(93074, 1); + private static final ItemHolder SOE_DEATH_PASS = new ItemHolder(95589, 1); + private static final ItemHolder SOE_HIGH_PRIEST_MAXIMILIAN = new ItemHolder(95595, 1); + private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 1); private static final ItemHolder SCROLL_OF_ENCHANT_ADEN_WEAPON = new ItemHolder(93038, 2); // Misc private static final String KILL_COUNT_VAR = "KillCount"; - private static final int MAX_LEVEL = 40; private static final int MIN_LEVEL = 35; + private static final int MAX_LEVEL = 40; - public Q10965_DeathMysteries() + public Q10293_DeathMysteries() { - super(10965); + super(10293); addStartNpc(RAYMOND); addTalkId(RAYMOND, MAXIMILLIAN); addKillId(WYRM, GUARDIAN_BASILISK, ROAD_SCAVENGER, FETTERED_SOUL, WINDUS, GRANDIS); @@ -120,6 +122,7 @@ public class Q10965_DeathMysteries extends Quest case "30120-03.html": { qs.setCond(2, true); + giveItems(player, SOE_DEATH_PASS); htmltext = event; break; } @@ -127,8 +130,8 @@ public class Q10965_DeathMysteries extends Quest { if (qs.isStarted()) { - addExpAndSp(player, 5000000, 135000); - giveItems(player, BLUE_LANTERNT); + addExpAndSp(player, (ExperienceData.getInstance().getExpForLevel(40) + 100) - player.getExp(), 160000); + giveItems(player, SAYHA_GUST); giveItems(player, MAGIC_LAMP_CHARGING_POTION); giveItems(player, SCROLL_OF_ENCHANT_ADEN_WEAPON); qs.exitQuest(false, true); @@ -147,7 +150,7 @@ public class Q10965_DeathMysteries extends Quest if ((qs != null) && qs.isCond(2)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 150) + if (killCount < 100) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -157,6 +160,7 @@ public class Q10965_DeathMysteries extends Quest { qs.setCond(3, true); qs.unset(KILL_COUNT_VAR); + giveItems(killer, SOE_HIGH_PRIEST_MAXIMILIAN); killer.sendPacket(new ExShowScreenMessage(NpcStringId.MONSTERS_OF_THE_DEATH_PASS_ARE_KILLED_NUSE_THE_TELEPORT_OR_THE_SCROLL_OF_ESCAPE_TO_GET_TO_HIGH_PRIEST_MAXIMILIAN_IN_GIRAN, 2, 5000)); } } @@ -183,7 +187,7 @@ public class Q10965_DeathMysteries extends Quest String htmltext = getNoQuestMsg(player); if (qs.isCreated()) { - htmltext = "30289.htm"; + htmltext = "30289-01.htm"; } else if (qs.isStarted()) { diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/no_lvl.html new file mode 100644 index 0000000000..c905fd117a --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10293_DeathMysteries/no_lvl.html @@ -0,0 +1,4 @@ +High Priest Raymond:
+The surroundings of Giran are dangerous. I've fears that the beasts dwelling there very strong enemies even for you.
+(Available to characters of Lv. 35 and higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-01.htm similarity index 83% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-01.htm index c39e4b2739..7f18a79da3 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-01.htm @@ -1,5 +1,5 @@ High Priest Maximillian:
I have a good advice for you. Go to Aden and find there the High Priest Orven.
As far as I know Orven fulfills the king's order, which is to give help to young adventurers. I think you might find it useful.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-02.htm similarity index 80% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-02.htm index c44b79b69b..0e2dae3377 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-02.htm @@ -1,5 +1,5 @@ High Priest Maximillian:
As far as I know the King of Aden has ordered, that young adventurers should get help. I think that means also some equipment.
I think, you might find it useful.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-03.htm similarity index 79% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-03.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-03.htm index 9922748514..aa51b69153 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120-03.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120-03.htm @@ -1,5 +1,5 @@ High Priest Maximillian:
Go to Aden and talk to the High Priest Orven in the Temple of Einhasad.
You can reach Aden using teleportation. I would be glad to help you.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120.htm similarity index 80% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120.htm index a228e31337..5cf8401a69 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30120.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30120.htm @@ -1,5 +1,5 @@ High Priest Maximillian:
As I see, you've completed the 2nd class transfer already.
Your deeds on the continent impress me. That's why I wnat to help you to get more powerful.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-01.html similarity index 84% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-01.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-01.html index 585d3cfbef..1ac5469a2c 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-01.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-01.html @@ -3,5 +3,5 @@ Yes... I know you are brave and strong warrior, not a newbie. People from the pl You've achieved many victories but to get stronger you have to defeat more dangerous enemies in more dangerous places. I've mind one such place.
I'm talking about the Sea of Spores. That's a very good place to improve your skills and grow stronger.
You can get to the Sea of Spores using teleport in Oren. I suppose a mighty warrior such as you can survive in this horrible place.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-02.html similarity index 83% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-02.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-02.html index 03029b75d7..27a050d94a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-02.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-02.html @@ -1,6 +1,6 @@ High Priest Orven:
The Sea of Spores is surrounded by a special barrier that prevents its spreading.
-I recommend you go there and pratice your skills fighting monsters. It will toughen you up before you go to other places. I'd recommend you start your journey after you've reached Lv.45.
+I recommend you go there and pratice your skills fighting monsters. It will toughen you up before you go to other places. I'd recommend you start your journey after you've reached Lv.44.
When you've gained enough experience and strength, I'll tell you where you should go next.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-03.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-03.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-03.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-04.html similarity index 67% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-04.html index 1c1f04612e..3d47a184e2 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-04.html @@ -1,4 +1,4 @@ High Priest Orven:
Is your training in the Sea of Spores over?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857.html similarity index 82% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857.html index 2ffa6e36c1..5cb273353d 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/30857.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/30857.html @@ -1,4 +1,4 @@ High Priest Orven:
I've been waiting for you. More recently, many trange and terrible things have been happening in the continent, that's why I'm looking for for warriors who can deal with such horrible troubles.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/Q10969_SporeInfestedPlace.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/Q10294_SporeInfestedPlace.java similarity index 83% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/Q10969_SporeInfestedPlace.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/Q10294_SporeInfestedPlace.java index 6cd50f6259..52148a465d 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/Q10969_SporeInfestedPlace.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/Q10294_SporeInfestedPlace.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10969_SporeInfestedPlace; +package quests.Q10294_SporeInfestedPlace; import java.util.HashSet; import java.util.Set; @@ -31,7 +31,7 @@ import org.l2jmobius.gameserver.network.NpcStringId; /** * @author quangnguyen, Mobius */ -public class Q10969_SporeInfestedPlace extends Quest +public class Q10294_SporeInfestedPlace extends Quest { // NPC private static final int MAXIMILLIAN = 30120; @@ -47,20 +47,25 @@ public class Q10969_SporeInfestedPlace extends Quest private static final int SPORE_ZOMBIE = 20562; private static final int EARTH_GUARDIAN_WYRM = 20176; // Items + private static final ItemHolder SOE_SEA_OF_SPORES = new ItemHolder(95590, 1); + private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1); private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 500); private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 50); private static final ItemHolder HP_POTS = new ItemHolder(91912, 100); + private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); // Misc private static final String KILL_COUNT_VAR = "KillCount"; private static final int MIN_LEVEL = 40; + private static final int MAX_LEVEL = 44; - public Q10969_SporeInfestedPlace() + public Q10294_SporeInfestedPlace() { - super(10969); + super(10294); addStartNpc(MAXIMILLIAN); addTalkId(MAXIMILLIAN, ORVEN); addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE, ROTTING_GOLEM, SPIDER_TRISALIM, TRISALIM_TARANTULA, SPORE_ZOMBIE, EARTH_GUARDIAN_WYRM); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_40_44_SPORE_INFESTED_PLACE); } @@ -102,12 +107,13 @@ public class Q10969_SporeInfestedPlace extends Quest } case "TELEPORT_TO_ORVEN": { - player.teleToLocation(147447, 22633, -1984); + player.teleToLocation(147452, 22638, -1984); break; } case "30857-02.html": { qs.setCond(2); + giveItems(player, SOE_SEA_OF_SPORES); htmltext = event; break; } @@ -115,10 +121,12 @@ public class Q10969_SporeInfestedPlace extends Quest { if (qs.isCond(3)) { - addExpAndSp(player, 1000000, 27000); + addExpAndSp(player, 10000000, 270000); giveItems(player, SPIRIT_ORE); giveItems(player, SOULSHOT_TICKET); giveItems(player, HP_POTS); + giveItems(player, SAYHA_GUST); + htmltext = "30857-05.html"; qs.exitQuest(false, true); } break; @@ -151,7 +159,7 @@ public class Q10969_SporeInfestedPlace extends Quest { htmltext = "30857.html"; } - else if (qs.isCond(3) && (player.getLevel() >= 44)) + else if (qs.isCond(3) && (player.getLevel() < 43)) { htmltext = "30857-04.html"; } @@ -180,7 +188,7 @@ public class Q10969_SporeInfestedPlace extends Quest if ((qs != null) && qs.isCond(2)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 500) + if (killCount < 200) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -189,6 +197,7 @@ public class Q10969_SporeInfestedPlace extends Quest else { qs.setCond(3, true); + giveItems(killer, SOE_HIGH_PRIEST_OVEN); qs.unset(KILL_COUNT_VAR); } } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_enough.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_enough.html new file mode 100644 index 0000000000..e9b54a77ed --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_enough.html @@ -0,0 +1,6 @@ +High Priest Orven:
+Go to the Sea of Spores and defeat monsters.
+But before you go there, think about obtaining a good equipment.
+To get to the Sea of Spores use a teleport. The nearest one is placed in Oren. Also you can use a scroll for teleporting to the Sea of Spores. I know you have one in your inventory.
+By the way, monsters living in the Sea of Spores are bound to water attribute, so you'd better use wind attribute against them. I hope it's useful information.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_lvl.html new file mode 100644 index 0000000000..99d1508d33 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10294_SporeInfestedPlace/no_lvl.html @@ -0,0 +1,4 @@ +High Priest Maximillian:
+Now we have nothing to talk about. Come back when you get stronger.
+(Available to characters of Lv. 40 and higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-01.htm similarity index 73% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-01.htm index 4929cfba6c..78f4198fe1 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-01.htm @@ -2,5 +2,5 @@ There is the Cemtery not far away from Aden.
The nobles and the most important people of the kingdom were burried there a long ago.
However, lately the Cemetery has been infested with dark magic. It is very dangerous, and nobody goes there anymore.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-02.htm similarity index 67% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-02.htm index 2e72f2f152..2526dd1b05 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-02.htm @@ -1,5 +1,5 @@ High Priest Orven:
Many people want to visit graves of their ancestors but they can't do that because of monsters wandering in the Cemetery.
So if you go there you kill two birds with one stone, training and helping citizens.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-03.htm new file mode 100644 index 0000000000..5aaeb35a95 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-03.htm @@ -0,0 +1,7 @@ +High Priest Orven:
+Hm...
+To get to the Cemetery use teleprot in any part of the continent.
+Go and kill 300 monsters that are roaming around the Cemetery. Also you have to reach Lv. 52. Monsters to hunt: Taik Orc Watchman, Grave Guard, Taik Orc Supply Officer, Tairim, Tortured Undead, Spiteful Ghost of Ruins, Soldier of Grief, Cruel Punisher, Roving Soul, Soul of Ruins.
+One more thing! If you know nothing about transcendent instance zones, I'd be glad to enlighten you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-04.html new file mode 100644 index 0000000000..da9af1f86b --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-04.html @@ -0,0 +1,4 @@ +High Priest Orven:
+Have you completed your training?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-06.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-06.html new file mode 100644 index 0000000000..d0fefccdd0 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-06.html @@ -0,0 +1,4 @@ +High Priest Orven:
+There are places in our world that are hidden from prying eyes and nobody can get there just for no reason.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-07.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-07.html new file mode 100644 index 0000000000..879ac36a54 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-07.html @@ -0,0 +1,5 @@ +High Priest Orven:
+That places are called special hunting zones. There are many of them and surely you will find the good one for you.
+Pressing the button on the right sidebar, you can open the list of special hunting zones.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-08.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-08.html new file mode 100644 index 0000000000..35d95e5062 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857-08.html @@ -0,0 +1,8 @@ +High Priest Orven:
+You have to remember something very important.
+As soon as you've spoken to Grand Master, many monsters appear.
+Be ready to fight.
+Besides you have to remember that transcendent powers can be used only in transcendent instance zones. If you leave the transcendent instance zone, you lose the powers.
+Go to the transcendent instance zone of your level and fight monsters dwelling there.
+It will make you stronger.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857.htm similarity index 59% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857.htm index c0d0e6e705..5be5571de4 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/30857.htm @@ -1,5 +1,5 @@ High Priest Orven:
I think you are too stronger to trian here.
If you want I can recommend another training place to you. Are you interested?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/Q10970_RespectForGraves.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/Q10295_RespectforGraves.java similarity index 80% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/Q10970_RespectForGraves.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/Q10295_RespectforGraves.java index 2065840625..0a48658e79 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/Q10970_RespectForGraves.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/Q10295_RespectforGraves.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10970_RespectForGraves; +package quests.Q10295_RespectforGraves; import java.util.HashSet; import java.util.Set; @@ -32,7 +32,7 @@ import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; /** * @author quangnguyen */ -public class Q10970_RespectForGraves extends Quest +public class Q10295_RespectforGraves extends Quest { // NPC private static final int ORVEN = 30857; @@ -47,19 +47,25 @@ public class Q10970_RespectForGraves extends Quest private static final int CRUEL_PUNISHER = 20998; private static final int ROVING_SOUL = 20999; private static final int SOUL_OF_RUNIS = 21000; + // Items + private static final ItemHolder SOE_CEMETERY = new ItemHolder(95591, 1); + private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1); // Reward private static final ItemHolder ASOFE = new ItemHolder(92994, 1); + private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); // Misc private static final String KILL_COUNT_VAR = "KillCount"; private static final int MIN_LEVEL = 45; + private static final int MAX_LEVEL = 52; - public Q10970_RespectForGraves() + public Q10295_RespectforGraves() { - super(10970); + super(10295); addStartNpc(ORVEN); addTalkId(ORVEN); addKillId(TAIK_ORC_WATCHMAN, GRAVE_GUARD, TAIK_ORC_SUPPLY_OFFICER, TAIRIM, TORTURED_UNDEAD, SPITEFUL_GHOST_OF_RUINS, SOLDIER_OF_GRIEF, CRUEL_PUNISHER, ROVING_SOUL, SOUL_OF_RUNIS); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_45_52_RESPECT_FOR_GRAVES); } @@ -85,6 +91,9 @@ public class Q10970_RespectForGraves extends Quest case "30857.htm": case "30857-01.htm": case "30857-02.htm": + case "30857-06.html": + case "30857-07.html": + case "30857-08.html": { htmltext = event; break; @@ -92,6 +101,7 @@ public class Q10970_RespectForGraves extends Quest case "30857-03.htm": { qs.startQuest(); + giveItems(player, SOE_CEMETERY); htmltext = event; break; } @@ -99,8 +109,9 @@ public class Q10970_RespectForGraves extends Quest { if (qs.isCond(2)) { - addExpAndSp(player, 25000000, 67500); + addExpAndSp(player, 25000000, 675000); giveItems(player, ASOFE); + giveItems(player, SAYHA_GUST); showOnScreenMsg(player, NpcStringId.FROM_NOW_TRY_TO_GET_AS_MUCH_QUESTS_AS_YOU_CAN_I_LL_TELL_YOU_WHAT_TO_DO_NEXT, ExShowScreenMessage.TOP_CENTER, 10000); htmltext = "30857-05.html"; qs.exitQuest(false, true); @@ -124,6 +135,11 @@ public class Q10970_RespectForGraves extends Quest { if (qs.isCond(1)) { + final int killCount = qs.getInt(KILL_COUNT_VAR); + if ((killCount < 300) && (player.getLevel() < 52)) + { + htmltext = "no_enough.html"; + } htmltext = "30857-01.htm"; } else if (qs.isCond(2)) @@ -145,7 +161,7 @@ public class Q10970_RespectForGraves extends Quest if ((qs != null) && qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 500) + if (killCount < 300) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -154,6 +170,7 @@ public class Q10970_RespectForGraves extends Quest else { qs.setCond(2, true); + giveItems(killer, SOE_HIGH_PRIEST_OVEN); qs.unset(KILL_COUNT_VAR); } } @@ -168,6 +185,7 @@ public class Q10970_RespectForGraves extends Quest { final Set holder = new HashSet<>(); holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_CEMETERY.getId(), true, qs.getInt(KILL_COUNT_VAR))); + holder.add(new NpcLogListHolder(NpcStringId.LEVEL_52_ACCOMPLISHED, player.getLevel() > 51 ? 1 : 0)); return holder; } return super.getNpcLogList(player); diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_enough.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_enough.html new file mode 100644 index 0000000000..86a4c297be --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_enough.html @@ -0,0 +1,5 @@ +High Priest Orven:
+Hm...
+To get to the Cemetery use teleprot in any part of the continent.
+Go and kill 300 monsters that are roaming around the Cemetery. Also you have to reach Lv. 52. Monsters to hunt: Taik Orc Watchman, Grave Guard, Taik Orc Supply Officer, Tairim, Tortured Undead, Spiteful Ghost of Ruins, Soldier of Grief, Cruel Punisher, Roving Soul, Soul of Ruins.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_lvl.html new file mode 100644 index 0000000000..ab213a2b62 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10295_RespectforGraves/no_lvl.html @@ -0,0 +1,4 @@ +High Priest Orven:
+I think you are not strong enough for this quest. Gain more experience and then come back.
+(Available to characters of Lv. 45 and higher)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-01.htm similarity index 86% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-01.htm index 09d0d58902..2adf30dbba 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-01.htm @@ -1,5 +1,5 @@ High Priest Orven:
Long before our country was formed there was a great empire that was split into two kingdoms-Elmore and Aden fighting each other fro owning more land. There were a lot of battles around the Aden Castle.
Nevertheless Aden won, and the world changed. But even now you can see traces of that horrible war everywhere.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-02.htm similarity index 87% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-02.htm index 395efa2c7d..3213393cf1 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-02.htm @@ -2,5 +2,5 @@ Long ago there was a significant battle in the Fields of Massacre.
To take the Devastated Castle, soldiers of Elmore sprayed a poison all over the field. So many brave warriors died in that day...
The Fields of Massacre have been haunted by evil spirits since then. Souls of the dead warriors have become possessed. They have no rest... We have to help them.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.htm similarity index 76% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-03.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.htm index 2ad558035e..09d95148c5 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-03.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.htm @@ -1,5 +1,5 @@ High Priest Orven:
Local people want to perform the rite of remembrance of dead warriors who faced their death in the Fields of Massacre.
But they can't do it now, too many monsters are wandering in that place.
-Go to the Fields of Massacre and kill monsters roaming there. Monsters to hunt: Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior, Guard Butcher.
+Go to the Fields of Massacre and kill monsters roaming there. Monsters to hunt: Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior. You have to destroy 400 monster and reach Lv. 58
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.html new file mode 100644 index 0000000000..09d95148c5 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-03.html @@ -0,0 +1,5 @@ +High Priest Orven:
+Local people want to perform the rite of remembrance of dead warriors who faced their death in the Fields of Massacre.
+But they can't do it now, too many monsters are wandering in that place.
+Go to the Fields of Massacre and kill monsters roaming there. Monsters to hunt: Archer of Destruction, Graveyard Lich, Dismal Pole, Graveyard Predator, Doom Knight, Doom Scout, Doom Servant, Doom Guard, Doom Archer, Doom Trooper, Doom Warrior. You have to destroy 400 monster and reach Lv. 58
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-04.html similarity index 68% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-04.html index 4e1549e4b0..3f52c80893 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-04.html @@ -1,4 +1,4 @@ High Priest Orven:
Have you dealt with the monsters?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857.htm similarity index 79% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857.htm index 6861ccddd8..19ebab4f18 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/30857.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/30857.htm @@ -1,5 +1,5 @@ High Priest Orven:
Oh, you've already done with the Respect for Graves quest.
At this part of Aden you can find many traces of severe fights and bloody battles.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/Q10975_LetsPayRespectsToOurFallenBrethren.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java similarity index 78% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/Q10975_LetsPayRespectsToOurFallenBrethren.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java index 82b2d46ac8..a61e04e5e2 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/Q10975_LetsPayRespectsToOurFallenBrethren.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10975_LetsPayRespectsToOurFallenBrethren; +package quests.Q10296_LetsPayRespectsToOurFallenBrethren; import java.util.HashSet; import java.util.Set; @@ -27,11 +27,14 @@ import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; + +import quests.Q10295_RespectforGraves.Q10295_RespectforGraves; /** * @author quangnguyen */ -public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest +public class Q10296_LetsPayRespectsToOurFallenBrethren extends Quest { // NPCs private static final int ORVEN = 30857; @@ -49,21 +52,26 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest private static final int DOOM_WARRIOR = 21010; private static final int GUARD_BUTCHER = 22101; // Items + private static final ItemHolder SOE_FIELDS_OF_MASSACRE = new ItemHolder(95592, 1); + private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1); private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 3); private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 10); private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 450); // Misc private static final int MIN_LEVEL = 52; + private static final int MAX_LEVEL = 58; private static final String KILL_COUNT_VAR = "KillCount"; - public Q10975_LetsPayRespectsToOurFallenBrethren() + public Q10296_LetsPayRespectsToOurFallenBrethren() { - super(10975); + super(10296); addStartNpc(ORVEN); addTalkId(ORVEN); addKillId(ACHER_OF_DESTRUCTION, GRAVEYARD_LICH, DISMAL_POLE, GRAVEYARD_PREDATOR, DOOM_KNIGHT, DOOM_SCOUT, DOOM_SERVANT, DOOM_GUARD, DOOM_ARCHER, DOOM_TROOPER, DOOM_WARRIOR, GUARD_BUTCHER); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondCompletedQuest(Q10295_RespectforGraves.class.getSimpleName(), "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_52_58_LET_S_PAY_RESPECTS_TO_OUR_FALLEN_BRETHREN); } @@ -96,6 +104,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest case "30857-03.htm": { qs.startQuest(); + giveItems(player, SOE_FIELDS_OF_MASSACRE); htmltext = event; break; } @@ -103,6 +112,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest { if (qs.isCond(2)) { + addExpAndSp(player, 30000000, 810000); giveItems(player, MAGIC_LAMP_CHARGING_POTION); giveItems(player, SOULSHOT_TICKET); giveItems(player, SAYHA_GUST); @@ -130,9 +140,9 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest if (qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 500) + if ((killCount < 400) && (player.getLevel() < 58)) { - htmltext = "no_kill.html"; + htmltext = "30857-03.html"; } else { @@ -158,7 +168,7 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest if ((qs != null) && qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 500) + if (killCount < 400) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -167,6 +177,8 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest else { qs.setCond(2, true); + showOnScreenMsg(killer, NpcStringId.ALL_MISSIONS_ARE_COMPLETED_NUSE_SCROLL_OF_ESCAPE_HIGH_PRIEST_ORVEN_TO_GET_TO_HIGH_PRIEST_ORVEN_IN_ADEN, ExShowScreenMessage.TOP_CENTER, 10000); + giveItems(killer, SOE_HIGH_PRIEST_OVEN); qs.unset(KILL_COUNT_VAR); } } @@ -181,8 +193,10 @@ public class Q10975_LetsPayRespectsToOurFallenBrethren extends Quest { final Set holder = new HashSet<>(); holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_FIELDS_OF_MASSACRE.getId(), true, qs.getInt(KILL_COUNT_VAR))); + holder.add(new NpcLogListHolder(NpcStringId.LEVEL_58_ACCOMPLISHED, player.getLevel() > 57 ? 1 : 0)); return holder; } return super.getNpcLogList(player); } + } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/no_kill.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/no_kill.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/no_kill.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/no_kill.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/no_lvl.html new file mode 100644 index 0000000000..de75ec351f --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/no_lvl.html @@ -0,0 +1,4 @@ +High Priest Orven:
+I think you are not strong enough for this quest. Gain more experience and then come back.
+(This quest is available to characters of Lv. 52+.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-01.htm similarity index 77% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-01.htm index 04f96caa50..b5cd8b5107 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-01.htm @@ -1,5 +1,5 @@ High Priest Orven:
There were many bloody battles around the Aden Castle.
But there was the one in which Elmore was defeated.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-02.htm similarity index 82% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-02.htm index 1f23afaac3..995f797cf1 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-02.htm @@ -2,5 +2,5 @@ It's called Plain of Glory.
Warriors of our kingdom fought soldiers of Elmore there and won.
The thing is that strange things have started happening there recently. Not glorious at all.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-03.htm similarity index 73% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-03.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-03.htm index 5e50967869..e9d5c7126c 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-03.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-03.htm @@ -2,5 +2,6 @@ There are too many monsters wandering on the Plains of Glory.
But why am I I surprised? Places of ancient battles are attracting monsters. Shattered lands are some kind of reminder of war horrors and a high price of victory.
But the Plains of Glory is a special place for local people. We cannot allow monsters roaming there.
-Please, kill the monster that roaming the Plains of Glory. I'm talking about Vanor Silenos, Vanor Silenos Soldier, Vanor Silenos Scout, Vanor Silenos Warrior, Vanor Silenos Shaman, Vanor Silenos Chieftain, Vanor Mercenary of Glory, Guard of Honor. All of them must die.
+Please, kill the monster that roaming the Plains of Glory. I'm talking about Vanor Silenos, Vanor Silenos Soldier, Vanor Silenos Scout, Vanor Silenos Warrior, Vanor Silenos Shaman, Vanor Silenos Chieftain, Vanor Mercenary of Glory. You have to destroy 500 monsters in total.
+Also you have to reach Lv. 64.
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-04.html similarity index 66% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-04.html index 62bff168d8..52e8e22ee9 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-04.html @@ -1,4 +1,4 @@ High Priest Orven:
Have you dealt with the monsters?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857.htm similarity index 82% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857.htm index b125b0a7d8..fedd5af3d0 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/30857.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/30857.htm @@ -1,5 +1,5 @@ High Priest Orven:
Well, Aden has been really changed for some time past. But not all changes are for the better.
Nevertheless we remember glorious times and believe that we can overcome all hardships that lie ahead.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/Q10976_MemoryOfTheGloriousPast.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/Q10297_MemoryOfTheGloriousPast.java similarity index 82% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/Q10976_MemoryOfTheGloriousPast.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/Q10297_MemoryOfTheGloriousPast.java index a462344930..aac36a0705 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/Q10976_MemoryOfTheGloriousPast.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/Q10297_MemoryOfTheGloriousPast.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10976_MemoryOfTheGloriousPast; +package quests.Q10297_MemoryOfTheGloriousPast; import java.util.HashSet; import java.util.Set; @@ -28,10 +28,12 @@ import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.network.NpcStringId; +import quests.Q10295_RespectforGraves.Q10295_RespectforGraves; + /** * @author quangnguyen */ -public class Q10976_MemoryOfTheGloriousPast extends Quest +public class Q10297_MemoryOfTheGloriousPast extends Quest { // NPCs private static final int ORVEN = 30857; @@ -45,21 +47,26 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest private static final int VANOR_MERCENARY_OF_GLORY = 24014; private static final int GUARD_OF_HONOR = 22102; // Items + private static final ItemHolder SOE_PLAINS_OF_GLORY = new ItemHolder(95593, 1); + private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1); private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 3); private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 10); private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 450); // Misc private static final int MIN_LEVEL = 58; + private static final int MAX_LEVEL = 64; private static final String KILL_COUNT_VAR = "KillCount"; - public Q10976_MemoryOfTheGloriousPast() + public Q10297_MemoryOfTheGloriousPast() { - super(10976); + super(10297); addStartNpc(ORVEN); addTalkId(ORVEN); addKillId(VANOR_SILENOS, VANOR_SILENOS_SOLDIER, VANOR_SILENOS_SCOUT, VANOR_SILENOS_WARRIOR, VANOR_SILENOS_SHAMAN, VANOR_SILENOS_CHIEFTAIN, VANOR_MERCENARY_OF_GLORY, GUARD_OF_HONOR); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondCompletedQuest(Q10295_RespectforGraves.class.getSimpleName(), "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_58_64_MEMORY_OF_THE_GLORIOUS_PAST); } @@ -92,6 +99,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest case "30857-03.htm": { qs.startQuest(); + giveItems(player, SOE_PLAINS_OF_GLORY); htmltext = event; break; } @@ -99,6 +107,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest { if (qs.isCond(2)) { + addExpAndSp(player, 35000000, 945000); giveItems(player, MAGIC_LAMP_CHARGING_POTION); giveItems(player, SOULSHOT_TICKET); giveItems(player, SAYHA_GUST); @@ -126,7 +135,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest if (qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 700) + if ((killCount < 500) && (player.getLevel() < 64)) { htmltext = "no_kill.html"; } @@ -157,7 +166,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest if ((qs != null) && qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 700) + if (killCount < 500) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -166,6 +175,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest else { qs.setCond(2, true); + giveItems(killer, SOE_HIGH_PRIEST_OVEN); qs.unset(KILL_COUNT_VAR); } } @@ -180,6 +190,7 @@ public class Q10976_MemoryOfTheGloriousPast extends Quest { final Set holder = new HashSet<>(); holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_ON_THE_PLAINS_OF_GLORY.getId(), true, qs.getInt(KILL_COUNT_VAR))); + holder.add(new NpcLogListHolder(NpcStringId.REACH_LV_64, player.getLevel() > 63 ? 1 : 0)); return holder; } return super.getNpcLogList(player); diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/no_kill.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/no_kill.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/no_kill.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/no_kill.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/no_lvl.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10975_LetsPayRespectsToOurFallenBrethren/no_lvl.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10297_MemoryOfTheGloriousPast/no_lvl.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-01.htm similarity index 81% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-01.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-01.htm index 4cc23f0c20..ecfb7bef6e 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-01.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-01.htm @@ -1,5 +1,5 @@ High Priest Orven:
On the War-Torn Plains. Yes, there were many battles but none of them can't be compared to the one of the War-Torn Plains.
Quickly after that Kingdom of Aden had won the battle of the Plains of Glory.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-02.htm similarity index 85% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-02.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-02.htm index fbd4ecda35..0038fa4254 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-02.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-02.htm @@ -2,5 +2,5 @@ Many warriors had diied on the War-Torn Plains.
Echoes of their suffering and deaths had been imprinted in the plains for ever. That's why monsters like wandering there.
So the War-Torn Plains is very dangerous place. But wa can't leave it as is. I want to ask you for help.
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-03.htm similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-03.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-03.htm diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-04.html similarity index 65% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-04.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-04.html index a66c0f9ca6..ab6d19016b 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-04.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-04.html @@ -1,4 +1,4 @@ High Priest Orven:
Have you dealt with the monsters?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-05.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857-05.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857-05.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857.htm similarity index 72% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857.htm rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857.htm index e309521c31..cb6124b1ca 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/30857.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/30857.htm @@ -1,4 +1,4 @@ High Priest Orven:
Where do you think the most bloody battle between Aden and Elmore took place?
- + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/Q10977_TracesOfBattle.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/Q10298_TracesOfBattle.java similarity index 81% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/Q10977_TracesOfBattle.java rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/Q10298_TracesOfBattle.java index 9ae3e70dc6..36551f43a9 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/Q10977_TracesOfBattle.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/Q10298_TracesOfBattle.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package quests.Q10977_TracesOfBattle; +package quests.Q10298_TracesOfBattle; import java.util.HashSet; import java.util.Set; @@ -28,10 +28,12 @@ import org.l2jmobius.gameserver.model.quest.Quest; import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.network.NpcStringId; +import quests.Q10295_RespectforGraves.Q10295_RespectforGraves; + /** * @author quangnguyen */ -public class Q10977_TracesOfBattle extends Quest +public class Q10298_TracesOfBattle extends Quest { // NPCs private static final int ORVEN = 30857; @@ -46,21 +48,26 @@ public class Q10977_TracesOfBattle extends Quest private static final int VIOLLENT_FARCRAN = 20667; private static final int FIERCE_GUARD = 22103; // Items + private static final ItemHolder SOE_WAR_TORN_PLAINS = new ItemHolder(95594, 1); + private static final ItemHolder SOE_HIGH_PRIEST_OVEN = new ItemHolder(91768, 1); private static final ItemHolder MAGIC_LAMP_CHARGING_POTION = new ItemHolder(91757, 3); private static final ItemHolder SOULSHOT_TICKET = new ItemHolder(90907, 10); private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 450); // Misc private static final int MIN_LEVEL = 64; + private static final int MAX_LEVEL = 70; private static final String KILL_COUNT_VAR = "KillCount"; - public Q10977_TracesOfBattle() + public Q10298_TracesOfBattle() { - super(10977); + super(10298); addStartNpc(ORVEN); addTalkId(ORVEN); addKillId(GRAVEYARD_WANDERER, ARCHER_OF_GREED, HATAR_RATMAN_THIEF, HATAR_RATMAN_BOSS, HATAR_HANISHEE, DEPRIVE, TAIK_ORC_SUPPLY, VIOLLENT_FARCRAN, FIERCE_GUARD); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondCompletedQuest(Q10295_RespectforGraves.class.getSimpleName(), "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_64_70_TRACES_OF_BATTLE); } @@ -93,6 +100,7 @@ public class Q10977_TracesOfBattle extends Quest case "30857-03.htm": { qs.startQuest(); + giveItems(player, SOE_WAR_TORN_PLAINS); htmltext = event; break; } @@ -100,6 +108,7 @@ public class Q10977_TracesOfBattle extends Quest { if (qs.isCond(2)) { + addExpAndSp(player, 40000000, 1080000); giveItems(player, MAGIC_LAMP_CHARGING_POTION); giveItems(player, SOULSHOT_TICKET); giveItems(player, SAYHA_GUST); @@ -127,7 +136,7 @@ public class Q10977_TracesOfBattle extends Quest if (qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 1000) + if ((killCount < 700) && (player.getLevel() < 70)) { htmltext = "no_kill.html"; } @@ -155,7 +164,7 @@ public class Q10977_TracesOfBattle extends Quest if ((qs != null) && qs.isCond(1)) { final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; - if (killCount < 1000) + if (killCount < 700) { qs.set(KILL_COUNT_VAR, killCount); playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); @@ -164,6 +173,7 @@ public class Q10977_TracesOfBattle extends Quest else { qs.setCond(2, true); + giveItems(killer, SOE_HIGH_PRIEST_OVEN); qs.unset(KILL_COUNT_VAR); } } @@ -177,7 +187,8 @@ public class Q10977_TracesOfBattle extends Quest if ((qs != null) && qs.isCond(1)) { final Set holder = new HashSet<>(); - holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_ON_THE_PLAINS_OF_GLORY.getId(), true, qs.getInt(KILL_COUNT_VAR))); + holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_ON_THE_WAR_TORN_PLAINS.getId(), true, qs.getInt(KILL_COUNT_VAR))); + holder.add(new NpcLogListHolder(NpcStringId.LEVEL_70_ACCOMPLISHED, player.getLevel() > 69 ? 1 : 0)); return holder; } return super.getNpcLogList(player); diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/no_kill.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/no_kill.html similarity index 100% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/no_kill.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/no_kill.html diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/no_lvl.html new file mode 100644 index 0000000000..f288096c23 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10298_TracesOfBattle/no_lvl.html @@ -0,0 +1,4 @@ +Captain bathis:
+I think you are not strong enough for this quest. Gain more experience and then come back.
+(This quest is available to characters of Lv. 64+.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-01.htm new file mode 100644 index 0000000000..eb4021f3b3 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-01.htm @@ -0,0 +1,5 @@ +High Priest Orven:
+That places are called special hunting zones. There are many of them and surely you will find the good one for you.
+Pressing the button on the right sidebar, you can open the list of special hunting zones.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-02.htm new file mode 100644 index 0000000000..2916b3b66c --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-02.htm @@ -0,0 +1,7 @@ +High Priest Orven:
+Transcendent powers can be obtained only in special places.
+That places are called special hunting zones.
+There are many different transcendent instance zones, so I'm sure you will find the one you like.
+If you get to the transcendent instance zone of your level, you'll see Grand Master there. Speak to Grand Master to get ability to use transcendent power.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-03.htm new file mode 100644 index 0000000000..2916b3b66c --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-03.htm @@ -0,0 +1,7 @@ +High Priest Orven:
+Transcendent powers can be obtained only in special places.
+That places are called special hunting zones.
+There are many different transcendent instance zones, so I'm sure you will find the one you like.
+If you get to the transcendent instance zone of your level, you'll see Grand Master there. Speak to Grand Master to get ability to use transcendent power.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-04.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-04.htm new file mode 100644 index 0000000000..35d95e5062 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-04.htm @@ -0,0 +1,8 @@ +High Priest Orven:
+You have to remember something very important.
+As soon as you've spoken to Grand Master, many monsters appear.
+Be ready to fight.
+Besides you have to remember that transcendent powers can be used only in transcendent instance zones. If you leave the transcendent instance zone, you lose the powers.
+Go to the transcendent instance zone of your level and fight monsters dwelling there.
+It will make you stronger.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-05.html new file mode 100644 index 0000000000..86e636ac74 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-05.html @@ -0,0 +1,4 @@ +High Priest Orven:
+Do you want to get transcendent power?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-06.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-06.html new file mode 100644 index 0000000000..1970c6b535 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857-06.html @@ -0,0 +1,3 @@ +High Priest Orven:
+You can enter a transcendent instance zone only once a day. Remember that fighting in that kind of places makes you stronger. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857.htm new file mode 100644 index 0000000000..5c28f8948c --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/30857.htm @@ -0,0 +1,4 @@ +High Priest Orven:
+There are places in our world that are hidden from prying eyes and nobody can get there just for no reason.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/Q10299_GetIncrediblePower.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/Q10299_GetIncrediblePower.java new file mode 100644 index 0000000000..b65d35b361 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/Q10299_GetIncrediblePower.java @@ -0,0 +1,176 @@ +/* + * 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.Q10299_GetIncrediblePower; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * @author quangnguyen + */ +public class Q10299_GetIncrediblePower extends Quest +{ + // NPCs + private static final int ORVEN = 30857; + // Monsters + private static final int GIANT_FUNGUS = 20555; + private static final int GIANT_MONSTER_EYE = 20556; + private static final int DIRE_WYRM = 20557; + private static final int ROTTING_TREE = 20558; + // Items + private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); + // Misc + private static final int MIN_LEVEL = 45; + private static final String KILL_COUNT_VAR = "KillCount"; + + public Q10299_GetIncrediblePower() + { + super(10299); + addStartNpc(ORVEN); + addTalkId(ORVEN); + addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE); + addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + setQuestNameNpcStringId(NpcStringId.LV_45_GET_INCREDIBLE_POWER); + } + + @Override + public boolean checkPartyMember(PlayerInstance member, Npc npc) + { + final QuestState qs = getQuestState(member, false); + return ((qs != null) && qs.isStarted()); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "30857.htm": + case "30857-01.htm": + case "30857-02.htm": + case "30857-05.html": + { + htmltext = event; + break; + } + case "30857-03.htm": + { + qs.startQuest(); + htmltext = "30857-04.htm"; + break; + } + case "reward": + { + if (qs.isCond(2)) + { + addExpAndSp(player, 20000000, 540000); + giveItems(player, SAYHA_GUST); + htmltext = "30857-06.html"; + qs.exitQuest(false, true); + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + if (qs.isCreated()) + { + htmltext = "30857.htm"; + } + else if (qs.isStarted()) + { + if (qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 100) + { + htmltext = "no_enough.html"; + } + else + { + htmltext = "30857-01.htm"; + } + } + else if (qs.isCond(2)) + { + htmltext = "30857-05.html"; + } + } + else if (qs.isCompleted()) + { + htmltext = getAlreadyCompletedMsg(player); + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 100) + { + qs.set(KILL_COUNT_VAR, killCount); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(killer); + } + else + { + qs.setCond(2, true); + qs.unset(KILL_COUNT_VAR); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_A_TRANSCENDENT_INSTANCE_ZONE.getId(), true, qs.getInt(KILL_COUNT_VAR))); + return holder; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_enough.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_enough.html new file mode 100644 index 0000000000..baf1a22019 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_enough.html @@ -0,0 +1,4 @@ +High Priest Orven:
+Go to the transcendent instance zone of your level and fight monsters dwelling there.
+It will make you stronger.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_lvl.html new file mode 100644 index 0000000000..dc96f94b3b --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10299_GetIncrediblePower/no_lvl.html @@ -0,0 +1,4 @@ +High Priest Orven:
+I think you are not strong enough for this quest. Gain more experience and then come back.
+(This quest is available to characters of Lv. 45+.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-01.htm new file mode 100644 index 0000000000..c390bc478e --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-01.htm @@ -0,0 +1,6 @@ +Queen Andra:
+Have you finished your training?
+I hope Sylph will go out into the world more often.
+Sayha has been very generous with his grace, but we need to learn to stand our ground ourselves.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-02.htm new file mode 100644 index 0000000000..144722066b --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-02.htm @@ -0,0 +1,6 @@ +Queen Andra:
+That is true. Sayha has been protecting us ever since we hid ourselves from the inhabitants of this world.
+However, he didn't want this settlement to be our prison. That's why he secretly speard his power all over the continent in case we ever wish to return.
+Now, it's our time to decide what to do next. You have a lot to learn before you are ready to leave this settlement.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-03.htm new file mode 100644 index 0000000000..e07c5f1ecf --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-03.htm @@ -0,0 +1,5 @@ +Queen Andra:
+You can't just get up and leave this settlement.
+The world outside is cruel and I can't have my subject dying for no reason.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-04.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-04.htm new file mode 100644 index 0000000000..98c9749383 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34209-04.htm @@ -0,0 +1,7 @@ +Queen Andra:
+First of all, you need to learn how to fight, otherwise you won't make it out there. This world is full of danger.
+And you can't fight it if you don't know how to attack.
+Randomly swinging your arms won't get you far, however. For a successful attack there needs to be a target. That's why I asked Master Kerkir to set up a few Training Dummies.
+I'll send you to the training ground. Once there, attack a Training Dummy to destroy it. Talk to Master Kerkir once you're finished. He'll tell you what to do next.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-01.html new file mode 100644 index 0000000000..fceb726af8 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-01.html @@ -0,0 +1,5 @@ +Master Kerkir:
+It looks like you know how to attack enemies now.
+Did you know that you can enhanced your attacks with Soulshots? The little items house a lot of energy that fills your weapon and increases the physical damage it does. Always have some Soulshots with you.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-02.html new file mode 100644 index 0000000000..5c5f61d794 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-02.html @@ -0,0 +1,6 @@ +Master Kerkir:
+First, you will need the Soulshots themselves. I'll give you a couple. Once you equip a weapon Soulshots are equipped automatically.
+There also exist Spiritshots, by the way. They make your magic more powerful.
+Attacks enhanced with Soulshots deal way more damage, you'll notice it immediately.
+Okay then. Equip Soulshots and attack the Training Dummies again. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-03.html new file mode 100644 index 0000000000..ccdba6dbe3 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-03.html @@ -0,0 +1,5 @@ +Master Kerkir:
+Well, I think you're figured out the correct way to attack.
+So, what do you say? Easy, isn't it?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-04.html new file mode 100644 index 0000000000..04da3f0eb1 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-04.html @@ -0,0 +1,6 @@ +Master Kerkir:
+See, pretty easy.
+Before we continue with your training I'll give you a buff. It'll enhance your abilities and make you slightly stronger.
+I also have Soulshots, in case you run out. If you need som in the future, Game Assistant can exchange a Soulshot Ticket for Soulshots and Spiritshots.
+One more thing! You can't use firearms, unless you have an Elemental Orb in your inventory. Keep that in mind.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-05.html new file mode 100644 index 0000000000..04da3f0eb1 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/34210-05.html @@ -0,0 +1,6 @@ +Master Kerkir:
+See, pretty easy.
+Before we continue with your training I'll give you a buff. It'll enhance your abilities and make you slightly stronger.
+I also have Soulshots, in case you run out. If you need som in the future, Game Assistant can exchange a Soulshot Ticket for Soulshots and Spiritshots.
+One more thing! You can't use firearms, unless you have an Elemental Orb in your inventory. Keep that in mind.
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/Q10954_SayhaChildren.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/Q10954_SayhaChildren.java new file mode 100644 index 0000000000..53a622ee53 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/Q10954_SayhaChildren.java @@ -0,0 +1,246 @@ +/* + * 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.Q10954_SayhaChildren; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.Race; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.network.NpcStringId; + +/** + * @author quangnguyen + */ +public class Q10954_SayhaChildren extends Quest +{ + // NPCs + private static final int ANDRA = 34209; + private static final int KERKIN = 34210; + // Monsters + private static final int TRAINING_DUMMY = 22324; + // Items + private static final ItemHolder SOULSHOT_REWARD_1 = new ItemHolder(91927, 200); + private static final ItemHolder SOULSHOT_REWARD_2 = new ItemHolder(91927, 400); + private static final ItemHolder SOE_REWARD = new ItemHolder(10650, 5); + private static final ItemHolder WW_POTION_REWARD = new ItemHolder(49036, 5); + private static final ItemHolder HP_POTION_REWARD = new ItemHolder(91912, 50); + // Misc + private static final int MIN_LEVEL = 1; + private static final int MAX_LEVEL = 2; + private static final String KILL_COUNT_VAR = "KillCount"; + + public Q10954_SayhaChildren() + { + super(10954); + addStartNpc(ANDRA); + addTalkId(ANDRA, KERKIN); + addKillId(TRAINING_DUMMY); + addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondRace(Race.SYLPH, "no_race.html"); + setQuestNameNpcStringId(NpcStringId.LV_1_2_SAYHA_S_CHILDREN); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "TELEPORT_TO_HUNTING_GROUND": + { + player.teleToLocation(103133, 56163, -4048); + break; + } + case "34209-02.htm": + case "34209-03.htm": + { + htmltext = event; + break; + } + case "34209-04.htm": + { + qs.startQuest(); + htmltext = event; + break; + } + case "34210-05.html": + { + if (qs.isCond(4)) + { + giveItems(player, SOE_REWARD); + giveItems(player, WW_POTION_REWARD); + giveItems(player, HP_POTION_REWARD); + giveItems(player, SOULSHOT_REWARD_2); + addExpAndSp(player, 224, 4); + giveStoryBuffReward(npc, player); + + qs.exitQuest(false, true); + htmltext = event; + } + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + // Sylphs. + if (player.getRace() != Race.SYLPH) + { + htmltext = "no_race.html"; + } + + if (qs.isCreated()) + { + htmltext = "34209-01.htm"; + } + else if (qs.isStarted()) + { + switch (npc.getId()) + { + case ANDRA: + { + if (qs.isCond(1)) + { + htmltext = "34209-01.htm"; + } + break; + } + case KERKIN: + { + switch (qs.getCond()) + { + case 1: + { + final int killCount = qs.getInt(KILL_COUNT_VAR); + if (killCount < 1) + { + htmltext = "no_dummy-01.html"; + } + break; + } + case 2: + { + qs.setCond(3); + giveItems(player, SOULSHOT_REWARD_1); + htmltext = "34210-02.html"; + break; + } + case 3: + { + final int killCount = qs.getInt(KILL_COUNT_VAR); + if (killCount < 1) + { + htmltext = "no_dummy-02.html"; + } + break; + } + case 4: + { + htmltext = "34210-03.html"; + break; + } + } + break; + } + } + } + else if (qs.isCompleted()) + { + htmltext = getAlreadyCompletedMsg(player); + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 1) + { + qs.set(KILL_COUNT_VAR, killCount); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(killer); + + } + else + { + qs.setCond(2, true); + qs.unset(KILL_COUNT_VAR); + } + } + else if ((qs != null) && qs.isCond(3)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 1) + { + qs.set(KILL_COUNT_VAR, killCount); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(killer); + + } + else + { + qs.setCond(4, true); + qs.unset(KILL_COUNT_VAR); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(NpcStringId.ATTACK_THE_TRAINING_DUMMY.getId(), true, qs.getInt(KILL_COUNT_VAR))); + return holder; + } + + if ((qs != null) && qs.isCond(3)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(NpcStringId.ATTACK_THE_TRAINING_DUMMY.getId(), true, qs.getInt(KILL_COUNT_VAR))); + return holder; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-01.html new file mode 100644 index 0000000000..9f03f07337 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-01.html @@ -0,0 +1,5 @@ +Master Kerkir:
+I think you are ready to train.
+First, destroy the Training Dummies.
+I'll tell you what to do next once you're done. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-02.html new file mode 100644 index 0000000000..9c6885f3ac --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_dummy-02.html @@ -0,0 +1,4 @@ +Master Kerkir:
+Did you see how effective Soulshots are?
+Attack the Training Dummies again. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_lvl.html similarity index 57% rename from L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/no_lvl.html rename to L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_lvl.html index c7e238ceb8..2f356f7cb3 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10976_MemoryOfTheGloriousPast/no_lvl.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_lvl.html @@ -1,3 +1,3 @@ -Captain bathis:
-You do not meet the requirements of the quest (Quest is only available to 45+ levels). +Master Kerkir:
+You do not meet the requirements of the quest (Quest is only available to 1-2 levels). \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_race.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_race.html new file mode 100644 index 0000000000..5d37ea050d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10954_SayhaChildren/no_race.html @@ -0,0 +1,3 @@ +Master Kerkir:
+This quest is for Sylph races only. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-00.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-00.html new file mode 100644 index 0000000000..c090b1b1ae --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-00.html @@ -0,0 +1,5 @@ +Master Kerkir:
+You had no problems with those Training Dummies, right? Well, that's not suprising, they can't hit back.
+Monsters won't be that considerate, you know?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-01.html new file mode 100644 index 0000000000..368fb60c2d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-01.html @@ -0,0 +1,5 @@ +Master Kerkir:
+You're a quick learner!
+I think it's time you faced something a bit livelier that the Training Dummies. This next battle will be a much more serious affair.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-02.html new file mode 100644 index 0000000000..c24a44ac9d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-02.html @@ -0,0 +1,5 @@ +Master Kerkir:
+It might be. There are a lot of monster prowling outside this settlement that would charge a defenseless traveller in an instant. Especially if you hit a monster once and then just stand there while it rips you open.
+Well, there is this thing called auto-hunting that makes fighting monsters a lot easier.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-03.html new file mode 100644 index 0000000000..8cf30546da --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-03.html @@ -0,0 +1,6 @@ +Master Kerkir:
+If the auto-hunting mode is on, you'll run to the nearest target, fight it till it's dead and then charge to the next one.
+It makes training quicker and easier.
+Well thne, I'll send you to the Quiet Plain. Kill 20 Diffloes, Apises & Echinus there. + + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-04.html new file mode 100644 index 0000000000..dbb544559d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-04.html @@ -0,0 +1,4 @@ +Master Kerkir:
+Have you killed 20 Diffloes, Apises and Echinus?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-05.html new file mode 100644 index 0000000000..f1d7a93157 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/34210-05.html @@ -0,0 +1,3 @@ +Master Kerkir:
+You're very quick learner, so it probably won't take you long to master everything I can teach. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/Q10955_NewLifeLessons.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/Q10955_NewLifeLessons.java new file mode 100644 index 0000000000..a19601fe1c --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/Q10955_NewLifeLessons.java @@ -0,0 +1,205 @@ +/* + * 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.Q10955_NewLifeLessons; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.Race; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; + +/** + * @author quangnguyen + */ +public class Q10955_NewLifeLessons extends Quest +{ + // NPCs + private static final int KERKIN = 34210; + // Monsters + private static final int DIFFLOE = 22325; + private static final int APIS = 22326; + private static final int ECHINU = 22327; + // Items + private static final ItemHolder SOE_KERKIR = new ItemHolder(95586, 1); + private static final ItemHolder SOE_NOVICE = new ItemHolder(10650, 10); + private static final ItemHolder RING_NOVICE = new ItemHolder(49041, 2); + private static final ItemHolder EARRING_NOVICE = new ItemHolder(49040, 2); + private static final ItemHolder NECKLACE_NOVICE = new ItemHolder(49039, 1); + // Location + private static final Location QUIET_PLAIN = new Location(106025, 53773, -4576); + // Misc + private static final int MIN_LEVEL = 2; + private static final int MAX_LEVEL = 15; + private static final String KILL_COUNT_VAR = "KillCount"; + + public Q10955_NewLifeLessons() + { + super(10955); + addStartNpc(KERKIN); + addTalkId(KERKIN); + addKillId(DIFFLOE, APIS, ECHINU); + addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondRace(Race.SYLPH, "no_race.html"); + setQuestNameNpcStringId(NpcStringId.LV_2_15_NEW_LIFE_S_LESSONS); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34210-00.html": + case "34210-01.html": + case "34210-02.html": + { + htmltext = event; + break; + } + case "34210-03.html": + { + qs.startQuest(); + htmltext = event; + break; + } + case "teleport": + { + if (qs.isCond(1)) + { + player.teleToLocation(QUIET_PLAIN); + } + break; + } + case "34210-05.html": + { + if (qs.isCond(2)) + { + giveItems(player, SOE_NOVICE); + giveItems(player, RING_NOVICE); + giveItems(player, EARRING_NOVICE); + giveItems(player, NECKLACE_NOVICE); + addExpAndSp(player, 260000, 6000); + qs.exitQuest(false, true); + } + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + // Sylphs. + if (player.getRace() != Race.SYLPH) + { + htmltext = "no_race.html"; + } + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34210-01.html"; + } + case State.STARTED: + { + if (npc.getId() == KERKIN) + { + if (qs.isCond(1)) + { + htmltext = "34210-01.html"; + } + else if (qs.isCond(2)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR); + if (killCount < 20) + { + htmltext = "34210-03.html"; + } + htmltext = "34210-04.html"; + } + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 20) + { + qs.set(KILL_COUNT_VAR, killCount); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(killer); + } + else + { + qs.setCond(2, true); + qs.unset(KILL_COUNT_VAR); + giveItems(killer, SOE_KERKIR); + showOnScreenMsg(killer, NpcStringId.THE_TRAINING_IN_OVER_NUSE_A_SCROLL_OF_ESCAPE_IN_YOUR_INVENTORY_TO_GO_BACK_TO_MASTER_KERKIR, ExShowScreenMessage.TOP_CENTER, 10000); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_QUIET_PLAIN.getId(), true, qs.getInt(KILL_COUNT_VAR))); + return holder; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_lvl.html new file mode 100644 index 0000000000..9d056bb811 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_lvl.html @@ -0,0 +1,3 @@ +Master Kerkir:
+(Available to characters of Lv. 2 and higher.) + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_race.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_race.html new file mode 100644 index 0000000000..5d37ea050d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10955_NewLifeLessons/no_race.html @@ -0,0 +1,3 @@ +Master Kerkir:
+This quest is for Sylph races only. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-01.html new file mode 100644 index 0000000000..c73a0a0326 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-01.html @@ -0,0 +1,5 @@ +Master Kerkir:
+You're very quick learner, so it probably won't take you long to master everything I can teach.
+What I'm about to tell you will really help you in the future, so listen closely.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-02.html new file mode 100644 index 0000000000..0804044a76 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-02.html @@ -0,0 +1,6 @@ +Master Kerkir:
+You know now how to use basic attacks.
+Your movements are quick and precise, yet effortless. I am a good teacher, I guess.
+Now, however, I want to talk about something else. I'll tell you how Sylphs are different from other races of Aden.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-03.html new file mode 100644 index 0000000000..e07e9cdf11 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-03.html @@ -0,0 +1,5 @@ +Master Kerkir:
+We have spent a long time isolated from the outside world and as a result we have grown quite different from its inhabitants. That's why, for example, we have a strong bond with elemental spirits.
+We have also created firearms that had not been know in this world yet. And we use the power of the wind to float above ground when we fight.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-04.html new file mode 100644 index 0000000000..cc29ecd8c1 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34210-04.html @@ -0,0 +1,7 @@ +Master Kerkir:
+I think it's time you learned the special abilities of our knid and mastered the combat art of the Sylphs.
+Your task is to go to the Whispering Woods and to kill 30 Volatu, Photoroni and Alesis there.
+I have nothing else to teach you. Once you're finished with the task, talk to Grocer Evia
+Evia is not a simple merchant, though. She used to be a great warrior and earned the respect of our queen. That's why Evia was given a very important mission. She provides supplies for everyone in this settlement. I'm sure she'll be happy to teach you a few tricks.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-01.html new file mode 100644 index 0000000000..07f15ce2a2 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-01.html @@ -0,0 +1,7 @@ +Grocer Avia:
+Oh! We finally meet!
+I've heard that Kerkir has been training a very talented Sylph Gunner.
+You'll probably go out into the world soon... I envy you a little, if I'm honest.
+I think I'm supposed to tell you about skills. Are you ready to learn?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-02.html new file mode 100644 index 0000000000..d0a5fb6878 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-02.html @@ -0,0 +1,7 @@ +Grocer Avia:
+Oh! We finally meet!
+I've heard that Kerkir has been training a very talented Sylph Gunner.
+You'll probably go out into the world soon... I envy you a little, if I'm honest.
+I think I'm supposed to tell you about skills. Are you ready to learn?
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-03.html new file mode 100644 index 0000000000..52cf2680bd --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/34211-03.html @@ -0,0 +1,6 @@ +Grocer Avia:
+Bathis regards Sylphs as not very strong, but he is a nice fellow. Let's show him that we are not weak!
+First press Tab or Alt + K to open your Inventory. Equip the weapons and armor you need if you haven't done it yet.
+You can open the Skill List by pressing ALT + K. If you have changed your class to become a Sharpshooter, you will see there new skills that can be learn. To learn skills you need to spend SP, and sometimes you will need special items.
+Master Kerkir should have told you about Automatic Hunting. Do you want to know more about it?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/Q10956_WeSylphs.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/Q10956_WeSylphs.java new file mode 100644 index 0000000000..706d5696a6 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/Q10956_WeSylphs.java @@ -0,0 +1,214 @@ +/* + * 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.Q10956_WeSylphs; + +import java.util.HashSet; +import java.util.Set; + +import org.l2jmobius.gameserver.data.xml.CategoryData; +import org.l2jmobius.gameserver.enums.CategoryType; +import org.l2jmobius.gameserver.enums.QuestSound; +import org.l2jmobius.gameserver.enums.Race; +import org.l2jmobius.gameserver.model.Location; +import org.l2jmobius.gameserver.model.actor.Npc; +import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; +import org.l2jmobius.gameserver.model.holders.ItemHolder; +import org.l2jmobius.gameserver.model.holders.NpcLogListHolder; +import org.l2jmobius.gameserver.model.quest.Quest; +import org.l2jmobius.gameserver.model.quest.QuestState; +import org.l2jmobius.gameserver.model.quest.State; +import org.l2jmobius.gameserver.network.NpcStringId; +import org.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage; +import org.l2jmobius.gameserver.network.serverpackets.classchange.ExClassChangeSetAlarm; + +/** + * @author quangnguyen + */ +public class Q10956_WeSylphs extends Quest +{ + // NPCs + private static final int KERKIN = 34210; + private static final int EVIA = 34211; + // Monsters + private static final int VOLATU = 22328; + private static final int PHOTORONI = 22329; + private static final int ALES = 22330; + // Items + private static final ItemHolder SOE_EVIA = new ItemHolder(95587, 1); + private static final ItemHolder SOE_NOVICE = new ItemHolder(10650, 20); + private static final ItemHolder SPIRIT_ORE = new ItemHolder(3031, 50); + private static final ItemHolder XP_GROWTH_SCROLL = new ItemHolder(49674, 1); + private static final ItemHolder HP_POTION_REWARD = new ItemHolder(91912, 50); + private static final ItemHolder SOE_TO_CAPTAIN_BATHIS = new ItemHolder(91651, 1); + // Location + private static final Location WHISPERING_WOODS = new Location(117678, 55348, -4560); + // Misc + private static final int MIN_LEVEL = 15; + private static final int MAX_LEVEL = 20; + private static final String KILL_COUNT_VAR = "KillCount"; + + public Q10956_WeSylphs() + { + super(10956); + addStartNpc(KERKIN); + addTalkId(KERKIN, EVIA); + addKillId(VOLATU, PHOTORONI, ALES); + addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondMaxLevel(MAX_LEVEL, "no_lvl.html"); + addCondRace(Race.SYLPH, "no_race.html"); + setQuestNameNpcStringId(NpcStringId.LV_15_20_WE_SYLPHS); + } + + @Override + public String onAdvEvent(String event, Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if (qs == null) + { + return null; + } + + String htmltext = null; + switch (event) + { + case "34210-01.html": + case "34210-02.html": + case "34210-04.html": + case "34211-03.html": + { + htmltext = event; + break; + } + case "34210-03.html": + { + qs.startQuest(); + htmltext = event; + break; + } + case "teleport": + { + if (qs.isCond(1)) + { + player.teleToLocation(WHISPERING_WOODS); + } + break; + } + case "34211-02.html": + { + if (qs.isCond(2)) + { + giveItems(player, SPIRIT_ORE); + giveItems(player, SOE_NOVICE); + giveItems(player, XP_GROWTH_SCROLL); + giveItems(player, HP_POTION_REWARD); + giveItems(player, SOE_TO_CAPTAIN_BATHIS); + addExpAndSp(player, 600000, 13500); + if (CategoryData.getInstance().isInCategory(CategoryType.FIRST_CLASS_GROUP, player.getClassId().getId())) + { + showOnScreenMsg(player, NpcStringId.YOU_VE_FINISHED_THE_TUTORIAL_NTAKE_YOUR_FIRST_CLASS_TRANSFER_AND_COMPLETE_YOUR_TRAINING_WITH_MATHORN_TO_BECOME_STRONGER, ExShowScreenMessage.TOP_CENTER, 10000); + player.sendPacket(ExClassChangeSetAlarm.STATIC_PACKET); + } + qs.exitQuest(false, true); + } + htmltext = event; + break; + } + } + return htmltext; + } + + @Override + public String onTalk(Npc npc, PlayerInstance player) + { + final QuestState qs = getQuestState(player, true); + String htmltext = getNoQuestMsg(player); + + // Sylphs. + if (player.getRace() != Race.SYLPH) + { + htmltext = "no_race.html"; + } + + switch (qs.getState()) + { + case State.CREATED: + { + htmltext = "34210-01.html"; + } + case State.STARTED: + { + if (qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR); + if (killCount < 30) + { + htmltext = "34210-04.html"; + } + htmltext = "34210-01.html"; + } + else if (qs.isCond(2)) + { + htmltext = "34211-01.html"; + } + break; + } + case State.COMPLETED: + { + htmltext = getAlreadyCompletedMsg(player); + break; + } + } + return htmltext; + } + + @Override + public String onKill(Npc npc, PlayerInstance killer, boolean isSummon) + { + final QuestState qs = getQuestState(killer, false); + if ((qs != null) && qs.isCond(1)) + { + final int killCount = qs.getInt(KILL_COUNT_VAR) + 1; + if (killCount < 30) + { + qs.set(KILL_COUNT_VAR, killCount); + playSound(killer, QuestSound.ITEMSOUND_QUEST_ITEMGET); + sendNpcLogList(killer); + } + else + { + qs.setCond(2, true); + qs.unset(KILL_COUNT_VAR); + giveItems(killer, SOE_EVIA); + showOnScreenMsg(killer, NpcStringId.THE_TRAINING_IN_OVER_NUSE_A_SCROLL_OF_ESCAPE_IN_YOUR_INVENTORY_TO_GO_BACK_TO_GROCER_EVIA, ExShowScreenMessage.TOP_CENTER, 10000); + } + } + return super.onKill(npc, killer, isSummon); + } + + @Override + public Set getNpcLogList(PlayerInstance player) + { + final QuestState qs = getQuestState(player, false); + if ((qs != null) && qs.isCond(1)) + { + final Set holder = new HashSet<>(); + holder.add(new NpcLogListHolder(NpcStringId.KILL_MONSTERS_IN_THE_WHISPERING_WOODS.getId(), true, qs.getInt(KILL_COUNT_VAR))); + return holder; + } + return super.getNpcLogList(player); + } +} diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_lvl.html new file mode 100644 index 0000000000..e43b56ac26 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_lvl.html @@ -0,0 +1,4 @@ +Master Kerkir:
+You have to learn many thing yet, and it's not easy. You have to spend time to get knowledge.
+(Available to characters of Lv. 15 and higher.)
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_race.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_race.html new file mode 100644 index 0000000000..5d37ea050d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10956_WeSylphs/no_race.html @@ -0,0 +1,3 @@ +Master Kerkir:
+This quest is for Sylph races only. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/no_lvl.html deleted file mode 100644 index 44854a9ca2..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10964_SecretGarden/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -Captain Bathis:
-You do not meet the requirements of the quest (Quest is only available to 30-34 levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-05.html deleted file mode 100644 index 95287b83df..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/30120-05.html +++ /dev/null @@ -1,6 +0,0 @@ -High Priest Maximillian:
-Thank you! That's one load off my mind. May the blessing of Einhasad be with you.
-I've prepared a special item for you that's called Lantern. Lanterns can be different colours, but I givetravelers only Blue Lanterns. Try to use it. Using this Lantern you can charge the Magic Lamp bar. That will make you stronger.
-By the way, Sayha's Grace disappears over time. It's very hard to get XP and adena without Sayha's Grace. so make sure you always have it.
-If you use a Blue Lantern that I'm going to give you, and reach Lv. 40, you will get Sayha's Blessing as a reward for completing the quest. It will help you restore Sayha's Grace. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/no_lvl.html deleted file mode 100644 index 8a713ceab1..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10965_DeathMysteries/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -High Priest Raymond:
-You do not meet the requirements of the quest (Quest is only available to 37-40 levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256-01.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256-01.html deleted file mode 100644 index 14b89e2f1f..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256-01.html +++ /dev/null @@ -1,5 +0,0 @@ -Gatekeeper Bella:
-Well... I recommend the Ruins of Agony.
-It is an old ruin with few visitors.
-You can go there via Teleport, which you have just learned. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256.html deleted file mode 100644 index c6784e5b24..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30256.html +++ /dev/null @@ -1,5 +0,0 @@ -Gatekeeper Bella:
-You are a novice adventurer. Are you going on an adventure?
-If so, you did better first learn how to get to the places that match you level.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-01.htm deleted file mode 100644 index e25abc9098..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-Dont be so impatient. Follow my guidance and you will make a name for youself as a skilled adventurer in no time.
-First, let me tell you a couple of things that are of the highest importance no matter what you do in future. They are about auto-hunting, which will come in handy if you learn about them before you starting fighting in earnest.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-02.htm deleted file mode 100644 index 2e7232c5dd..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-If you are studied them well lets get started
-But before that, its crucial for adventurers to know how to find places to explore that are suitable for their skill level. Do you know how? - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-03.htm deleted file mode 100644 index 10faf14534..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-03.htm +++ /dev/null @@ -1,4 +0,0 @@ -Captain Bathis:
-In that case, I will introduce you to someone more suitable.
-Go down the hill and you will see Gatekeeper Bella. Talk to Bella and she will tel youu how you can find places to explore that match your skill level and how you can get those places. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-04.html deleted file mode 100644 index 98c29eb1e3..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-04.html +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-Did you defeat the monsters?
-Hmm, you look a bit stronger too. - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-05.html deleted file mode 100644 index cb49bbb8f4..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-05.html +++ /dev/null @@ -1,7 +0,0 @@ -Captain Bathis:
-You deserve a small gift for everything you've done. It'll help you become stronger. By the way, if you have an XP Scroll in your inventory you shouldn't hesitate to use it.
-And if you have a Weapon of Aden use the Scroll: Enchant Weapon of Aden to make it better.
-There's one more thing I'd like to give yyou. Here, take it. It's a special bracelet. The path you're on is a dangerous one and items like this can save your life.
-If you want I can tell you more about bracelets. Are you interested?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-06.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-06.html deleted file mode 100644 index 156c5d6c60..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-06.html +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-Talismans are very useful items.
-If you want I can tell you how to make your talisman more powerful. Are you interested?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-07.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-07.htm deleted file mode 100644 index e6bb3b9989..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-07.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-To make a talisman more effective you have to enchant it using a special scroll.
-I have a Talisman of Aden and Scroll: Enchant Talisman of Aden for you.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-08.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-08.htm deleted file mode 100644 index 93ed817a94..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332-08.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-Dont be so impatient. Follow my guidance and you will make a name for youself as a skilled adventurer in no time.
-First, let me tell you a couple of things that are of the highest importance no matter what you do in future. They are about auto-hunting, which will come in handy if you learn about them before you starting fighting in earnest.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332.htm deleted file mode 100644 index e4e903876a..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/30332.htm +++ /dev/null @@ -1,7 +0,0 @@ -Captain Bathis:
-Turning a greenhorn adventurer into a half-decent one has always been an important task.
-That is right, adventurers like you who havent completed a class transfer yes. If you are skilled enough to transfer class, then there is no reason to delay it.
-I would not force you if you are adamant about not transferring your class, but getting it done will be much more beneficial to you. And its not particularly complex either, just look for the Transfer Class button and press it, and thats it.
-Alright, enought about the class transfer here. Why dont you get serious and start prepairing to make a name for youself as an adventurer?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-00.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-00.htm deleted file mode 100644 index 56649df632..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-00.htm +++ /dev/null @@ -1,6 +0,0 @@ -Quartermaster Mathorn:
-Gludio Captain Bathis is looking for promising adventurers. As far as I know, he is tasked with teaching them and molding them into worthy warriors.
-The area around the city is perfect for training, so I think you should go there.
-Also, don't go to the city immediately, first show off your Death Knight skills and gain a reputation.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-01.htm deleted file mode 100644 index 14118868c0..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-01.htm +++ /dev/null @@ -1,8 +0,0 @@ -Quartermaster Mathorn:
-Before you only showed as much Death Knight power as was necessary for the training. Now it's time to show that we're not rookies here.
-First press Tab or Alt + V to open your Inventory. Equip the weapons and armor you need if you haven't done it already.
-You can open the Skill List by pressing Alt + K. If you changed class, you will see new skills that you can learn here as well. To learn skills you need to spend a specific amount of SP. Sometimes you will also need Spellbooks and Amulets.
-I would also suggest you get the hang of Automatic Hunting. If you know what it is and how it works, however, you can skip this part.
- - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-02.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-02.html deleted file mode 100644 index 5a60b57feb..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-02.html +++ /dev/null @@ -1,9 +0,0 @@ -Quartermaster Mathorn:
-You will train more effectively if you know about Automatic Hunting.
-Automatic Hunting lets you automatically use potions in emergencies and useful supplies during battle and may even automate the battle itself.
-You've probably learned about it during training, but if you still have any questions you are welcome to ask them.
- - - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-03.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-03.html deleted file mode 100644 index 52efd3238f..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-03.html +++ /dev/null @@ -1,9 +0,0 @@ -Quartermaster Mathorn:
-Automatic Hunting is a function that let's you automatically pick a target and continue hunting after you've killed a monster.
-Automatic Hunting function includes such options as distance to target, loot pick-up and Manner Mode that prevents the character from attacking targets that other heroes are already fighting with.
-During Automatic Hunting the character uses their basic Attack. If you press Alt + K, however, then drag any non-buffing skill marked with two green arrows in a circle from the Skill window to the Shortcut and click it with the right mouse button, the character will attack using the assigned skill.
-Same goes for buffing skills. If you put a buffing skill to the Shortcut and click with the right mouse button, then this skill will be automatically used at the right moment.
- - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-04.html deleted file mode 100644 index da094ced8c..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-04.html +++ /dev/null @@ -1,8 +0,0 @@ -Quartermaster Mathorn:
-The auto-use supplies function lets you automatically use the supplies you need while hunting.
-If there is an item with two green arrows in a circle in your inventory, that means that it can be used automatically.
-To automatically use supplies you need to drag the item to a slot, press the right mouse button and activate the auto-use function. Items with activated auto-use will be used automatically as soon as you leave the city.
- - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-05.html deleted file mode 100644 index a4dd682bb8..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-05.html +++ /dev/null @@ -1,8 +0,0 @@ -Quartermaster Mathorn:
-Automatic use of potions is slightly different from Automatic Hunting and automatic use of items.
-In the shortcut slots, next to the Soulshot there is a slot where you can put a potion for auto-use. You will see a slot that looks like a potion and a small options button. This button lets you configure automatic use.
-After configuring how much HP is needed for auto-use of potion, drag the potion on the Shortcut panel. Now the potions are going to be used automatically.
- - - - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-06.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-06.htm deleted file mode 100644 index 3b9a899a68..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-06.htm +++ /dev/null @@ -1,6 +0,0 @@ -Quartermaster Mathorn:
-Well, since you know everything, let's get down to business.
-Usually adventurers begin their journey in Gludio. There are always many travellers there.
-But aimlessly wandering the streets of Gludio won't make bring you any experience. You should find a place that suits your abilities and strength best.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-07.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-07.htm deleted file mode 100644 index 8a7dfa0f76..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/34139-07.htm +++ /dev/null @@ -1,7 +0,0 @@ -Quartermaster Mathorn:
-You want to know what's the best place to go to at you skill level is? Then go talk to the Gatekeeper.
-We have one around. She was sent here to support the Death Knights. Go talk to her then.
-You can talk to Gatekeeper Marillia at our base or go to Gludio and talk to Gatekeeper Bella.
-They will be both very happy to help you. If you want I can sent you straight to Gludio's Gatekeeper.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/no_lvl.html deleted file mode 100644 index 504b15391c..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10966_ATripBegins/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -Captain bathis:
-You do not meet the requirements of the quest (Quest is only available to 20-25 levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-01.htm deleted file mode 100644 index 8456e2de65..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-01.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-You has gotten a little better, but you are still as impatient as ever.
-Anyway, do you still remember what Gatekeeper Bella has told you about teleporting?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-02.htm deleted file mode 100644 index 316b483a0b..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-02.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-If there is something you are unsure of, you must not hesitate to ask one more time.
-You can use teleport anywhere by click the yelloew pinwheel icon, so dont forget it!
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-03.htm deleted file mode 100644 index 3bfc11d080..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-03.htm +++ /dev/null @@ -1,8 +0,0 @@ -Captain Bathis:
-The most fundamental thing is patience. -Achievements wohout effort eften tend to be frothy.
-Time never flows by meaninglessly, and your effort always pays off in the end. Taking time to work slowly, but steadily without beigns impatient is the most basic yet also the most important thing.
-In that regard, the Abandoned Camp would be a good place to train this time. You should be more than capable of dealing with the Ol Mahums in that area.
-You can teleport to Abandoned Camp. It is on the hunting ground teleport list of Gludin Village, so it should be pretty straigntforward.
-I wish you luck, than. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-04.html deleted file mode 100644 index e949232741..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-04.html +++ /dev/null @@ -1,4 +0,0 @@ -Captain Bathis:
-Did you eradicate the Ol Mahums at the Abandoned Camp?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-05.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-05.html deleted file mode 100644 index f9e7d9e920..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332-05.html +++ /dev/null @@ -1,4 +0,0 @@ -Captain Bathis:
-Well doe. I have prepared another special reward for you.
-I am about to give you a Jewel Fragment for adventurers who are still undergoing training. But whole jewels are a lot more powerful, so I recommend you keep an eye out out for them later if you are interested. - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332.htm deleted file mode 100644 index 32df6f9b4e..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/30332.htm +++ /dev/null @@ -1,5 +0,0 @@ -Captain Bathis:
-You were a greenhorn until recently, but now you could almost pass off as a seasoned veteran.
-It seems the time has come to tell you about things that you should know as an adventurer.
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/no_lvl.html deleted file mode 100644 index 289ec7e7e7..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10967_CulturedAdventurer/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -Captain Bathis:
-You do not meet the requirements of the quest (Quest is only available to 25-30 levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_enough.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_enough.html deleted file mode 100644 index 395192cb07..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_enough.html +++ /dev/null @@ -1,3 +0,0 @@ -High Priest Orven:
-You have not killed enough monsters or you have not reached level 45. Come back when you have met the requirements - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_lvl.html deleted file mode 100644 index 9d334c7ed7..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10969_SporeInfestedPlace/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -High Priest Maximillian:
-You do not meet the requirements of the quest (Quest is only available to 40+ levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-03.htm deleted file mode 100644 index c0392bce2d..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-03.htm +++ /dev/null @@ -1,5 +0,0 @@ -High Priest Orven:
-Hm...
-To get to the Cemetery use teleprot in any part of the continent.
-Go there and kill monster.
- \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-04.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-04.html deleted file mode 100644 index e28e213dff..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/30857-04.html +++ /dev/null @@ -1,4 +0,0 @@ -High Priest Orven:
-Have you completed your training?
- - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/no_lvl.html deleted file mode 100644 index e54892c729..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10970_RespectForGraves/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -High Priest Maximillian:
-You do not meet the requirements of the quest (Quest is only available to 45+ levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289-00.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289-00.htm new file mode 100644 index 0000000000..1e4462c96d --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289-00.htm @@ -0,0 +1,5 @@ +High Priest Raymond:
+To enchant agathions you need special enchanting scrolls.
+It's about you Adventurer's Agathion - Griffin too.
+ + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289.htm index 1e4462c96d..1fd311e0cd 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289.htm +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/30289.htm @@ -1,5 +1,5 @@ High Priest Raymond:
-To enchant agathions you need special enchanting scrolls.
-It's about you Adventurer's Agathion - Griffin too.
- +Enchanted Adventurer's Agathion is much stronger then the common one.
+But maybe you've already known it. Should I tell you more?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/Q10973_EnchantingAgathions.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/Q10973_EnchantingAgathions.java index 70aa6017eb..75f209c8ba 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/Q10973_EnchantingAgathions.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/Q10973_EnchantingAgathions.java @@ -24,6 +24,8 @@ import org.l2jmobius.gameserver.model.quest.QuestState; import org.l2jmobius.gameserver.network.NpcStringId; import org.l2jmobius.gameserver.network.serverpackets.ExTutorialShowId; +import quests.Q10292_SecretGarden.Q10292_SecretGarden; + /** * @author Mobius, quangnguyen */ @@ -43,6 +45,7 @@ public class Q10973_EnchantingAgathions extends Quest addStartNpc(RAYMOND); addTalkId(RAYMOND); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); + addCondCompletedQuest(Q10292_SecretGarden.class.getSimpleName(), "30289-02.html"); setQuestNameNpcStringId(NpcStringId.LV_35_ENCHANT_AGATHION); } @@ -59,7 +62,7 @@ public class Q10973_EnchantingAgathions extends Quest switch (event) { case "30289.htm": - case "30289-00.html": + case "30289-00.htm": case "30289-01.htm": { htmltext = event; @@ -88,7 +91,7 @@ public class Q10973_EnchantingAgathions extends Quest } if (foundEnchant) { - addExpAndSp(player, 100000, 0); + addExpAndSp(player, 0, 10000); qs.exitQuest(false, true); htmltext = event; break; diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_agathion.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_agathion.html new file mode 100644 index 0000000000..7de809ad82 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_agathion.html @@ -0,0 +1,3 @@ +Captain bathis:
+Speak to me when you've enchanted Adventurer's Agathion - Griffin. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_lvl.html index e37abf664a..24cf20f13a 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_lvl.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10973_EnchantingAgathions/no_lvl.html @@ -1,3 +1,4 @@ Captain bathis:
-You do not meet the requirements of the quest (Quest is only available to 35+ levels). +I'm afraid you've not enough knowledge and experience to learn about agathion enchanting.
+(The quest is for characters of Lv. 35+ who completed the quest 'Secret Garden'.)
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-08.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-08.html index ca0b8ce7ff..9883c45a2f 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-08.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-08.html @@ -1,5 +1,5 @@ High Priest Orven:
-Now you have all the things you need. But before we say goodbye each other I have to ask you one question.
-Do you remember well all I've you about hair accessories, belts and cloaks?
- +Good job! I see you've enchanted the cloak.
+Remember that you can enchant your equipment safely only to a certain value. Got it?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-09.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-09.html index db150e82ef..ec25d74db7 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-09.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-09.html @@ -1,6 +1,5 @@ High Priest Orven:
-Good. I'm glad that I could help you at early stages. Of course, that's the will of Einhasad and our lord, but I'm happy too.
-There's one more item that the king of Aden has ordered to give young adventurers. A pendant.
-As you can guess, pendants also can be enchanted.
-And one more thing that you should know. A new special shop has opened in the continent lately. You can buy there amazing items using L-Coins. I hope it's useful information. +Now you have all the things you need. But before we say goodbye each other I have to ask you one question.
+Do you remember well all I've you about hair accessories, belts and cloaks?
+ \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-10.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-10.html new file mode 100644 index 0000000000..db150e82ef --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/30857-10.html @@ -0,0 +1,6 @@ +High Priest Orven:
+Good. I'm glad that I could help you at early stages. Of course, that's the will of Einhasad and our lord, but I'm happy too.
+There's one more item that the king of Aden has ordered to give young adventurers. A pendant.
+As you can guess, pendants also can be enchanted.
+And one more thing that you should know. A new special shop has opened in the continent lately. You can buy there amazing items using L-Coins. I hope it's useful information. + \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java index 07817abcb6..252a1cfda8 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/Q10974_NewStylishEquipment.java @@ -42,7 +42,8 @@ public class Q10974_NewStylishEquipment extends Quest private static final ItemHolder ENCHANT_SCROLL_ADVENTURER_CLOAK = new ItemHolder(93045, 1); // Reward - private static final ItemHolder FIRE_DRAGON_PENDANT = new ItemHolder(49467, 1); + private static final ItemHolder ADVENTURER_PENDANT = new ItemHolder(95690, 1); + private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 2); // Misc private static final int MIN_LEVEL = 40; @@ -70,6 +71,7 @@ public class Q10974_NewStylishEquipment extends Quest case "30857-00.htm": case "30857-01.htm": case "30857-02.htm": + case "30857-09.html": { htmltext = event; break; @@ -167,12 +169,14 @@ public class Q10974_NewStylishEquipment extends Quest break; } } - case "30857-09.html": + case "reward": { if (qs.isCond(4)) { - giveItems(player, FIRE_DRAGON_PENDANT); + giveItems(player, ADVENTURER_PENDANT); + giveItems(player, SAYHA_GUST); qs.exitQuest(false, true); + htmltext = "30857-10.html"; } break; } diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_belt.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_belt.html index e2a9d8b8f5..c57a5ad721 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_belt.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_belt.html @@ -1,3 +1,5 @@ High Priest Orven:
-Have you been enchant Adventurer's Belt? Come back after you have enchant them. +I see that you still heaven't enchanted Adventurer's Belt.
+You need Scroll: Enchant Adventurer's Belt for that. +Use it.
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_cloak.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_cloak.html index 18a9ad50b6..16e3fbd50f 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_cloak.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_cloak.html @@ -1,3 +1,4 @@ High Priest Orven:
-Have you been enchant Adventurer's Cloak? Come back after you have enchant them. +I see that you still heaven't enchanted Adventurer's Cloak.
+You need Scroll: Enchant Cloak for it.
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_lvl.html index 9d334c7ed7..ea751d5bc3 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_lvl.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_lvl.html @@ -1,3 +1,4 @@ -High Priest Maximillian:
-You do not meet the requirements of the quest (Quest is only available to 40+ levels). +High Priest Orven:
+Why have you come to such a dangerous place? You have nothing to do here, leave.
+(Available to characters of Lv. 40+.)
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_sheep_hat.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_sheep_hat.html index cb24cd92d3..fbf139216e 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_sheep_hat.html +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10974_NewStylishEquipment/no_sheep_hat.html @@ -1,3 +1,4 @@ High Priest Orven:
-Have you been enchant Adventurer's Sheep Hat? Come back after you have enchant them. +I see that you still heaven't enchanted Adventurer's Sheep Hat.
+Use Adventurer's Scroll: Enchant Hair Accessory.
\ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/no_lvl.html b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/no_lvl.html deleted file mode 100644 index c7e238ceb8..0000000000 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10977_TracesOfBattle/no_lvl.html +++ /dev/null @@ -1,3 +0,0 @@ -Captain bathis:
-You do not meet the requirements of the quest (Quest is only available to 45+ levels). - \ No newline at end of file diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/QuestMasterHandler.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/QuestMasterHandler.java index 4e5332c29a..c5ffc34546 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/QuestMasterHandler.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/QuestMasterHandler.java @@ -23,26 +23,30 @@ import quests.Q00127_FishingSpecialistsRequest.Q00127_FishingSpecialistsRequest; import quests.Q00255_Tutorial.Q00255_Tutorial; import quests.Q00502_BrothersBoundInChains.Q00502_BrothersBoundInChains; import quests.Q00662_AGameOfCards.Q00662_AGameOfCards; +import quests.Q10290_ATripBegins.Q10290_ATripBegins; +import quests.Q10291_MoreExperience.Q10291_MoreExperience; +import quests.Q10292_SecretGarden.Q10292_SecretGarden; +import quests.Q10293_DeathMysteries.Q10293_DeathMysteries; +import quests.Q10294_SporeInfestedPlace.Q10294_SporeInfestedPlace; +import quests.Q10295_RespectforGraves.Q10295_RespectforGraves; +import quests.Q10296_LetsPayRespectsToOurFallenBrethren.Q10296_LetsPayRespectsToOurFallenBrethren; +import quests.Q10297_MemoryOfTheGloriousPast.Q10297_MemoryOfTheGloriousPast; +import quests.Q10298_TracesOfBattle.Q10298_TracesOfBattle; +import quests.Q10299_GetIncrediblePower.Q10299_GetIncrediblePower; import quests.Q10673_SagaOfLegend.Q10673_SagaOfLegend; +import quests.Q10954_SayhaChildren.Q10954_SayhaChildren; +import quests.Q10955_NewLifeLessons.Q10955_NewLifeLessons; +import quests.Q10956_WeSylphs.Q10956_WeSylphs; import quests.Q10957_TheLifeOfADeathKnight.Q10957_TheLifeOfADeathKnight; import quests.Q10958_ExploringNewOpportunities.Q10958_ExploringNewOpportunities; import quests.Q10959_ChallengingYourDestiny.Q10959_ChallengingYourDestiny; import quests.Q10961_EffectiveTraining.Q10961_EffectiveTraining; import quests.Q10962_NewHorizons.Q10962_NewHorizons; -import quests.Q10964_SecretGarden.Q10964_SecretGarden; -import quests.Q10965_DeathMysteries.Q10965_DeathMysteries; -import quests.Q10966_ATripBegins.Q10966_ATripBegins; -import quests.Q10967_CulturedAdventurer.Q10967_CulturedAdventurer; import quests.Q10968_ThePowerOfTheMagicLamp.Q10968_ThePowerOfTheMagicLamp; -import quests.Q10969_SporeInfestedPlace.Q10969_SporeInfestedPlace; -import quests.Q10970_RespectForGraves.Q10970_RespectForGraves; import quests.Q10971_TalismanEnchant.Q10971_TalismanEnchant; import quests.Q10972_CombiningGems.Q10972_CombiningGems; import quests.Q10973_EnchantingAgathions.Q10973_EnchantingAgathions; import quests.Q10974_NewStylishEquipment.Q10974_NewStylishEquipment; -import quests.Q10975_LetsPayRespectsToOurFallenBrethren.Q10975_LetsPayRespectsToOurFallenBrethren; -import quests.Q10976_MemoryOfTheGloriousPast.Q10976_MemoryOfTheGloriousPast; -import quests.Q10977_TracesOfBattle.Q10977_TracesOfBattle; import quests.Q10978_MissingPets.Q10978_MissingPets; import quests.Q10981_UnbearableWolvesHowling.Q10981_UnbearableWolvesHowling; import quests.Q10982_SpiderHunt.Q10982_SpiderHunt; @@ -69,15 +73,24 @@ public class QuestMasterHandler Q00502_BrothersBoundInChains.class, Q00662_AGameOfCards.class, Q10673_SagaOfLegend.class, + Q10290_ATripBegins.class, + Q10291_MoreExperience.class, + Q10292_SecretGarden.class, + Q10293_DeathMysteries.class, + Q10294_SporeInfestedPlace.class, + Q10295_RespectforGraves.class, + Q10296_LetsPayRespectsToOurFallenBrethren.class, + Q10297_MemoryOfTheGloriousPast.class, + Q10298_TracesOfBattle.class, + Q10299_GetIncrediblePower.class, + Q10954_SayhaChildren.class, + Q10955_NewLifeLessons.class, + Q10956_WeSylphs.class, Q10957_TheLifeOfADeathKnight.class, Q10958_ExploringNewOpportunities.class, Q10959_ChallengingYourDestiny.class, Q10961_EffectiveTraining.class, Q10962_NewHorizons.class, - Q10964_SecretGarden.class, - Q10965_DeathMysteries.class, - Q10966_ATripBegins.class, - Q10967_CulturedAdventurer.class, Q10981_UnbearableWolvesHowling.class, Q10982_SpiderHunt.class, Q10983_TroubledForest.class, @@ -89,15 +102,10 @@ public class QuestMasterHandler Q10989_DangerousPredators.class, Q10990_PoisonExtraction.class, Q10968_ThePowerOfTheMagicLamp.class, - Q10969_SporeInfestedPlace.class, - Q10970_RespectForGraves.class, Q10971_TalismanEnchant.class, Q10972_CombiningGems.class, Q10973_EnchantingAgathions.class, Q10974_NewStylishEquipment.class, - Q10975_LetsPayRespectsToOurFallenBrethren.class, - Q10976_MemoryOfTheGloriousPast.class, - Q10977_TracesOfBattle.class, Q10978_MissingPets.class, };