summaryrefslogtreecommitdiff
path: root/npc/020-7-1/core.txt
diff options
context:
space:
mode:
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;