summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Scroll.c
blob: 7228fe0ed19d7d07138efd36c7e9d8c1cbbeee78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#strict 2

#appendto SCRL

protected func Initialize()
{
	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();
}