This commit is contained in:
xenohedron 2024-12-08 20:28:06 -05:00
parent 24687eb4af
commit e9b29f7776

View file

@ -68,7 +68,7 @@ class ComeBackWrongEffect extends OneShotEffect {
permanent.destroy(source, game); permanent.destroy(source, game);
// tokens are not creature cards // tokens are not creature cards
if (permanent instanceof PermanentToken) { if (permanent instanceof PermanentToken) {
return false; return true;
} }
Card card = permanent.getMainCard(); Card card = permanent.getMainCard();
if (card == null if (card == null
@ -78,11 +78,11 @@ class ComeBackWrongEffect extends OneShotEffect {
} }
Player player = game.getPlayer(source.getControllerId()); Player player = game.getPlayer(source.getControllerId());
if (player == null) { if (player == null) {
return false; return true;
} }
player.moveCards(card, Zone.BATTLEFIELD, source, game); player.moveCards(card, Zone.BATTLEFIELD, source, game);
Permanent creature = game.getPermanent(card.getId()); Permanent creature = game.getPermanent(card.getId());
if (permanent != null) { if (creature != null) {
game.addDelayedTriggeredAbility(new AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility( game.addDelayedTriggeredAbility(new AtTheBeginOfPlayersNextEndStepDelayedTriggeredAbility(
new SacrificeTargetEffect("sacrifice it") new SacrificeTargetEffect("sacrifice it")
.setTargetPointer(new FixedTarget(creature, game)), .setTargetPointer(new FixedTarget(creature, game)),