This commit is contained in:
Evan Kranzler 2017-08-23 21:55:53 -04:00
parent 255b81f143
commit 514993bd0f

View file

@ -57,7 +57,7 @@ import mage.target.targetpointer.FixedTarget;
public class ShireiShizosCaretaker extends CardImpl {
public ShireiShizosCaretaker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{B}");
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
addSuperType(SuperType.LEGENDARY);
this.subtype.add("Spirit");
@ -151,7 +151,7 @@ class ShireiShizosCaretakerEffect extends OneShotEffect {
Effect effect = new ShireiShizosCaretakerReturnEffect(shireiId);
effect.setText("return that card to the battlefield if {this} is still on the battlefield");
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
delayedAbility.getEffects().get(0).setTargetPointer(new FixedTarget(card.getId()));
delayedAbility.getEffects().get(0).setTargetPointer(new FixedTarget(card.getId(), card.getZoneChangeCounter(game)));
game.addDelayedTriggeredAbility(delayedAbility, source);
return true;
}