diff options
Diffstat (limited to 'npc/001-1')
-rw-r--r-- | npc/001-1/eventmaster.txt | 9 |
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; } } |