* Crescendo of War - Fixed that all blocking creatures instead of only controlled creatures got the power boost (fixes #3399).

This commit is contained in:
LevelX2 2017-05-20 09:55:54 +02:00
parent 8b353d1b62
commit 7ee2c23add

View file

@ -27,11 +27,13 @@
*/
package mage.cards.c;
import java.util.UUID;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.CountersSourceCount;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.abilities.effects.common.continuous.BoostAllEffect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -43,8 +45,6 @@ import mage.counters.CounterType;
import mage.filter.common.FilterAttackingCreature;
import mage.filter.common.FilterBlockingCreature;
import java.util.UUID;
/**
*
* @author fireshoes
@ -62,7 +62,7 @@ public class CrescendoOfWar extends CardImpl {
Duration.WhileOnBattlefield, new FilterAttackingCreature(), false)));
// Blocking creatures you control get +1/+0 for each strife counter on Crescendo of War.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostAllEffect(new CountersSourceCount(CounterType.STRIFE), new StaticValue(0),
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(new CountersSourceCount(CounterType.STRIFE), new StaticValue(0),
Duration.WhileOnBattlefield, new FilterBlockingCreature(), false)));
}