summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-31 10:48:34 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-31 10:48:45 -0300
commit6e5e8e1bc4775dd8d1edcd2e23d1f3f9eea19027 (patch)
treeb78553c21cd0cab8ed03186d707dc3311b000717 /db
parentd8c371a7dbffc587225fa57057e5ef416c109198 (diff)
downloadserverdata-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.conf17
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?
}
}
">