Exemple #1
0
        public override void Apply(Counters counters)
        {
            _counters = counters;

            for (var i = 0; i < _count.GetValue(X); i++)
            {
                var counter = _counterFactory().Initialize(Game);
                counters.Add(counter);

                _addedCounters.Add(counter);
            }
        }
Exemple #2
0
 public ChangeToCreature(Value power, Value toughness, string type, IEnumerable <CardColor> colors = null) : this(
         m => power.GetValue(m.X), m => toughness.GetValue(m.X), m => type, colors)
 {
 }
Exemple #3
0
 public ChangeToCreature(Value power, Value toughness, Func <CardType, CardType> type, IEnumerable <CardColor> colors = null) : this(
         m => power.GetValue(m.X), m => toughness.GetValue(m.X), m => type(m.OwningCard.Type), colors)
 {
 }
 public ChangeToCreature(Value power, Value toughness, string type, IEnumerable<CardColor> colors = null)
     : this(m => power.GetValue(m.X), m => toughness.GetValue(m.X), m => type, colors)
 {
 }