Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fixed some map quests (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noikar authored May 8, 2020
1 parent 6557812 commit 8e85530
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zones/Northern_San_dOria/npcs/Aurege.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ function onEventFinish(player, csid, option)
if csid == 521 and player:getQuestStatus(SANDORIA, tpz.quest.id.sandoria.EXIT_THE_GAMBLER) == QUEST_AVAILABLE then
player:addQuest(SANDORIA, tpz.quest.id.sandoria.EXIT_THE_GAMBLER)
elseif csid == 516 then
npcUtil.completeQuest(player, SANDORIA, tpz.quest.id.sandoria.EXIT_THE_GAMBLER, {ki = tpz.ki.MAP_OF_KING_RANPERRES_TOMB, title = tpz.title.DAYBREAK_GAMBLER, xp = 2000})
npcUtil.completeQuest(player, SANDORIA, tpz.quest.id.sandoria.EXIT_THE_GAMBLER, {keyItem = tpz.ki.MAP_OF_KING_RANPERRES_TOMB, title = tpz.title.DAYBREAK_GAMBLER, xp = 2000})
end
end
1 change: 1 addition & 0 deletions scripts/zones/Port_Bastok/npcs/Gudav.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function onEventFinish(player,csid,option)
player:addKeyItem(tpz.ki.MAP_OF_THE_GUSGEN_MINES);
player:messageSpecial(ID.text.KEYITEM_OBTAINED,tpz.ki.MAP_OF_THE_GUSGEN_MINES);
end
player:addExp(2000 * EXP_RATE)
player:addFame(BASTOK,60);
player:completeQuest(BASTOK,tpz.quest.id.bastok.A_FOREMAN_S_BEST_FRIEND);
end
Expand Down
2 changes: 2 additions & 0 deletions scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function onEventFinish(player,csid,option)
player:setCharVar("UnforgivenVar", 2)
player:addKeyItem(tpz.ki.MAP_OF_TAVNAZIA)
player:messageSpecial(ID.text.KEYITEM_OBTAINED, tpz.ki.MAP_OF_TAVNAZIA) -- Map of Tavnazia
player:addExp(2000 * EXP_RATE)
player:addGil(2000 * GIL_RATE)
player:completeQuest(OTHER_AREAS_LOG, tpz.quest.id.otherAreas.UNFORGIVEN)
elseif csid == 206 then
player:setCharVar("UnforgivenVar", 0)
Expand Down

0 comments on commit 8e85530

Please sign in to comment.