mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
fixed some cost reduction effects not working
This commit is contained in:
parent
b6352953a8
commit
5b30ec4804
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ public final class DaybreakChimera extends CardImpl {
|
|||
this.toughness = new MageInt(3);
|
||||
|
||||
// This spell costs {X} less to cast, where X is your devotion to white.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.STACK, new DaybreakChimeraEffect()).addHint(DevotionCount.W.getHint()));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new DaybreakChimeraEffect()).addHint(DevotionCount.W.getHint()));
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
|
|
@ -24,7 +24,7 @@ public final class DragToTheUnderworld extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}{B}");
|
||||
|
||||
// This spell costs {X} less to cast, where X is your devotion to black.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.STACK, new DragToTheUnderworldEffect())
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new DragToTheUnderworldEffect())
|
||||
.addHint(DevotionCount.B.getHint())
|
||||
.setRuleAtTheTop(true));
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class HourOfRevelation extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}{W}");
|
||||
|
||||
// Hour of Revelation costs {3} less to cast if there are ten or more nonland permanents on the battlefield.
|
||||
SimpleStaticAbility ability = new SimpleStaticAbility(Zone.STACK,
|
||||
SimpleStaticAbility ability = new SimpleStaticAbility(Zone.ALL,
|
||||
new SpellCostReductionSourceEffect(3, new PermanentsOnTheBattlefieldCondition(
|
||||
new FilterNonlandPermanent("there are ten or more nonland permanents on the battlefield"), ComparisonType.MORE_THAN, 9, false)));
|
||||
ability.setRuleAtTheTop(true);
|
||||
|
|
Loading…
Reference in a new issue