From d4bc9572d59033ace81c80ed78b0544fbfda5ae8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 15 Jun 2018 22:25:38 -0300 Subject: Bad atoi --- npc/012-1/guards.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50