From 5b45397be9991f807bdd6d5c6dc0a3b9bdaca33d Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 28 May 2021 14:40:26 +0000 Subject: [PATCH] Fixed quests 10296 and 10299. Contributed by manax182. --- ...96_LetsPayRespectsToOurFallenBrethren.java | 2 +- .../Q10299_GetIncrediblePower.java | 34 ++++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java index a61e04e5e2..06ef4655a0 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java +++ b/L2J_Mobius_Essence_5.0_Sylph/dist/game/data/scripts/quests/Q10296_LetsPayRespectsToOurFallenBrethren/Q10296_LetsPayRespectsToOurFallenBrethren.java @@ -192,7 +192,7 @@ public class Q10296_LetsPayRespectsToOurFallenBrethren extends Quest if ((qs != null) && qs.isCond(1)) { 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.KILL_MONSTERS_IN_THE_FIELDS_OF_MASSACRE_2.getId(), true, qs.getInt(KILL_COUNT_VAR))); holder.add(new NpcLogListHolder(NpcStringId.LEVEL_58_ACCOMPLISHED, player.getLevel() > 57 ? 1 : 0)); return holder; } 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 index b65d35b361..5f083e4dd5 100644 --- 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 @@ -36,10 +36,34 @@ 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; + private static final int[] MONSTERS = + { + 18436, + 18437, + 22107, + 22109, + 22110, + 22111, + 22112, + 22113, + 22114, + 22115, + 22116, + 22117, + 22118, + 22122, + 22123, + 22124, + 22147, + 22148, + 22149, + 22150, + 22275, + 22276, + 22277, + 22278, + 22292, + }; // Items private static final ItemHolder SAYHA_GUST = new ItemHolder(91776, 9); // Misc @@ -51,7 +75,7 @@ public class Q10299_GetIncrediblePower extends Quest super(10299); addStartNpc(ORVEN); addTalkId(ORVEN); - addKillId(GIANT_FUNGUS, GIANT_MONSTER_EYE, DIRE_WYRM, ROTTING_TREE); + addKillId(MONSTERS); addCondMinLevel(MIN_LEVEL, "no_lvl.html"); setQuestNameNpcStringId(NpcStringId.LV_45_GET_INCREDIBLE_POWER); }