summaryrefslogtreecommitdiff
path: root/npc/001-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-01 14:19:26 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-01 14:19:26 -0300
commit3a2c882cbefb9257a18f242d0531cb4d78903a23 (patch)
tree24a70a01bd0e8f69bbe553fdb28a79bf3f47c600 /npc/001-1
parent6280e841b6b98523d6ee4c370098ab417433d284 (diff)
downloadserverdata-3a2c882cbefb9257a18f242d0531cb4d78903a23.tar.gz
serverdata-3a2c882cbefb9257a18f242d0531cb4d78903a23.tar.bz2
serverdata-3a2c882cbefb9257a18f242d0531cb4d78903a23.tar.xz
serverdata-3a2c882cbefb9257a18f242d0531cb4d78903a23.zip
Multiple item drops on Event Master is now supported.
Diffstat (limited to 'npc/001-1')
-rw-r--r--npc/001-1/eventmaster.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index 46782bf67..8f9f7aee0 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -27,13 +27,16 @@
// [0] East [1] West [2] Full makeitem
switch($@AEROS_SPWN) {
case 1:
- makeitem(getarg(0), getarg(1,1), "001-1", rand(20,140), rand(20,140));
+ for (.@i = 0; .@i < getarg(1,1); .@i++)
+ makeitem(getarg(0), 1, "001-1", rand(20,140), rand(20,140));
break;
case 2:
- makeitem(getarg(0), getarg(1,1), "001-1", rand(20,340), rand(20,160));
+ for (.@i = 0; .@i < getarg(1,1); .@i++)
+ makeitem(getarg(0), 1, "001-1", rand(20,340), rand(20,160));
break;
default:
- makeitem(getarg(0), getarg(1,1), "001-1", rand(171,320), rand(158,339));
+ for (.@i = 0; .@i < getarg(1,1); .@i++)
+ makeitem(getarg(0), 1, "001-1", rand(171,320), rand(158,339));
break;
}
}