diff --git a/Mage.Sets/src/mage/cards/b/BasandraBattleSeraph.java b/Mage.Sets/src/mage/cards/b/BasandraBattleSeraph.java index 9237e4c907..50a5762408 100644 --- a/Mage.Sets/src/mage/cards/b/BasandraBattleSeraph.java +++ b/Mage.Sets/src/mage/cards/b/BasandraBattleSeraph.java @@ -1,4 +1,3 @@ - package mage.cards.b; import java.util.UUID; @@ -10,8 +9,6 @@ import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.ContinuousRuleModifyingEffectImpl; import mage.abilities.effects.Effect; import mage.abilities.effects.common.combat.AttacksIfAbleTargetEffect; -import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; -import mage.abilities.keyword.AttacksThisTurnMarkerAbility; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; @@ -25,12 +22,12 @@ import mage.target.common.TargetCreaturePermanent; * @author jeffwadsworth */ public final class BasandraBattleSeraph extends CardImpl { - + public BasandraBattleSeraph(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}{W}"); + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{W}"); addSuperType(SuperType.LEGENDARY); this.subtype.add(SubType.ANGEL); - + this.power = new MageInt(4); this.toughness = new MageInt(4); @@ -44,16 +41,15 @@ public final class BasandraBattleSeraph extends CardImpl { Effect effect = new AttacksIfAbleTargetEffect(Duration.EndOfTurn); effect.setOutcome(Outcome.Detriment); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{R}")); - ability.addEffect(new GainAbilityTargetEffect(AttacksThisTurnMarkerAbility.getInstance(), Duration.EndOfTurn, null)); ability.addTarget(new TargetCreaturePermanent()); this.addAbility(ability); - + } - + public BasandraBattleSeraph(final BasandraBattleSeraph card) { super(card); } - + @Override public BasandraBattleSeraph copy() { return new BasandraBattleSeraph(this); @@ -61,31 +57,31 @@ public final class BasandraBattleSeraph extends CardImpl { } class BasandraBattleSeraphEffect extends ContinuousRuleModifyingEffectImpl { - + public BasandraBattleSeraphEffect() { super(Duration.EndOfTurn, Outcome.Neutral); staticText = "Players can't cast spells during combat"; } - + public BasandraBattleSeraphEffect(final BasandraBattleSeraphEffect effect) { super(effect); } - + @Override public BasandraBattleSeraphEffect copy() { return new BasandraBattleSeraphEffect(this); } - + @Override public boolean apply(Game game, Ability source) { return true; } - + @Override public boolean checksEventType(GameEvent event, Game game) { return event.getType() == GameEvent.EventType.CAST_SPELL; } - + @Override public boolean applies(GameEvent event, Ability source, Game game) { if (game.getPhase().getType() == TurnPhase.COMBAT) {