summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobhunter.txt7
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."));