From 06cd3aab9def1150f2a4f15cf4690671e8590828 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 20 Mar 2019 09:01:55 -0300 Subject: 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 >.> --- db/re/item_db.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'db/re/item_db.conf') 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; -- cgit v1.2.3-60-g2f50