From b011ddf94226808fe761de2d27313007d9054eb9 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Thu, 9 Jan 2020 08:37:53 +0400 Subject: [PATCH] fixed Whirlwind Denial (removed unnecessary pay dialogs) --- Mage.Sets/src/mage/cards/w/WhirlwindDenial.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/w/WhirlwindDenial.java b/Mage.Sets/src/mage/cards/w/WhirlwindDenial.java index 0f70053900..0ac1faf73a 100644 --- a/Mage.Sets/src/mage/cards/w/WhirlwindDenial.java +++ b/Mage.Sets/src/mage/cards/w/WhirlwindDenial.java @@ -67,7 +67,8 @@ class WhirlwindDenialEffect extends OneShotEffect { return; } Cost cost = new GenericManaCost(4); - if (player.chooseUse(outcome, "Pay {4} to prevent " + stackObject.getIdName() + " from being countered?", source, game) + if (cost.canPay(source, source.getSourceId(), source.getControllerId(), game) + && player.chooseUse(outcome, "Pay {4} to prevent " + stackObject.getIdName() + " from being countered?", source, game) && cost.pay(source, game, source.getSourceId(), source.getControllerId(), false)) { return; }