From b9f287987edf86223711428bf8851f1834235458 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 11 Jun 2018 19:07:41 -0300 Subject: This is a commit to be reverted for debug --- db/re/item_db.conf | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'db/re') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 242780104..2a2769530 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -1956,9 +1956,21 @@ item_db: ( Delay: 1000 UseEffect: "EFFECT_HEAL" Script: <" - // SC_MAXIMIZEPOWER, SC_STRUP, SC_WEAPONPERFECT, SC_ATTHASTE_POTION1, SC_PLUSATTACKPOWER, + // , , , SC_ATTHASTE_POTION1, SC_PLUSATTACKPOWER, // what about SC_INCASPDRATE - oh, so many options for the same thing - sc_start SC_PLUSATTACKPOWER, 15000, 5; + switch (@redundant_shroom) { + case 0: + .@ef=SC_PLUSATTACKPOWER; break; + case 1: + .@ef=SC_MAXIMIZEPOWER; break; + case 2: + .@ef=SC_STRUP; break; + case 3: + .@ef=SC_WEAPONPERFECT; @redundant_shroom=-1; break; + } + dispbottom l("Variant @@: @@", @redundant_shroom, .@ef); + @redundant_shroom=@redundant_shroom+1; + sc_start .@ef, 15000, 5; @min = 30; @max = 60; @delay = 3; -- cgit v1.2.3-70-g09d2