diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-20 09:01:55 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-20 09:01:55 -0300 |
commit | 06cd3aab9def1150f2a4f15cf4690671e8590828 (patch) | |
tree | 0c73c33afc0c678290b7a3aeb4e68e60be3ede7a /db/re/item_db.conf | |
parent | aa20d596a9d33482723186fd5727a738745649d7 (diff) | |
download | serverdata-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.conf | 5 |
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; |