mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fix inverted Yawgmoth Demon trigger, fixes #1918
This commit is contained in:
parent
998b40d9cd
commit
091bd62627
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue