From 43f0d717c49895ba26f84219c80dd1f9d9846e79 Mon Sep 17 00:00:00 2001 From: jesusalva Date: Fri, 9 Feb 2018 19:06:02 -0200 Subject: Acorns Of Death (to be deleted later) --- db/re/item_db.conf | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'db/re/item_db.conf') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e2acf757d..77aa8eb43 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -11337,5 +11337,34 @@ item_db: ( Loc: "EQP_AMMO" Subtype: "W_DAGGER" }, +{ + Id: 7420 + AegisName: "DeathPenality" + Name: "Acorn Of Death" + Type: "IT_HEALING" + Buy: 10 + Sell: 1 + Weight: 1 + BuyingStore: false + Delay: 500 + UseEffect: "EFFECT_HEAL" + Script: <" + if (@useType == 1) + { + if (!getmapxy(.@map$, .@x, .@y, 0)) + { + monster(.@map$, .@x, .@y, l("Oak"), 1017, 1); + } + } + else + { + @min = 12; + @max = 18; + @delay = 3; + @type = 1; + doevent "rand_sc_heal::OnUse"; + } + "> +}, ) -- cgit v1.2.3-60-g2f50