From e4b4812ffd7c1a80b79b39493b02f7acadf6a7d5 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 26 Dec 2020 14:21:31 +0000 Subject: [PATCH] Fixed third class mount book rewards. --- .../quests/Q10673_SagaOfLegend/Q10673_SagaOfLegend.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10673_SagaOfLegend/Q10673_SagaOfLegend.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10673_SagaOfLegend/Q10673_SagaOfLegend.java index 2f56d2ba31..1fbd066abf 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10673_SagaOfLegend/Q10673_SagaOfLegend.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/quests/Q10673_SagaOfLegend/Q10673_SagaOfLegend.java @@ -290,7 +290,7 @@ public class Q10673_SagaOfLegend extends Quest return; } - if (!CategoryData.getInstance().isInCategory(CategoryType.THIRD_CLASS_GROUP, player.getClassId().getId())) + if (!CategoryData.getInstance().isInCategory(CategoryType.FOURTH_CLASS_GROUP, player.getClassId().getId())) { return; } @@ -302,8 +302,9 @@ public class Q10673_SagaOfLegend extends Quest } // Death Knights. - if (player.getClassId().getId() > 195) + if (player.isDeathKnight()) { + player.getVariables().set("ITEMS_REWARDED", true); giveItems(player, SPELLBOOK_DEATH_KNIGHT, 1); return; }