Example #1
0
 public override bool Accept(int spellInstanceId, SpellDefinition spellDef)
 {
     return(ListComparisonUtility.ValidateCondition(spellDef.tags, m_comparison, m_spellTags));
 }
 public static bool ValidateCondition(IEntity entity, ListComparison comparison, List <PropertyId> properties)
 {
     return(ListComparisonUtility.ValidateCondition(entity.properties, comparison, properties));
 }