mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Obscuring Aether - Fixed a problem that face down creatures had P/T = 0/0.
This commit is contained in:
parent
d3e6ae6bcd
commit
da7982ff2e
2 changed files with 4 additions and 4 deletions
|
@ -55,14 +55,14 @@ public class ObscuringAether extends CardImpl {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObscuringAether(UUID ownerId, CardSetInfo setInfo) {
|
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.
|
// Face-down creature spells you cast cost {1} less to cast.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpellsCostReductionControllerEffect(filter, 1)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpellsCostReductionControllerEffect(filter, 1)));
|
||||||
|
|
||||||
// {1}{G}: Turn Obscuring Aether face down.
|
// {1}{G}: Turn Obscuring Aether face down.
|
||||||
Effect effect = new BecomesFaceDownCreatureEffect(Duration.Custom, BecomesFaceDownCreatureEffect.FaceDownType.MANUAL);
|
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}")));
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{1}{G}")));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -196,8 +196,8 @@ public class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl implemen
|
||||||
break;
|
break;
|
||||||
case PTChangingEffects_7:
|
case PTChangingEffects_7:
|
||||||
if (sublayer == SubLayer.SetPT_7b) {
|
if (sublayer == SubLayer.SetPT_7b) {
|
||||||
// permanent.getPower().setValue(2);
|
permanent.getPower().setValue(2);
|
||||||
// permanent.getToughness().setValue(2);
|
permanent.getToughness().setValue(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (duration.equals(Duration.Custom) && foundPermanent == true) {
|
} else if (duration.equals(Duration.Custom) && foundPermanent == true) {
|
||||||
|
|
Loading…
Reference in a new issue