Xmage 1.4.24.V1

This commit is contained in:
LevelX2 2017-07-09 01:29:26 +02:00
parent da6a4bd614
commit 8e666c9403
3 changed files with 5 additions and 5 deletions

View file

@ -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);
}
}