summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TemplePushing.c4s/System.c4g/Scroll.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c
index 310652c..7228fe0 100644
--- a/TemplePushing.c4s/System.c4g/Scroll.c
+++ b/TemplePushing.c4s/System.c4g/Scroll.c
@@ -2,15 +2,12 @@
#appendto SCRL
-func Initialize()
+protected func Initialize()
{
- if (mode == MODE_Festive)
- {
- var spells = [ABLA, MFWV, MICS, MLGT, MGPL, ICNL];
- SetSpell(spells[Random(GetLength(spells))]);
- }
- else var spells = [ABLA, MBOT, MFRB, MDBT, GVTY, MMTR, MLGT, CFAL, MSSH, MINV, MQKE, MARK, MFWV, MGFL, LAVS, MGPL, ICNL];
+ var spells = [ABLA, MBOT, MFRB, MDBT, GVTY, MMTR, MLGT, CFAL, MSSH, MINV, MQKE, MARK, MFWV, MGFL, LAVS, MGPL, ICNL];
+ if (mode == MODE_Festive) spells = [ABLA, MFWV, MICS, MLGT, MGPL, ICNL];
+
SetSpell(spells[Random(GetLength(spells))]);
-
+
return _inherited();
}