summaryrefslogtreecommitdiff
path: root/db/re/item_db.conf
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-20 09:01:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-20 09:01:55 -0300
commit06cd3aab9def1150f2a4f15cf4690671e8590828 (patch)
tree0c73c33afc0c678290b7a3aeb4e68e60be3ede7a /db/re/item_db.conf
parentaa20d596a9d33482723186fd5727a738745649d7 (diff)
downloadserverdata-06cd3aab9def1150f2a4f15cf4690671e8590828.tar.gz
serverdata-06cd3aab9def1150f2a4f15cf4690671e8590828.tar.bz2
serverdata-06cd3aab9def1150f2a4f15cf4690671e8590828.tar.xz
serverdata-06cd3aab9def1150f2a4f15cf4690671e8590828.zip
10% chance of a squirrel stealing an acorn which should be an oak :(
9~13% would be ideal, but Jesusalva is lazy to add this precision >.>
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r--db/re/item_db.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index cb51230b0..cc08de22b 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -186,7 +186,10 @@ item_db: (
Script: <"
if (@useType == 1) {
if (!getmapxy(.@map$, .@x, .@y, 0)) {
- monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
+ if (rand(1,10) == 3)
+ monster(.@map$, .@x, .@y, l("Oak"), 1017, 1);
+ else
+ monster(.@map$, .@x, .@y, l("Not An Oak"), any(Squirrel, SpringSquirrel), 1);
}
} else {
@min = 15;