public SummonMenuEntry(string name, Spell s) { Name = name; Spell = s; AllCount = 0; QMagicCount = 0; }
//private List<AddedAbility> _addedAbilities; public MagicMenuEntry(Spell s) { _spell = s; _allCount = 0; _qmagicCount = 0; _mpTurboFactor = 0; //_addedAbilities = new List<AddedAbility>(); }
public static int Compare(Spell left, Spell right) { return left.Order.CompareTo(right.Order); }
private void LoadSummonSpells() { SummonSpells = new Dictionary<string, Spell>(); XmlDocument gamedata = Resource.GetXmlFromResource("data.spells.summon.xml", Assembly); foreach (XmlNode node in gamedata.SelectNodes("/spells/spell")) { Spell spell = new Spell(node, Lua); SummonSpells.Add(spell.Name, spell); } }