From 858ade157daeb10253cd8023a20662f5361f42e6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 20 Jun 2019 11:40:31 -0300 Subject: Lower luck effect over spellbook pages, raise base drop rate instead --- npc/020-7-1/core.txt | 2 +- npc/020-7-1/janitors.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/020-7-1') diff --git a/npc/020-7-1/core.txt b/npc/020-7-1/core.txt index 015b23ffa..1dae575d8 100644 --- a/npc/020-7-1/core.txt +++ b/npc/020-7-1/core.txt @@ -230,7 +230,7 @@ function script BSProccessDeath { if (playerattached()) { getmapxy(.@m$, .@x, .@y, 0); // Capped at ~12% drop chance of book pages - if (rand(0,10000) <= 560+(readparam(bLuck)*7)) + if (rand(0,10000) <= 660+(readparam(bLuck)*6)) makeitem SpellBookPage, 1, .@m$, .@x, .@y; if (rand(0,10000) <= 100) makeitem Candy, 1, .@m$, .@x, .@y; diff --git a/npc/020-7-1/janitors.txt b/npc/020-7-1/janitors.txt index ce49a252a..f909a8b0b 100644 --- a/npc/020-7-1/janitors.txt +++ b/npc/020-7-1/janitors.txt @@ -94,7 +94,7 @@ OnSlimeDeath: if (playerattached()) { getmapxy(.@m$, .@x, .@y, 0); // Capped at ~10% drop chance of book pages - if (rand(0,10000) <= 360+(readparam(bLuck)*7)) + if (rand(0,10000) <= 460+(readparam(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