From 4fcbee767848cb0a4b34db504fa0cb30d55dc78d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 3 Sep 2019 14:07:53 -0300 Subject: Use readparam2() instead of readparam() in several places --- npc/020-7-1/core.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/020-7-1/core.txt') diff --git a/npc/020-7-1/core.txt b/npc/020-7-1/core.txt index b9e0298c3..f29e0ba8d 100644 --- a/npc/020-7-1/core.txt +++ b/npc/020-7-1/core.txt @@ -234,7 +234,7 @@ function script BSProccessDeath { if (playerattached()) { getmapxy(.@m$, .@x, .@y, 0); // Capped at ~12% drop chance of book pages - if (rand(0,10000) <= 660+(readparam(bLuck)*6)) + if (rand(0,10000) <= 660+(readparam2(bLuck)*6)) makeitem SpellBookPage, 1, .@m$, .@x, .@y; if (rand(0,10000) <= 100) makeitem Candy, 1, .@m$, .@x, .@y; -- cgit v1.2.3-60-g2f50