diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-08-29 10:27:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-08-29 10:27:07 -0300 |
commit | 8204fdee0c0010991e86452a74876593f5adeffc (patch) | |
tree | 75ccf2e8b01a7a50927931fb3de123a886280b04 /npc/functions/mobhunter.txt | |
parent | e6bb8e4cf2dd65a0454a847c6fd1677e5744e106 (diff) | |
download | serverdata-8204fdee0c0010991e86452a74876593f5adeffc.tar.gz serverdata-8204fdee0c0010991e86452a74876593f5adeffc.tar.bz2 serverdata-8204fdee0c0010991e86452a74876593f5adeffc.tar.xz serverdata-8204fdee0c0010991e86452a74876593f5adeffc.zip |
This should fix the fake bug report on Great Hunter Quest
Diffstat (limited to 'npc/functions/mobhunter.txt')
-rw-r--r-- | npc/functions/mobhunter.txt | 7 |
1 files 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.")); |