diff options
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r-- | npc/functions/main.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt index ca828b056..2d4d3a11a 100644 --- a/npc/functions/main.txt +++ b/npc/functions/main.txt @@ -259,6 +259,13 @@ function script any_of { // TMW2 Custom Functions ///////////////////////////////////////////// +// Function meant to be used by Grand Hunter Quest +// VarDiffValue ( old, new, target) +function script VarDiffValue { + .@val=getarg(2); + return (getarg(0) < .@val && getarg(1) >= .@val); +} + function script getmap { if (getmapxy(.@mapName$, .@xpos, .@ypos, getarg(0,0)) != 0) return false; |