summaryrefslogtreecommitdiff
path: root/npc
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
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')
-rw-r--r--npc/017-10/dispatcher.txt2
-rw-r--r--npc/functions/util.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt
index 10868f743..e612cd65f 100644
--- a/npc/017-10/dispatcher.txt
+++ b/npc/017-10/dispatcher.txt
@@ -169,7 +169,7 @@ L_Main:
getitemlink(IcedBottle));
next;
.@dest=HCD_SLIMENEST;
- .@hours=3;
+ .@hours=2;
break;
case 6:
mesc ".:: " + l("Snake Pit") + " ::.";
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));
}