summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/mobhunter.txt31
1 files changed, 16 insertions, 15 deletions
diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt
index 9c3f76571..3b3dc8cb5 100644
--- a/npc/functions/mobhunter.txt
+++ b/npc/functions/mobhunter.txt
@@ -3,21 +3,6 @@
// Desc: Grand Hunter Quest Utils
// Note: Remember to update Aidan too
-function script mobhunter {
- if (getq(General_Hunter) == 0)
- return;
-
- .@ghd=getq(General_Hunter);
- if (killedrid == GHQ_GetMonsterIDByQuestID(.@ghd)) {
- setq2 General_Hunter, getq2(General_Hunter)+1;
- .@ghd=getq2(General_Hunter);
- if (! (.@ghd % 1000))
- dispbottom l("Grand Hunter Quest: @@/10,000", format_number(.@ghd));
- }
- return;
-
-}
-
// MobID
function script GHQ_GetQuestIDByMonsterID {
switch (getarg(0)) {
@@ -122,3 +107,19 @@ function script GHQ_Assign {
}
+
+function script mobhunter {
+ if (getq(General_Hunter) == 0)
+ return;
+
+ .@ghd=getq(General_Hunter);
+ if (killedrid == GHQ_GetMonsterIDByQuestID(.@ghd)) {
+ setq2 General_Hunter, getq2(General_Hunter)+1;
+ .@ghd=getq2(General_Hunter);
+ if (! (.@ghd % 1000))
+ dispbottom l("Grand Hunter Quest: @@/10,000", format_number(.@ghd));
+ }
+ return;
+
+}
+