summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 00:03:29 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 00:03:29 -0300
commitf68a894825e63cbde116e6eaa06ffaa09557f476 (patch)
tree8de7de6cb228489749201049fa9e2af7119d7f63
parentb5b329ac951792b9c9c6efb3583d1018aca5c7f9 (diff)
downloadserverdata-f68a894825e63cbde116e6eaa06ffaa09557f476.tar.gz
serverdata-f68a894825e63cbde116e6eaa06ffaa09557f476.tar.bz2
serverdata-f68a894825e63cbde116e6eaa06ffaa09557f476.tar.xz
serverdata-f68a894825e63cbde116e6eaa06ffaa09557f476.zip
Add extra case to MobHunter: You cannot switch to the same mob you're hunting.
-rw-r--r--npc/functions/mobhunter.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index 8fc6ecad0..6f99c5451 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -59,6 +59,12 @@ function script GHQ_Assign {
mesn;
mes l("I represent the @@ Hunters. We hunt @@.", getarg(1), getmonsterlink(getarg(0)));
mes l("The great prize is @@. It can be claimed with Aidan, on Tulimshar.", getarg(2));
+ if (getq(General_Hunter) == .@id) {
+ mes l("You are currently hunting @@/10000 @@. When done, remember to claim rewards with Aidan, on Tulimshar!", getq2(General_Hunter), getmonsterlink(GHQ_GetMonsterIDByQuestID(getq(General_Hunter))));
+ next;
+ closedialog;
+ goodbye;
+ }
if (getq(General_Hunter)) mes l("You are currently hunting @@/10000 @@. Do you want to switch?", getq2(General_Hunter), getmonsterlink(GHQ_GetMonsterIDByQuestID(getq(General_Hunter))));
select
l("I'm not interested."),