예제 #1
0
        public override void Apply(Strenght strenght)
        {
            _strenght = strenght;

            _powerIntegerIncrement = new IntegerIncrement(_power(OwningCard.Controller).GetValue(X));
            _powerIntegerIncrement.Initialize(ChangeTracker);
            _strenght.AddPowerModifier(_powerIntegerIncrement);

            _toughnessIntegerIncrement = new IntegerIncrement(_toughness(OwningCard.Controller).GetValue(X));
            _toughnessIntegerIncrement.Initialize(ChangeTracker);
            _strenght.AddToughnessModifier(_toughnessIntegerIncrement);
        }
 protected override void Initialize()
 {
     _strenghtModifier.Initialize(ChangeTracker);
     _strenghtModifier.Value = OwningCard.CountersCount(_counterType);
 }
예제 #3
0
 protected override void Initialize()
 {
     _integerIncrement.Initialize(ChangeTracker);
     _integerIncrement.Value = GetCreatureCount();
 }