mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
fixed bug #3768
This commit is contained in:
parent
255b81f143
commit
514993bd0f
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ import mage.target.targetpointer.FixedTarget;
|
||||||
public class ShireiShizosCaretaker extends CardImpl {
|
public class ShireiShizosCaretaker extends CardImpl {
|
||||||
|
|
||||||
public ShireiShizosCaretaker(UUID ownerId, CardSetInfo setInfo) {
|
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);
|
addSuperType(SuperType.LEGENDARY);
|
||||||
this.subtype.add("Spirit");
|
this.subtype.add("Spirit");
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ class ShireiShizosCaretakerEffect extends OneShotEffect {
|
||||||
Effect effect = new ShireiShizosCaretakerReturnEffect(shireiId);
|
Effect effect = new ShireiShizosCaretakerReturnEffect(shireiId);
|
||||||
effect.setText("return that card to the battlefield if {this} is still on the battlefield");
|
effect.setText("return that card to the battlefield if {this} is still on the battlefield");
|
||||||
DelayedTriggeredAbility delayedAbility = new AtTheBeginOfNextEndStepDelayedTriggeredAbility(effect);
|
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);
|
game.addDelayedTriggeredAbility(delayedAbility, source);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue