mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 15:02:13 -08:00
Xmage 1.4.24.V1
This commit is contained in:
parent
da6a4bd614
commit
8e666c9403
3 changed files with 5 additions and 5 deletions
|
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.common.RevoltCondition;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
|
|
@ -40,8 +41,6 @@ import mage.players.Player;
|
|||
import mage.target.common.TargetCreaturePermanent;
|
||||
import mage.watchers.common.RevoltWatcher;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author emerald000
|
||||
|
|
@ -91,7 +90,8 @@ class FatalPushEffect extends OneShotEffect {
|
|||
Permanent targetCreature = game.getPermanent(this.getTargetPointer().getFirst(game, source));
|
||||
if (targetCreature != null) {
|
||||
int cmc = targetCreature.getConvertedManaCost();
|
||||
if (cmc <= 2 || (RevoltCondition.instance.apply(game, source) && cmc <= 4)) {
|
||||
if (cmc <= 2
|
||||
|| (RevoltCondition.instance.apply(game, source) && cmc <= 4)) {
|
||||
targetCreature.destroy(source.getSourceId(), game, false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue