summaryrefslogtreecommitdiff
path: root/npc/020-7-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-20 11:40:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-20 11:40:31 -0300
commit858ade157daeb10253cd8023a20662f5361f42e6 (patch)
tree22d812ac0133a892a002bdbd62c81b9396bed232 /npc/020-7-1
parent9854e636dc8e3468c5115bfacebd1eb7bdf9b192 (diff)
downloadserverdata-858ade157daeb10253cd8023a20662f5361f42e6.tar.gz
serverdata-858ade157daeb10253cd8023a20662f5361f42e6.tar.bz2
serverdata-858ade157daeb10253cd8023a20662f5361f42e6.tar.xz
serverdata-858ade157daeb10253cd8023a20662f5361f42e6.zip
Lower luck effect over spellbook pages, raise base drop rate instead
Diffstat (limited to 'npc/020-7-1')
-rw-r--r--npc/020-7-1/core.txt2
-rw-r--r--npc/020-7-1/janitors.txt2
2 files changed, 2 insertions, 2 deletions
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;