From 6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 31 Jul 2018 10:48:34 -0300 Subject: Missing commit --- db/re/item_db.conf | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 2296437b8..ab4663847 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -2364,10 +2364,23 @@ item_db: ( Delay: 500 UseEffect: "EFFECT_HEAL" Script: <" + switch (rand(1,3)) { + case 1: + .@mid=CloverPatch; + break; + case 2: + .@mid=ChagashroomField; + break; + default: + .@mid=PlushroomField; + break; + } + .@am=rand(1,2); + .@name$=strmobinfo(1, .@mid); if (@useType == 1) { if (!getmapxy(.@map$, .@x, .@y, 0)) { - monster(.@map$, .@x, .@y, l("Plushroom"), 1011, 1); - $TREE_PLANTED=$TREE_PLANTED+1; + monster(.@map$, .@x, .@y, .@name$, .@mid, .@am); + //$TREE_PLANTED=$TREE_PLANTED+1; // Not a tree.... right? } } "> -- cgit v1.2.3-60-g2f50