fixed battlebond land implementation

This commit is contained in:
Evan Kranzler 2018-05-18 12:04:24 -04:00
parent 54bd43b4f6
commit 082adcfc75
6 changed files with 15 additions and 15 deletions

View file

@ -29,7 +29,7 @@ package mage.cards.b;
import java.util.UUID;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.TwoOrMoreOpponentsCondition;
import mage.abilities.condition.common.OneOpponentCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.TapSourceEffect;
import mage.abilities.mana.GreenManaAbility;
@ -51,7 +51,7 @@ public class BountifulPromenade extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new TapSourceEffect(),
TwoOrMoreOpponentsCondition.instance,
OneOpponentCondition.instance,
"tapped unless you have two or more opponents"
), "tapped unless you have two or more opponents"
));

View file

@ -29,7 +29,7 @@ package mage.cards.l;
import java.util.UUID;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.TwoOrMoreOpponentsCondition;
import mage.abilities.condition.common.OneOpponentCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.TapSourceEffect;
import mage.abilities.mana.BlackManaAbility;
@ -51,7 +51,7 @@ public class LuxurySuite extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new TapSourceEffect(),
TwoOrMoreOpponentsCondition.instance,
OneOpponentCondition.instance,
"tapped unless you have two or more opponents"
), "tapped unless you have two or more opponents"
));

View file

@ -29,7 +29,7 @@ package mage.cards.m;
import java.util.UUID;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.TwoOrMoreOpponentsCondition;
import mage.abilities.condition.common.OneOpponentCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.TapSourceEffect;
import mage.abilities.mana.BlackManaAbility;
@ -51,7 +51,7 @@ public class MorphicPool extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new TapSourceEffect(),
TwoOrMoreOpponentsCondition.instance,
OneOpponentCondition.instance,
"tapped unless you have two or more opponents"
), "tapped unless you have two or more opponents"
));

View file

@ -29,7 +29,7 @@ package mage.cards.s;
import java.util.UUID;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.TwoOrMoreOpponentsCondition;
import mage.abilities.condition.common.OneOpponentCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.TapSourceEffect;
import mage.abilities.mana.BlueManaAbility;
@ -51,7 +51,7 @@ public class SeaOfClouds extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new TapSourceEffect(),
TwoOrMoreOpponentsCondition.instance,
OneOpponentCondition.instance,
"tapped unless you have two or more opponents"
), "tapped unless you have two or more opponents"
));

View file

@ -29,7 +29,7 @@ package mage.cards.s;
import java.util.UUID;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.TwoOrMoreOpponentsCondition;
import mage.abilities.condition.common.OneOpponentCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.TapSourceEffect;
import mage.abilities.mana.GreenManaAbility;
@ -51,7 +51,7 @@ public class SpireGarden extends CardImpl {
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new TapSourceEffect(),
TwoOrMoreOpponentsCondition.instance,
OneOpponentCondition.instance,
"tapped unless you have two or more opponents"
), "tapped unless you have two or more opponents"
));

View file

@ -36,9 +36,9 @@ import java.util.UUID;
/**
*
* @author fireshoes
* @author TheElk801
*/
public enum TwoOrMoreOpponentsCondition implements Condition {
public enum OneOpponentCondition implements Condition {
instance;
@ -52,16 +52,16 @@ public enum TwoOrMoreOpponentsCondition implements Condition {
if (opponent != null) {
opponentCount++;
if (opponentCount > 1) {
return true;
return false;
}
}
}
}
return false;
return true;
}
@Override
public String toString() {
return "you have two or more opponents";
return "you have one opponent";
}
}