Esempio n. 1
0
 public bool MatchesSpell(Spell spell)
 {
     if (spell.SpellClassSet == Spell.SpellClassSet && spell.MatchesMask(AffectMask))
     {
         return(true);
     }
     if (AffectSpellSet != null)
     {
         return(AffectSpellSet.Contains(spell));
     }
     return(false);
 }
Esempio n. 2
0
		public bool MatchesSpell(Spell spell)
		{
			return (spell.SpellClassSet == Spell.SpellClassSet && spell.MatchesMask(AffectMask)) ||
				(AffectSpellSet != null && AffectSpellSet.Contains(spell));
		}
Esempio n. 3
0
 public bool MatchesSpell(Spell spell)
 {
     return((spell.SpellClassSet == Spell.SpellClassSet && spell.MatchesMask(AffectMask)) ||
            (AffectSpellSet != null && AffectSpellSet.Contains(spell)));
 }