summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/event.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 7c7b7a8e2..1de8d7ef0 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -229,7 +229,7 @@ function script ChocolateDay {
ChocolateMouboo, ChocolateBiscuit, ChocolateBunny,
ChocolateBar, ChocolateBar, ChocolateBar, ChocolateBar,
ChocolateDye, ChocolateBar, ChocolateBar, ChocolateBar);
- getmapxy(.@m$, .@x, .@y);
+ getmapxy(.@m$, .@x, .@y, 0);
.@x+=rand2(-1,1);
.@y+=rand2(-1,1);
makeitem(.@choco, 1, .@m$, .@x, .@y);
@@ -251,7 +251,7 @@ function script CoffeeDay {
// Max. 22% chances, 0.1% per monster level
.@lv=min(200, getmonsterinfo(killedrid, MOB_LV));
if (rand2(10000) < (.@lv*11)) {
- getmapxy(.@m$, .@x, .@y);
+ getmapxy(.@m$, .@x, .@y, 0);
.@x+=rand2(-1,1);
.@y+=rand2(-1,1);
makeitem(Coffee, 1, .@m$, .@x, .@y);