diff options
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Scroll.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Scroll.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TemplePushing.c4s/System.c4g/Scroll.c b/TemplePushing.c4s/System.c4g/Scroll.c index a66bb32..07a55d6 100644 --- a/TemplePushing.c4s/System.c4g/Scroll.c +++ b/TemplePushing.c4s/System.c4g/Scroll.c @@ -1,10 +1,10 @@ -#strict +#strict 2 + #appendto SCRL -static SpID; func Initialize() { - SpID=[ABLA,MBOT,MFRB,MDBT,GVTY,MBRG,MMTR,MLGT,CAHE,MSSH,MINV,MFFS,MQKE,ELX1,MICS,MARK]; - SetSpell(SpID[Random(16)]); - return(_inherited()); -}
\ No newline at end of file + var spells = [ABLA, MBOT, MFRB, MDBT, GVTY, MMTR, MLGT, CFAL, MSSH, MINV, MQKE, MARK, MFWV, MGFL]; + SetSpell(spells[Random(GetLength(spells))]); + return _inherited(); +} |
