diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-11 19:07:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-11 19:07:41 -0300 |
commit | b9f287987edf86223711428bf8851f1834235458 (patch) | |
tree | 1a05a67b7b9a568ae325059b28126eac3ff89621 /db/re | |
parent | e0b7e146575a49af3adc1c4632e7862d662e00f4 (diff) | |
download | serverdata-b9f287987edf86223711428bf8851f1834235458.tar.gz serverdata-b9f287987edf86223711428bf8851f1834235458.tar.bz2 serverdata-b9f287987edf86223711428bf8851f1834235458.tar.xz serverdata-b9f287987edf86223711428bf8851f1834235458.zip |
This is a commit to be reverted for debug
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/item_db.conf | 16 |
1 files changed, 14 insertions, 2 deletions
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; |