mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[NEW] Added Breakthrough, Ill-Gotten Gains and Nether Void.
This commit is contained in:
parent
aacc73fd09
commit
7b9eb5516c
6 changed files with 397 additions and 2 deletions
|
|
@ -28,13 +28,13 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.constants.Outcome;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.game.stack.StackObject;
|
||||
import mage.players.Player;
|
||||
|
|
@ -87,7 +87,7 @@ public class CounterUnlessPaysEffect extends OneShotEffect {
|
|||
}
|
||||
costToPay.clearPaid();
|
||||
if (!costToPay.pay(source, game, spell.getSourceId(), spell.getControllerId(), false)) {
|
||||
return game.getStack().counter(source.getFirstTarget(), source.getSourceId(), game);
|
||||
return game.getStack().counter(spell.getId(), source.getSourceId(), game);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue