This commit is contained in:
Jeff 2019-01-11 08:21:25 -06:00
parent ac9a3f4a3d
commit a6721613fa

View file

@ -1,4 +1,3 @@
package mage.cards.t;
import java.util.UUID;
@ -68,6 +67,7 @@ class TormentOfHailfireEffect extends OneShotEffect {
if (permanents > 0 && opponent.chooseUse(outcome, "Sacrifices a nonland permanent? (Iteration " + i + " of " + repeat + ")",
"Otherwise you have to discard a card or lose 3 life.", "Sacrifice", "Discard or life loss", source, game)) {
Target target = new TargetPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_NON_LAND);
target.setNotTarget(true);
if (opponent.choose(outcome, target, source.getSourceId(), game)) {
Permanent permanent = game.getPermanent(target.getFirstTarget());
if (permanent != null) {