diff options
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r-- | db/re/item_db.conf | 17 |
1 files changed, 15 insertions, 2 deletions
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? } } "> |