mirror of
https://github.com/magefree/mage.git
synced 2026-01-22 19:29:59 -08:00
Fixed a bug of Condescent (target was missing).
This commit is contained in:
parent
e979a44385
commit
bbf2af31de
2 changed files with 6 additions and 2 deletions
|
|
@ -79,8 +79,10 @@ public class CounterUnlessPaysEffect extends OneShotEffect<CounterUnlessPaysEffe
|
|||
if (spell != null) {
|
||||
Player player = game.getPlayer(spell.getControllerId());
|
||||
if (player != null) {
|
||||
Cost costToPay = cost.copy();
|
||||
if (cost == null) {
|
||||
Cost costToPay;
|
||||
if (cost != null) {
|
||||
costToPay = cost.copy();
|
||||
} else {
|
||||
costToPay = new GenericManaCost(genericMana.calculate(game, source));
|
||||
}
|
||||
costToPay.clearPaid();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue