summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf16
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;