summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-20 14:13:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-20 14:13:41 -0300
commit99e5e1a5f70aaf887f38b5e22a96a948e06bb64f (patch)
tree4cb6167ad3cb7ec419a1b9b8702fe791b7d4cc8a /npc/functions/util.txt
parent77eceb6b2fe0b5984dea2cd8303a4a96f54cf921 (diff)
downloadserverdata-99e5e1a5f70aaf887f38b5e22a96a948e06bb64f.tar.gz
serverdata-99e5e1a5f70aaf887f38b5e22a96a948e06bb64f.tar.bz2
serverdata-99e5e1a5f70aaf887f38b5e22a96a948e06bb64f.tar.xz
serverdata-99e5e1a5f70aaf887f38b5e22a96a948e06bb64f.zip
Fix bugs on Erik
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 0a25f2649..886dec447 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -743,7 +743,7 @@ function script anyloot {
return Exception("Faulty anyloot skill command invoked - error");
// Get Items
- for (.@i=0;.@i < getargcount(); .@i+=2) {
+ for (.@i=0;.@i < getargcount(); .@i+=3) {
if (rand2(10000) < getarg(.@i+2))
getitem getarg(.@i), rand2(1, getarg(.@i+1));
}