From 7ee2c23addf107f4170fb6843f89bd1cb9b818e1 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 20 May 2017 09:55:54 +0200 Subject: [PATCH] * Crescendo of War - Fixed that all blocking creatures instead of only controlled creatures got the power boost (fixes #3399). --- Mage.Sets/src/mage/cards/c/CrescendoOfWar.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/CrescendoOfWar.java b/Mage.Sets/src/mage/cards/c/CrescendoOfWar.java index ea9061f8c4..d8c0c8a8a7 100644 --- a/Mage.Sets/src/mage/cards/c/CrescendoOfWar.java +++ b/Mage.Sets/src/mage/cards/c/CrescendoOfWar.java @@ -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 @@ -52,18 +52,18 @@ import java.util.UUID; public class CrescendoOfWar extends CardImpl { public CrescendoOfWar(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{3}{W}"); + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}"); // At the beginning of each upkeep, put a strife counter on Crescendo of War. this.addAbility(new BeginningOfUpkeepTriggeredAbility(new AddCountersSourceEffect(CounterType.STRIFE.createInstance(1), true), TargetController.ANY, false)); - + // Attacking creatures 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), - Duration.WhileOnBattlefield, new FilterAttackingCreature(), false))); - + 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), - Duration.WhileOnBattlefield, new FilterBlockingCreature(), false))); + this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(new CountersSourceCount(CounterType.STRIFE), new StaticValue(0), + Duration.WhileOnBattlefield, new FilterBlockingCreature(), false))); } public CrescendoOfWar(final CrescendoOfWar card) {