* Grisly Spectacle - Fixed a bug that no card milling was done, if the target was not destroyed (e.g. regenerated).

This commit is contained in:
LevelX2 2013-06-17 13:51:20 +02:00
parent c6a283583a
commit 15784126a0

View file

@ -100,11 +100,11 @@ class GrislySpectacleEffect extends OneShotEffect<GrislySpectacleEffect> {
Player controller = game.getPlayer(creature.getControllerId());
if (controller != null) {
int power = creature.getPower().getValue();
if (creature.destroy(source.getSourceId(), game, false)) {
Effect effect = new PutLibraryIntoGraveTargetEffect(power);
effect.setTargetPointer(new FixedTarget(controller.getId()));
return effect.apply(game, source);
}
creature.destroy(source.getSourceId(), game, false);
// the mill effect works also if creature is indestructible or regenerated
Effect effect = new PutLibraryIntoGraveTargetEffect(power);
effect.setTargetPointer(new FixedTarget(controller.getId()));
return effect.apply(game, source);
}
}
return false;