summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-15 22:25:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-15 22:25:38 -0300
commitd4bc9572d59033ace81c80ed78b0544fbfda5ae8 (patch)
tree8be10fa5e563f30340c42a15786fe5bc9e18616e /npc/012-1
parent1a19e90347648abf17b67999e2912e1767f22b8e (diff)
downloadserverdata-d4bc9572d59033ace81c80ed78b0544fbfda5ae8.tar.gz
serverdata-d4bc9572d59033ace81c80ed78b0544fbfda5ae8.tar.bz2
serverdata-d4bc9572d59033ace81c80ed78b0544fbfda5ae8.tar.xz
serverdata-d4bc9572d59033ace81c80ed78b0544fbfda5ae8.zip
Bad atoi
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/guards.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index 7a2fb4fa1..377d400d1 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -317,7 +317,7 @@ OnSkip:
// A level 100 monster can have a 5% drop bonus against a level 0 monster.
// You have 1% of base chance, but 0.5% each player + 0.05% each monster level.
// .coins_rate acts stablishing a basic drop value. Advised value: 600 (up to 10% for normal mobs)
- if (rand(10000) <= 100 + (getmapusers("012-1")*50) + (atoi(strmobinfo(3,killedrid))*5))
+ if (rand(10000) <= 100 + (getmapusers("012-1")*50) + (strmobinfo(3,killedrid)*5))
getmapxy(.@m$, .@x, .@y, 0);
makeitem(StrangeCoin, 1, "012-1", .@x, .@y);
end;