Merge origin/master

This commit is contained in:
LevelX2 2018-04-19 23:23:46 +02:00
commit 160cd06743

View file

@ -7,6 +7,7 @@ import mage.abilities.condition.common.AnyPlayerControlsCondition;
import mage.abilities.condition.common.DefendingPlayerControlsCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.effects.common.continuous.BoostSourceWhileControlsEffect;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.abilities.keyword.HexproofFromBlackAbility;
@ -41,14 +42,10 @@ public class KnightOfGrace extends CardImpl {
//Knight of Grace gets +1/+0 as long as any player controls a black permanent.
addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinuousEffect(
new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield),
new BoostSourceEffect(1, 0, Duration.WhileOnBattlefield),
new AnyPlayerControlsCondition(filter),
"{this} gets +1/+0 as long as any player controls a black permanent.")));
}
public KnightOfGrace(final KnightOfGrace knightOfGrace){