Exemple #1
0
 public override int CalculateToughnessReduction(Card card)
 {
     if (Target == card)
     {
         return(ToughnessReduction.GetValue(X));
     }
     return(0);
 }
        public override int CalculateToughnessReduction(Card card)
        {
            if ((Target == null || card.Controller == Target) && _selector(card, Ctx))
            {
                return(ToughnessReduction.GetValue(X));
            }

            return(0);
        }
        public override int CalculateToughnessReduction(Card card)
        {
            foreach (var target in ValidEffectTargets)
            {
                if (target == card)
                {
                    return(ToughnessReduction.GetValue(X));
                }
            }

            return(0);
        }
Exemple #4
0
 public override int CalculateToughnessReduction(Card card)
 {
     return(card == _card.Value ? ToughnessReduction.GetValue(X) : 0);
 }
Exemple #5
0
 public override int CalculateToughnessReduction(Card card)
 {
     return(card == Source.OwningCard ? ToughnessReduction.GetValue(X) : 0);
 }