From 8204fdee0c0010991e86452a74876593f5adeffc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Aug 2018 10:27:07 -0300 Subject: This should fix the fake bug report on Great Hunter Quest --- npc/functions/mobhunter.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt index 2c0031bb7..a2e088ba8 100644 --- a/npc/functions/mobhunter.txt +++ b/npc/functions/mobhunter.txt @@ -68,19 +68,22 @@ function script GHQ_Assign { .@id=GHQ_GetQuestIDByMonsterID(.@mobId); .@q=getq(General_Hunter); .@p=getq2(General_Hunter); - .@m=GHQ_GetMonsterIDByQuestID(.@q); next; //mesq l("Current Quest Progress: @@/10,000 kills", .@p); mesn; mes l("I represent the @@ Hunters. We hunt @@.", .@loc$, getmonsterlink(.@mobId)); mes l("The great prize is @@. It can be claimed with Aidan, on Tulimshar.", .@prize$); if (.@q == .@id) { + .@m=GHQ_GetMonsterIDByQuestID(.@q); mes l("You are currently hunting @@/10000 @@. When done, remember to claim rewards with Aidan, on Tulimshar!", .@p, getmonsterlink(.@m)); next; closedialog; goodbye; } - if (.@q) mes l("You are currently hunting @@/10000 @@. Do you want to switch?", .@p, getmonsterlink(.@m)); + if (.@q) { + .@m=GHQ_GetMonsterIDByQuestID(.@q); + mes l("You are currently hunting @@/10000 @@. Do you want to switch?", .@p, getmonsterlink(.@m)); + } select l("I'm not interested."), rif(GHMEMO[.@id] < 10000,l("I'll hunt them for you.")); -- cgit v1.2.3-70-g09d2