public override IEnumerable <Thing> Targets(AbilityDef ability, Saveable_Caster pawn) { if (this.optionalSource == null) { return(GenAI.PawnTargetsFor(pawn.pawn.Faction).Cast <Thing>()); } else { return(this.Filter(ability, pawn)); } }
public override IEnumerable <Thing> Targets(AbilityDef ability, Saveable_Caster pawn) { if (this.optionalSource == null) { return(GenAI.PawnTargetsFor(pawn.pawn.Faction).Cast <Thing>()); } else { return(this.Filter(ability, pawn)); } }