summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-17 02:07:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-17 02:07:30 -0300
commite76563cd2770678f00b177e2baa74f79f9a27c71 (patch)
tree782b771b6e667d604961106aa69d1a6d1be9ccbf /npc/functions
parente6d42426f7d4cbb1677a0e2528f5e66ced9bdbbf (diff)
downloadserverdata-e76563cd2770678f00b177e2baa74f79f9a27c71.tar.gz
serverdata-e76563cd2770678f00b177e2baa74f79f9a27c71.tar.bz2
serverdata-e76563cd2770678f00b177e2baa74f79f9a27c71.tar.xz
serverdata-e76563cd2770678f00b177e2baa74f79f9a27c71.zip
Release Lilit already I'm sleepy
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/main.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 56090e926..01559de24 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -257,7 +257,8 @@ function script any_of {
/////////////////////////////////////////////
// Function meant to be used by Grand Hunter Quest
-// VarDiffValue ( old, new, target)
+// result is: lower < target <= higher
+// VarDiffValue ( lower, higher, target)
function script VarDiffValue {
.@val=getarg(2);
return (getarg(0) < .@val && getarg(1) >= .@val);