mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
Removed some wrong import of Poison the Well and some minor changes.
This commit is contained in:
parent
8990163a7e
commit
cbfc32db3c
7 changed files with 18 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ package mage.filter.predicate;
|
|||
/**
|
||||
*
|
||||
* @author North
|
||||
* @param <T>
|
||||
*/
|
||||
public interface ObjectSourcePlayerPredicate<T extends ObjectSourcePlayer> extends ObjectPlayerPredicate<T> {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue