summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-01 17:10:54 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-01 17:10:54 -0300
commitb066c953084c6e624322db928db3b671a9478099 (patch)
tree7e9d1ce1b7b0bcb5deb7a05004b1dd099d7498e3
parent20d603ef52c7e7068374430cd91b77bb9318d6c5 (diff)
downloadserverdata-b066c953084c6e624322db928db3b671a9478099.tar.gz
serverdata-b066c953084c6e624322db928db3b671a9478099.tar.bz2
serverdata-b066c953084c6e624322db928db3b671a9478099.tar.xz
serverdata-b066c953084c6e624322db928db3b671a9478099.zip
Attempt at Aeros with getmapxy to really DROP the strange coin.
-rw-r--r--npc/001-1/eventmaster.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index ad4a7655a..9a5645d1b 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -193,7 +193,8 @@ OnAerosMobDeath:
// A level 100 monster can have a 4% drop bonus against a level 0 monster.
// .coins_rate acts stablishing a basic drop value. Advised value: 600 (up to 10% for normal mobs)
if (rand(10000) <= .coins_rate + (atoi(strmobinfo(3,killedrid))*4))
- getitem StrangeCoin, 1;
+ getmapxy(.@m, .@x, .@y, 0);
+ makeitem(StrangeCoin, 1, .@m, .@x, .@y);
end;
OnInit: