diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-09-20 21:50:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-09-20 21:50:04 -0300 |
commit | ee1e72d4d174af52287aaaf8e0edded23f237222 (patch) | |
tree | c1e0dcbb2e7af9593a670261b9b33083b0960ef9 /npc/functions/mobhunter.txt | |
parent | 70a18c06069bd625282088f189eb3092f50f172b (diff) | |
download | serverdata-ee1e72d4d174af52287aaaf8e0edded23f237222.tar.gz serverdata-ee1e72d4d174af52287aaaf8e0edded23f237222.tar.bz2 serverdata-ee1e72d4d174af52287aaaf8e0edded23f237222.tar.xz serverdata-ee1e72d4d174af52287aaaf8e0edded23f237222.zip |
Silly.
Diffstat (limited to 'npc/functions/mobhunter.txt')
-rw-r--r-- | npc/functions/mobhunter.txt | 31 |
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; + +} + |