* Mogis, God of Slaughter - fixed that it deals combat damage, fixed AI targeting;
@@ -82,9 +82,9 @@ class MogisGodOfSlaughterEffect extends OneShotEffect {
}
TargetPermanent target = new TargetControlledCreaturePermanent(1);
target.setNotTarget(true);
- if (!player.chooseUse(outcome, "Sacrifice a creature to prevent 2 damage?", source, game)
- || !player.choose(outcome, target, source.getSourceId(), game)) {
- return player.damage(2, source.getSourceId(), game) > 0;
+ if (!player.chooseUse(Outcome.Detriment, "Sacrifice a creature to prevent 2 damage?", source, game)
+ || !player.choose(Outcome.Sacrifice, target, source.getSourceId(), game)) {
+ return player.damage(2, source.getSourceId(), game, false, true) > 0;
}
Permanent permanent = game.getPermanent(target.getFirstTarget());
return permanent != null && permanent.sacrifice(source.getSourceId(), game);
