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); } }
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) { }
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) { }