From 81bee849816a633f1ec76273066d165726d39578 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Wed, 27 Jul 2016 08:26:59 +0000 Subject: [PATCH] Brothers Bound in Chains item count fixes. --- .../Q00500_BrothersBoundInChains.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/dist/game/data/scripts/quests/Q00500_BrothersBoundInChains/Q00500_BrothersBoundInChains.java b/trunk/dist/game/data/scripts/quests/Q00500_BrothersBoundInChains/Q00500_BrothersBoundInChains.java index a042edc97e..740c119f16 100644 --- a/trunk/dist/game/data/scripts/quests/Q00500_BrothersBoundInChains/Q00500_BrothersBoundInChains.java +++ b/trunk/dist/game/data/scripts/quests/Q00500_BrothersBoundInChains/Q00500_BrothersBoundInChains.java @@ -107,8 +107,9 @@ public class Q00500_BrothersBoundInChains extends Quest } case "30981-04.htm": { - if (takeItems(player, GEMSTONE_B, 200)) + if (getQuestItemsCount(player, GEMSTONE_B) >= 200) { + takeItems(player, GEMSTONE_B, 200); giveItems(player, PENITENT_MANACLES, 1); } else @@ -124,8 +125,9 @@ public class Q00500_BrothersBoundInChains extends Quest } case "30981-09.html": // not retail html. { - if (takeItems(player, CRUMBS_OF_PENITENCE, 10)) + if (getQuestItemsCount(player, CRUMBS_OF_PENITENCE) >= 10) { + takeItems(player, CRUMBS_OF_PENITENCE, -1); player.setPkKills(Math.max(0, player.getPkKills() - Rnd.get(1, 10))); qs.exitQuest(QuestType.DAILY, true); }