summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-22 23:16:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-22 23:16:36 -0300
commit7e2bf74ba8a0c7bf5529c001777579799617c9c4 (patch)
tree821d6b8c2acc4dfc0a6c7b713975dce84977da05 /npc/functions/util.txt
parent9812a14ced434f8540b940f5da14e7b743088ed1 (diff)
downloadserverdata-7e2bf74ba8a0c7bf5529c001777579799617c9c4.tar.gz
serverdata-7e2bf74ba8a0c7bf5529c001777579799617c9c4.tar.bz2
serverdata-7e2bf74ba8a0c7bf5529c001777579799617c9c4.tar.xz
serverdata-7e2bf74ba8a0c7bf5529c001777579799617c9c4.zip
Alias: battleparam(...) == readbattleparam(getcharid(3), ...)
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index ad74c75ae..d829c4524 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -835,6 +835,11 @@ function script mercrank {
}
}
+// alias to readbattleparam(getcharid(3), ?? )
+function script battleparam {
+ return readbattleparam(getcharid(3), getarg(0));
+}
+
// gettimeparam(GETTIME_X)
// Returns the number of seconds/minutes/hours/days/months/years since 01/01/1970
function script gettimeparam {