summaryrefslogtreecommitdiff
path: root/npc/soren
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-02 02:36:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-02 02:36:10 -0300
commit74a89b8b3accc2d88fca0d2f568d28a3de29ca70 (patch)
tree9647c6942d0b242af447c6c4e52edae070d2235a /npc/soren
parent85cd7b6c8cdd32b6c5c2612dbf13f1b27b539489 (diff)
downloadserverdata-74a89b8b3accc2d88fca0d2f568d28a3de29ca70.tar.gz
serverdata-74a89b8b3accc2d88fca0d2f568d28a3de29ca70.tar.bz2
serverdata-74a89b8b3accc2d88fca0d2f568d28a3de29ca70.tar.xz
serverdata-74a89b8b3accc2d88fca0d2f568d28a3de29ca70.zip
This should handle spawns and Dark Petals on 042-10
Diffstat (limited to 'npc/soren')
-rw-r--r--npc/soren/main.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index db098f63f..df05b8aec 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -188,7 +188,7 @@ OnTimer31000:
.@uy=.y+.distance;
// Core function
- areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand(.@lx, .@ux), rand(.@ly, .@uy)); ++.st;
+ areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand2(.@lx, .@ux), rand2(.@ly, .@uy)); ++.st;
specialeffect(54);
// If we're done with waves
@@ -341,7 +341,7 @@ OnTimer30900:
.@ly=141; .@uy=141;
// Core function
- areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand(.@lx, .@ux), rand(.@ly, .@uy)); ++.st;
+ areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand2(.@lx, .@ux), rand2(.@ly, .@uy)); ++.st;
// If we're done with waves
if (.st >= 7) {
@@ -495,7 +495,7 @@ OnTimer31200:
.@uy=.y+.distance;
// Core function
- areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand(.@lx, .@ux), rand(.@ly, .@uy)); ++.st;
+ areamonster .map$, .@lx, .@ly, .@ux, .@uy, strmobinfo(1, .@monsterId), .@monsterId, .@amount; makeitem(.@itemId, 1, .map$, rand2(.@lx, .@ux), rand2(.@ly, .@uy)); ++.st;
// If we're done with waves
if (.st >= 7) {