public Spell GetAttackSpellRandom()
{
if ( m_arSpellAttack.Count > 0 )
{
Type type = m_arSpellAttack[Utility.Random(m_arSpellAttack.Count)];
object[] args = {this, null};
return Activator.CreateInstance( type, args ) as Spell;
}
else
{
return null;
}
}