Exemple #1
0
 public static bool IsTargeted(this SpellDataTargetType type)
 {
     return(type.Equals(SpellDataTargetType.Unit) || type.Equals(SpellDataTargetType.SelfAndUnit));
 }
Exemple #2
0
 public static bool IsSkillShot(this SpellDataTargetType type)
 {
     return(type.Equals(SpellDataTargetType.Location) || type.Equals(SpellDataTargetType.Location2) ||
            type.Equals(SpellDataTargetType.LocationVector));
 }