Fix inverted Yawgmoth Demon trigger, fixes #1918

This commit is contained in:
Fenhl 2016-05-03 17:53:30 +00:00
parent 998b40d9cd
commit 091bd62627

View file

@ -100,7 +100,7 @@ class YawgmothDemonEffect extends OneShotEffect {
if (controller != null) {
int artifacts = game.getBattlefield().countAll(new FilterArtifactPermanent(), source.getControllerId(), game);
boolean artifactSacrificed = false;
if (artifacts < 1 || !controller.chooseUse(outcome, "Sacrifice an artifact?", source, game)) {
if (artifacts > 0 && controller.chooseUse(outcome, "Sacrifice an artifact?", source, game)) {
if (new SacrificeControllerEffect(new FilterArtifactPermanent(), 1, "").apply(game, source)) {
artifactSacrificed = true;
}