diff --git a/Mage.Sets/src/mage/sets/innistrad/GeistOfSaintTraft.java b/Mage.Sets/src/mage/sets/innistrad/GeistOfSaintTraft.java index e79c91e045..bb6e0f9f0b 100644 --- a/Mage.Sets/src/mage/sets/innistrad/GeistOfSaintTraft.java +++ b/Mage.Sets/src/mage/sets/innistrad/GeistOfSaintTraft.java @@ -94,10 +94,7 @@ class GeistOfSaintTraftEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { AngelToken token = new AngelToken(); Player controller = game.getPlayer(source.getControllerId()); - if (controller != null && token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId())) { - Permanent p = game.getPermanent(token.getLastAddedToken()); - p.setTapped(true); - game.getCombat().addAttackingCreature(p.getId(), game); + if (controller != null && token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId(), true, true)) { Effect effect = new ExileTargetEffect(); effect.setTargetPointer(new FixedTarget(token.getLastAddedToken())); CreateDelayedTriggeredAbilityEffect createEffect = new CreateDelayedTriggeredAbilityEffect(new AtTheEndOfCombatDelayedTriggeredAbility(effect)); diff --git a/Mage.Sets/src/mage/sets/innistrad/KessigCagebreakers.java b/Mage.Sets/src/mage/sets/innistrad/KessigCagebreakers.java index b9961aa668..2215acd1d3 100644 --- a/Mage.Sets/src/mage/sets/innistrad/KessigCagebreakers.java +++ b/Mage.Sets/src/mage/sets/innistrad/KessigCagebreakers.java @@ -95,10 +95,7 @@ class KessigCagebreakersEffect extends OneShotEffect { WolfToken token = new WolfToken(); int count = player.getGraveyard().count(new FilterCreatureCard(), game); for (int i = 0; i < count; i++) { - token.putOntoBattlefield(1, game, source.getId(), source.getControllerId()); - Permanent permanent = game.getPermanent(token.getLastAddedToken()); - permanent.setTapped(true); - game.getCombat().addAttackingCreature(permanent.getId(), game); + token.putOntoBattlefield(1, game, source.getId(), source.getControllerId(), true, true); } return true; } diff --git a/Mage.Sets/src/mage/sets/morningtide/PreeminentCaptain.java b/Mage.Sets/src/mage/sets/morningtide/PreeminentCaptain.java index 5bdb625509..1ee56c1978 100644 --- a/Mage.Sets/src/mage/sets/morningtide/PreeminentCaptain.java +++ b/Mage.Sets/src/mage/sets/morningtide/PreeminentCaptain.java @@ -105,9 +105,8 @@ class PreeminentCaptainEffect extends OneShotEffect { UUID cardId = target.getFirstTarget(); Card card = player.getHand().get(cardId, game); if (card != null) { - if (card.putOntoBattlefield(game, Zone.HAND, source.getId(), source.getControllerId())) { + if (card.putOntoBattlefield(game, Zone.HAND, source.getId(), source.getControllerId(), true)) { Permanent permanent = game.getPermanent(card.getId()); - permanent.setTapped(true); game.getCombat().addAttackingCreature(permanent.getId(), game); } } diff --git a/Mage/src/mage/abilities/keyword/NinjutsuAbility.java b/Mage/src/mage/abilities/keyword/NinjutsuAbility.java index 5972cd091a..9faff67c3a 100644 --- a/Mage/src/mage/abilities/keyword/NinjutsuAbility.java +++ b/Mage/src/mage/abilities/keyword/NinjutsuAbility.java @@ -66,7 +66,6 @@ import mage.target.common.TargetControlledPermanent; * put onto the battlefield unblocked. It will be attacking the same player or * planeswalker as the creature that was returned to its owner's hand. * - * @param cost ninjutsu mana cost * * @author LevelX2 */ @@ -78,6 +77,10 @@ public class NinjutsuAbility extends ActivatedAbilityImpl { filter.add(new UnblockedPredicate()); } + /** + * + * @param manaCost ninjutsu mana cost + */ public NinjutsuAbility(ManaCost manaCost) { super(Zone.HAND,new NinjutsuEffect(), manaCost); this.addCost(new RevealNinjutsuCardCost()); @@ -95,7 +98,9 @@ public class NinjutsuAbility extends ActivatedAbilityImpl { @Override public String getRule() { - return "Ninjutsu " + getManaCostsToPay().getText()+ " (" + getManaCostsToPay().getText() +" Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)"; + return new StringBuilder("Ninjutsu ").append(getManaCostsToPay().getText()).append(" (") + .append(getManaCostsToPay().getText()) + .append(" Return an unblocked attacker you control to hand: Put this card onto the battlefield from your hand tapped and attacking.)").toString(); } }