* Obscuring Aether - Fixed a problem that face down creatures had P/T = 0/0.

This commit is contained in:
LevelX2 2016-11-20 10:13:04 +01:00
parent d3e6ae6bcd
commit da7982ff2e
2 changed files with 4 additions and 4 deletions

View file

@ -55,14 +55,14 @@ public class ObscuringAether extends CardImpl {
}
public ObscuringAether(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{G}");
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{G}");
// Face-down creature spells you cast cost {1} less to cast.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpellsCostReductionControllerEffect(filter, 1)));
// {1}{G}: Turn Obscuring Aether face down.
Effect effect = new BecomesFaceDownCreatureEffect(Duration.Custom, BecomesFaceDownCreatureEffect.FaceDownType.MANUAL);
effect.setText("Turn Obscuring Aether face down. <i>(It becomes a 2/2 creature.)</i>");
effect.setText("Turn {this} face down. <i>(It becomes a 2/2 creature.)</i>");
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{1}{G}")));
}

View file

@ -196,8 +196,8 @@ public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl implemen
break;
case PTChangingEffects_7:
if (sublayer == SubLayer.SetPT_7b) {
// permanent.getPower().setValue(2);
// permanent.getToughness().setValue(2);
permanent.getPower().setValue(2);
permanent.getToughness().setValue(2);
}
}
} else if (duration.equals(Duration.Custom) && foundPermanent == true) {