Removed some wrong import of Poison the Well and some minor changes.

This commit is contained in:
LevelX2 2015-01-20 14:00:56 +01:00
parent 8990163a7e
commit cbfc32db3c
7 changed files with 18 additions and 17 deletions

View file

@ -41,11 +41,13 @@ import mage.game.Game;
public class MyMainPhaseCondition implements Condition {
private static MyMainPhaseCondition fInstance = new MyMainPhaseCondition();
private static Set<TurnPhase> turnPhases = new HashSet<TurnPhase>() {{
private static final MyMainPhaseCondition fInstance = new MyMainPhaseCondition();
private static final Set<TurnPhase> turnPhases = new HashSet<TurnPhase>() {{
add(TurnPhase.PRECOMBAT_MAIN);
add(TurnPhase.POSTCOMBAT_MAIN);
}};
public static Condition getInstance() {
return fInstance;
}

View file

@ -113,9 +113,9 @@ public class ExileTargetEffect extends OneShotEffect {
return staticText;
}
if (mode.getTargets().isEmpty()) {
return "Exile it";
return "exile it";
} else {
return "Exile target " + mode.getTargets().get(0).getTargetName();
return "exile target " + mode.getTargets().get(0).getTargetName();
}
}
}

View file

@ -30,6 +30,7 @@ package mage.filter.predicate;
/**
*
* @author North
* @param <T>
*/
public interface ObjectSourcePlayerPredicate<T extends ObjectSourcePlayer> extends ObjectPlayerPredicate<T> {
}

View file

@ -159,7 +159,7 @@ public class Spell implements StackObject, Card {
}
public String getSpellCastText(Game game) {
for (Ability spellAbility : (Abilities<Ability>) getAbilities()) {
for (Ability spellAbility : getAbilities()) {
if (spellAbility instanceof MorphAbility
&& ((AlternativeSourceCosts) spellAbility).isActivated(getSpellAbility(), game)) {
return "a card face down";