diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-31 10:48:34 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-31 10:48:45 -0300 |
commit | 6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027 (patch) | |
tree | b78553c21cd0cab8ed03186d707dc3311b000717 /db | |
parent | d8c371a7dbffc587225fa57057e5ef416c109198 (diff) | |
download | serverdata-6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027.tar.gz serverdata-6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027.tar.bz2 serverdata-6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027.tar.xz serverdata-6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027.zip |
Missing commit
Diffstat (limited to 'db')
-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? } } "> |