summaryrefslogtreecommitdiff
path: root/npc/020-7-1/core.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-03 14:07:53 -0300
commit4fcbee767848cb0a4b34db504fa0cb30d55dc78d (patch)
treebb7b13be1935ae2769dc4aaf0b6b0644d28b83ae /npc/020-7-1/core.txt
parent42ff46a168148ceb70bb37431ad4d162429be464 (diff)
downloadserverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.gz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.bz2
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.tar.xz
serverdata-4fcbee767848cb0a4b34db504fa0cb30d55dc78d.zip
Use readparam2() instead of readparam() in several places
Diffstat (limited to 'npc/020-7-1/core.txt')
-rw-r--r--npc/020-7-1/core.txt2
1 files changed, 1 insertions, 1 deletions
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;