From 5ddb6fc42812bedbe8c50e3a94b14dc20ef75d1d Mon Sep 17 00:00:00 2001 From: hookstar Date: Mon, 6 May 2024 15:19:30 -0500 Subject: [PATCH] [QUEST]Foreman Best Friend xp OR map [QUEST]Foreman Best Friend xp OR map --- scripts/quests/bastok/A_Foremans_Best_Friend.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/quests/bastok/A_Foremans_Best_Friend.lua b/scripts/quests/bastok/A_Foremans_Best_Friend.lua index 416c0624a28..7443f7b9249 100644 --- a/scripts/quests/bastok/A_Foremans_Best_Friend.lua +++ b/scripts/quests/bastok/A_Foremans_Best_Friend.lua @@ -9,10 +9,8 @@ local quest = Quest:new(xi.questLog.BASTOK, xi.quest.id.bastok.A_FOREMANS_BEST_F quest.reward = { - exp = 2000, fame = 60, fameArea = xi.fameArea.BASTOK, - keyItem = xi.ki.MAP_OF_THE_GUSGEN_MINES, } quest.sections = @@ -58,6 +56,11 @@ quest.sections = [112] = function(player, csid, option, npc) if quest:complete(player) then player:confirmTrade() + if player:hasKeyItem(xi.ki.MAP_OF_THE_GUSGEN_MINES) then + player:addExp(2000) + else + npcUtil.giveKeyItem(player, xi.ki.MAP_OF_THE_GUSGEN_MINES) + end end end, },