Fixed cards that need lockedInCondtion when cast bad had not. Fixes Issue #127.

This commit is contained in:
LevelX2 2013-02-07 23:33:00 +01:00
parent ce151982b6
commit 67553c8af6
4 changed files with 5 additions and 4 deletions

View file

@ -57,7 +57,7 @@ public class BreakOfDay extends CardImpl<BreakOfDay> {
this.getSpellAbility().addEffect(new ConditionalContinousEffect(
new IndestructibleAllEffect(new FilterControlledCreaturePermanent("creatures you control"), Duration.EndOfTurn),
FatefulHourCondition.getInstance(),
"If you have 5 or less life, those creatures also are indestructible this turn."));
"If you have 5 or less life, those creatures also are indestructible this turn.", true));
}
public BreakOfDay(final BreakOfDay card) {

View file

@ -55,7 +55,8 @@ public class TragicSlip extends CardImpl<TragicSlip> {
new BoostTargetEffect(-13, -13, Duration.EndOfTurn),
new BoostTargetEffect(-1, -1, Duration.EndOfTurn),
MorbidCondition.getInstance(),
"Target creature gets -1/-1 until end of turn. Morbid - That creature gets -13/-13 until end of turn instead if a creature died this turn"));
"Target creature gets -1/-1 until end of turn. Morbid - That creature gets -13/-13 until end of turn instead if a creature died this turn",
true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}

View file

@ -53,7 +53,7 @@ public class MirranMettle extends CardImpl<MirranMettle> {
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn), MetalcraftCondition.getInstance(), effectText));
this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(2, 2, Duration.EndOfTurn), MetalcraftCondition.getInstance(), effectText, true));
}
public MirranMettle(final MirranMettle card) {

View file

@ -53,7 +53,7 @@ public class TombHex extends CardImpl<TombHex> {
// Target creature gets -2/-2 until end of turn.
// Landfall - If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead.
this.addWatcher(new LandfallWatcher());
this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(-4, -4, Constants.Duration.EndOfTurn), new BoostTargetEffect(-2, -2, Constants.Duration.EndOfTurn), LandfallCondition.getInstance(), "Target creature gets -2/-2 until end of turn. Landfall - If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead"));
this.getSpellAbility().addEffect(new ConditionalContinousEffect(new BoostTargetEffect(-4, -4, Constants.Duration.EndOfTurn), new BoostTargetEffect(-2, -2, Constants.Duration.EndOfTurn), LandfallCondition.getInstance(), "Target creature gets -2/-2 until end of turn. Landfall - If you had a land enter the battlefield under your control this turn, that creature gets -4/-4 until end of turn instead", true));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}