summaryrefslogtreecommitdiff
path: root/npc/functions/mobhunter.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-04 13:08:24 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-04 13:08:24 -0300
commit6b23cb7f0e5479ae13d15b4ea4bf832c570943ff (patch)
tree56ae6dec7dc95cd4d24c25edd452dc3dad98a7bc /npc/functions/mobhunter.txt
parentf4807bf1dd414d8fbc0c6e45e65b34b216368bb7 (diff)
downloadserverdata-6b23cb7f0e5479ae13d15b4ea4bf832c570943ff.tar.gz
serverdata-6b23cb7f0e5479ae13d15b4ea4bf832c570943ff.tar.bz2
serverdata-6b23cb7f0e5479ae13d15b4ea4bf832c570943ff.tar.xz
serverdata-6b23cb7f0e5479ae13d15b4ea4bf832c570943ff.zip
Fix some bugs on mobhunter, and update Exception() code
Diffstat (limited to 'npc/functions/mobhunter.txt')
-rw-r--r--npc/functions/mobhunter.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index e7bf03421..a19a595a1 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -180,7 +180,7 @@ function script GHQ_Assign {
.@id=GHQ_GetQuestIDByMonsterID(.@mobId);
.@q=getq(General_Hunter);
.@p=getq2(General_Hunter);
- next;
+ //next;
//mesq l("Current Quest Progress: @@/10,000 kills", .@p);
mesn;
mes l("I represent the @@ Hunters. We hunt @@.", .@loc$, getmonsterlink(.@mobId));
@@ -189,7 +189,8 @@ function script GHQ_Assign {
else
mes l("The great prize is to unlock a pet!");
- GHQ_GetRewardsOnMilestone();
+ if (.@q)
+ GHQ_GetRewardsOnMilestone();
if (.@q == .@id) {
.@m=GHQ_GetMonsterIDByQuestID(.@q);
mes l("You are currently hunting @@/10000 @@.", .@p, getmonsterlink(.@m));