From 0fe320e8ffe73721fefeea16adfb9c90c9b948c0 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 2 Apr 2021 09:37:28 +0000 Subject: [PATCH] Quest adjustments. Contributed by quangnguyen. --- .../scripts/quests/Q10290_ATripBegins/30332-01.htm | 8 ++++++++ .../scripts/quests/Q10290_ATripBegins/30332-02.htm | 6 ++++++ .../scripts/quests/Q10290_ATripBegins/30332-03.htm | 6 ++++++ .../scripts/quests/Q10290_ATripBegins/30332-04.htm | 5 +++++ .../scripts/quests/Q10290_ATripBegins/30332.htm | 7 +++++++ .../Q10290_ATripBegins/Q10290_ATripBegins.java | 14 ++++++++++++-- .../Q10971_TalismanEnchant.java | 14 +++++++------- 7 files changed, 51 insertions(+), 9 deletions(-) create mode 100644 L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm create mode 100644 L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.htm create mode 100644 L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.htm create mode 100644 L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-04.htm create mode 100644 L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332.htm diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm new file mode 100644 index 0000000000..e353004ec4 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-01.htm @@ -0,0 +1,8 @@ +Captain Bathis:
+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/30332-02.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.htm new file mode 100644 index 0000000000..097921ca43 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-02.htm @@ -0,0 +1,6 @@ +Captain Bathis:
+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/30332-03.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.htm new file mode 100644 index 0000000000..0059bcb2c1 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-03.htm @@ -0,0 +1,6 @@ +Captain Bathis:
+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/30332-04.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-04.htm new file mode 100644 index 0000000000..3b8ac39a3f --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332-04.htm @@ -0,0 +1,5 @@ +Captain Bathis:
+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/30332.htm b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332.htm new file mode 100644 index 0000000000..ff709ebcd2 --- /dev/null +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/30332.htm @@ -0,0 +1,7 @@ +Captain Bathis:
+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/Q10290_ATripBegins.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java index 436fb3cd62..39be47453f 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10290_ATripBegins/Q10290_ATripBegins.java @@ -106,6 +106,9 @@ public class Q10290_ATripBegins extends Quest case "30256-01.html": case "30256-02.html": case "30332-01.html": + case "30332.htm": + case "30332-01.htm": + case "30332-02.htm": { htmltext = event; break; @@ -123,6 +126,13 @@ public class Q10290_ATripBegins extends Quest htmltext = event; break; } + case "30332-03.htm": + { + qs.startQuest(); + npc.broadcastPacket(new NpcSay(npc, ChatType.NPC_GENERAL, NpcStringId.USING_THE_GATEKEEPER)); + htmltext = event; + break; + } case "30256-03.html": { qs.setCond(2, true); @@ -228,11 +238,11 @@ public class Q10290_ATripBegins extends Quest { if (qs.isCond(1)) { - htmltext = "30332-03.htm"; + htmltext = "30332.htm"; } else if (qs.isCond(2)) { - htmltext = "30332-04.html"; + htmltext = "30332-04.htm"; } else if (qs.isCond(3)) { diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java index 4e9fd17aa8..4997032a65 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10971_TalismanEnchant/Q10971_TalismanEnchant.java @@ -33,8 +33,8 @@ public class Q10971_TalismanEnchant extends Quest // NPC private static final int CAPTAIN_BATHIS = 30332; // Item - private static final ItemHolder TALISMAN_OF_ADEN = new ItemHolder(91745, 1); - private static final ItemHolder TALISMAN_OF_ADEN_ENCHANT = new ItemHolder(91756, 1); + private static final ItemHolder ADVENTURERS_TALISMAN = new ItemHolder(91937, 1); + private static final ItemHolder SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN = new ItemHolder(95688, 1); // Misc private static final int MIN_LEVEL = 25; @@ -73,13 +73,13 @@ public class Q10971_TalismanEnchant extends Quest qs.startQuest(); player.sendPacket(new ExTutorialShowId(47)); // TODO: Find a better way to do this: Tempfix for not giving items when already have them in inventory (bugging abort and re-accepting). - if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId()).isEmpty()) + if (player.getInventory().getItemsByItemId(ADVENTURERS_TALISMAN.getId()).isEmpty()) { - giveItems(player, TALISMAN_OF_ADEN); + giveItems(player, ADVENTURERS_TALISMAN); } - if (player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN_ENCHANT.getId()).isEmpty()) + if (player.getInventory().getItemsByItemId(SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN.getId()).isEmpty()) { - giveItems(player, TALISMAN_OF_ADEN_ENCHANT); + giveItems(player, SCROLL_OF_ENCHANT_ADVENTURERS_TALISMAN); } htmltext = event; break; @@ -100,7 +100,7 @@ public class Q10971_TalismanEnchant extends Quest else if (qs.isStarted()) { boolean foundEnchant = false; - SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(TALISMAN_OF_ADEN.getId())) + SEARCH: for (ItemInstance item : player.getInventory().getItemsByItemId(ADVENTURERS_TALISMAN.getId())) { if (item.getEnchantLevel() > 0) {