From 19714312cdbffe3d1fe1fa1bcdb8d18cd94e96a3 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 1 Oct 2013 14:39:38 +0200 Subject: [PATCH] Minor formatting. --- Mage.Sets/src/mage/sets/innistrad/PastInFlames.java | 6 ++++-- Mage.Sets/src/mage/sets/innistrad/SnapcasterMage.java | 6 ++++-- Mage/src/mage/game/turn/FirstCombatDamageStep.java | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Mage.Sets/src/mage/sets/innistrad/PastInFlames.java b/Mage.Sets/src/mage/sets/innistrad/PastInFlames.java index 319fb03772..d824100a60 100644 --- a/Mage.Sets/src/mage/sets/innistrad/PastInFlames.java +++ b/Mage.Sets/src/mage/sets/innistrad/PastInFlames.java @@ -114,10 +114,12 @@ class PastInFlamesEffect extends ContinuousEffectImpl { if (objects.contains(cardId)) { Card card = game.getCard(cardId); FlashbackAbility ability = null; - if (card.getCardType().contains(CardType.INSTANT)) + if (card.getCardType().contains(CardType.INSTANT)) { ability = new FlashbackAbility(card.getManaCost(), TimingRule.INSTANT); - else if (card.getCardType().contains(CardType.SORCERY)) + } + else if (card.getCardType().contains(CardType.SORCERY)) { ability = new FlashbackAbility(card.getManaCost(), TimingRule.SORCERY); + } if (ability != null) { ability.setSourceId(cardId); ability.setControllerId(card.getOwnerId()); diff --git a/Mage.Sets/src/mage/sets/innistrad/SnapcasterMage.java b/Mage.Sets/src/mage/sets/innistrad/SnapcasterMage.java index 40b29b2935..38a5899e28 100644 --- a/Mage.Sets/src/mage/sets/innistrad/SnapcasterMage.java +++ b/Mage.Sets/src/mage/sets/innistrad/SnapcasterMage.java @@ -122,10 +122,12 @@ class SnapcasterMageEffect extends ContinuousEffectImpl { MageObject sourceObject = game.getObject(source.getSourceId()); if (card != null && sourceObject != null) { FlashbackAbility ability; - if (card.getCardType().contains(CardType.INSTANT)) + if (card.getCardType().contains(CardType.INSTANT)) { ability = new FlashbackAbility(card.getManaCost(), TimingRule.INSTANT); - else + } + else { ability = new FlashbackAbility(card.getManaCost(), TimingRule.SORCERY); + } ability.setSourceId(card.getId()); ability.setControllerId(card.getOwnerId()); game.getState().addOtherAbility(card.getId(), ability); diff --git a/Mage/src/mage/game/turn/FirstCombatDamageStep.java b/Mage/src/mage/game/turn/FirstCombatDamageStep.java index 71abdc9457..8cd5959e67 100644 --- a/Mage/src/mage/game/turn/FirstCombatDamageStep.java +++ b/Mage/src/mage/game/turn/FirstCombatDamageStep.java @@ -53,10 +53,12 @@ public class FirstCombatDamageStep extends Step { @Override public boolean skipStep(Game game, UUID activePlayerId) { - if (game.getCombat().noAttackers()) + if (game.getCombat().noAttackers()) { return true; - if (!game.getCombat().hasFirstOrDoubleStrike(game)) + } + if (!game.getCombat().hasFirstOrDoubleStrike(game)) { return true; + } return super.skipStep(game, activePlayerId); }