summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-11-02 14:04:38 -0300
committerJesusaves <cpntb1@ymail.com>2021-11-02 14:04:38 -0300
commit827e7f9cebffdf4a0f92cc762aa4339a2dd8a56f (patch)
treec0c9922857b668c369f9962b12f0054d3b87ea90 /npc
parentbdc9c0c1ef723b0c880eac41b8930c7681a18593 (diff)
downloadserverdata-827e7f9cebffdf4a0f92cc762aa4339a2dd8a56f.tar.gz
serverdata-827e7f9cebffdf4a0f92cc762aa4339a2dd8a56f.tar.bz2
serverdata-827e7f9cebffdf4a0f92cc762aa4339a2dd8a56f.tar.xz
serverdata-827e7f9cebffdf4a0f92cc762aa4339a2dd8a56f.zip
This won't work, but... >.<
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1/eventmaster.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt
index 59bb552e6..68bcb4e5f 100644
--- a/npc/001-1/eventmaster.txt
+++ b/npc/001-1/eventmaster.txt
@@ -771,14 +771,17 @@ OnAutoSched:
end;
OnAerosMobDeath:
+ // is killedrid even set?
if ($coinsrate < 0) end;
// A level 100 monster can have a 4% drop bonus against a level 0 monster.
// $coinsrate acts stablishing a basic drop value. Advised value: 600 (up to 10% for normal mobs)
+ // FIXME: That doesn't work (yet) - Mob ID is not set
if (playerattached()) {
if (rand(10000) <= $coinsrate + (atoi(strmobinfo(3,killedrid))*4)) {
getmapxy(.@m$, .@x, .@y, 0);
makeitem(StrangeCoin, 1, .@m$, .@x, .@y);
}
+ fix_mobkill(killedrid);
}
end;