summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-16 11:28:37 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-16 11:28:37 -0300
commit294312464b52616a1018666a55101e6a5c504986 (patch)
tree22ceddff8a0756b0a057a9f661ca322e81dc02b3
parent23c425af536c9797bc01451f5046ac6fa50150aa (diff)
downloadserverdata-294312464b52616a1018666a55101e6a5c504986.tar.gz
serverdata-294312464b52616a1018666a55101e6a5c504986.tar.bz2
serverdata-294312464b52616a1018666a55101e6a5c504986.tar.xz
serverdata-294312464b52616a1018666a55101e6a5c504986.zip
Swap Death Acorn default action
-rw-r--r--db/re/item_db.conf10
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;
}
">
},