public override float Score(PlayerTargetContext c) { if (!IsAtLocationPlayerTargeting.Test(c, this.Location)) { return(0f); } return(this.score); }
public virtual float Score(PlayerTargetContext c) { if (!IsAtLocationPlayerTargeting.Test(c, this.Location)) { return(0.0f); } return((float)this.score); }