コード例 #1
0
 public override float Score(PlayerTargetContext c)
 {
     if (!IsAtLocationPlayerTargeting.Test(c, this.Location))
     {
         return(0f);
     }
     return(this.score);
 }
コード例 #2
0
 public virtual float Score(PlayerTargetContext c)
 {
     if (!IsAtLocationPlayerTargeting.Test(c, this.Location))
     {
         return(0.0f);
     }
     return((float)this.score);
 }