From ee1e72d4d174af52287aaaf8e0edded23f237222 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 20 Sep 2018 21:50:04 -0300 Subject: Silly. --- npc/functions/mobhunter.txt | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'npc/functions/mobhunter.txt') 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; + +} + -- cgit v1.2.3-70-g09d2