public MDRRace() { MinStats = new MDRStats(); MaxStats = new MDRStats(); DefaultStats = new MDRStats(); Resistance = new MDRResistance(); }
public MDRMonster() { Stats = new MDRStats(); Abilities = new MonsterAbilities(); SpellClasses = new BitArray(32); Resistance = new MDRResistance(); KnownSpells = new List <MDRSpell>(); }
/** Creates a new item */ public MDRItem() { guildsMask = new BitArray(32); StatsReq = new MDRStats(); StatsMod = new MDRStats(); Abilities = new ItemAbilities(); Resistance = new MDRResistance(); }
public static MDRStats operator -(MDRStats s1, MDRStats s2) { MDRStats result = new MDRStats(); for (int lp = 0; lp < 6; lp++) { result[lp] = s1[lp] - s2[lp]; } return(result); }
/** Creates a new spell. */ public MDRSpell() { RequiredStats = new MDRStats(); }