From 32a9632fbca3dd7a88bd3154b84a3773af39c276 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 17:55:29 +0100 Subject: TemplePush v6.1.7601.18409.c4s --- TemplePushing.c4s/System.c4g/Scroll.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'TemplePushing.c4s/System.c4g/Scroll.c') 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(); +} -- cgit v1.2.3-54-g00ecf