diff options
Diffstat (limited to 'db/re/item_db.conf')
-rw-r--r-- | db/re/item_db.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 4216d2ae5..fecef6676 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12042,16 +12042,16 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" if (@useType == 1) { - if (!getmapxy(.@map$, .@x, .@y, 0)) { - monster(.@map$, .@x, .@y, l("Oak"), 1017, 1); - $TREE_PLANTED=$TREE_PLANTED+1; - } - } else { @min = 8; @max = 30; @delay = 3; @type = 1; doevent "rand_sc_heal::OnUse"; + } + } else { + if (!getmapxy(.@map$, .@x, .@y, 0)) { + monster(.@map$, .@x, .@y, l("Oak"), 1017, 1); + $TREE_PLANTED=$TREE_PLANTED+1; } "> }, |