[ZNR] fixed cost reduction placement on a few cards (#7044)

This commit is contained in:
Evan Kranzler 2020-09-21 17:48:37 -04:00
parent 517b78e226
commit 0746f2ddd4
4 changed files with 8 additions and 9 deletions

View file

@ -27,7 +27,7 @@ public final class CovetedPrize extends CardImpl {
// This spell costs {1} less to cast for each creature in your party.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionForEachSourceEffect(1, PartyCount.instance)
).addHint(PartyCountHint.instance));
).addHint(PartyCountHint.instance).setRuleAtTheTop(true));
// Search your library for a card, put it into your hand, then shuffle your library. If you have a full party, you may cast a spell with converted mana cost 4 or less from your hand without paying its mana cost.
this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary()));

View file

@ -1,7 +1,5 @@
package mage.cards.d;
import java.util.UUID;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.PartyCount;
import mage.abilities.effects.common.DestroyTargetEffect;
@ -13,6 +11,8 @@ import mage.constants.CardType;
import mage.constants.Zone;
import mage.target.common.TargetCreatureOrPlaneswalker;
import java.util.UUID;
/**
* @author TheElk801
*/
@ -24,7 +24,7 @@ public final class DeadlyAlliance extends CardImpl {
// This spell costs {1} less to cast for each creature in your party.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionForEachSourceEffect(1, PartyCount.instance)
).addHint(PartyCountHint.instance));
).addHint(PartyCountHint.instance).setRuleAtTheTop(true));
// Destroy target creature or planeswalker.
this.getSpellAbility().addEffect(new DestroyTargetEffect());

View file

@ -1,19 +1,18 @@
package mage.cards.s;
import java.util.UUID;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.PartyCount;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.cost.SpellCostReductionForEachSourceEffect;
import mage.abilities.hint.ValueHint;
import mage.abilities.hint.common.PartyCountHint;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Zone;
import java.util.UUID;
/**
* @author TheElk801
*/
@ -25,7 +24,7 @@ public final class SpoilsOfAdventure extends CardImpl {
// This spell costs {1} less to cast for each creature in your party.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionForEachSourceEffect(1, PartyCount.instance)
).addHint(PartyCountHint.instance));
).addHint(PartyCountHint.instance).setRuleAtTheTop(true));
// You gain 3 life and draw three cards.
this.getSpellAbility().addEffect(new GainLifeEffect(3));

View file

@ -30,7 +30,7 @@ public final class ThwartTheGrave extends CardImpl {
// This spell costs {1} less to cast for each creature in your party.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionForEachSourceEffect(1, PartyCount.instance)
).addHint(PartyCountHint.instance));
).addHint(PartyCountHint.instance).setRuleAtTheTop(true));
// Return target creature card and up to one target Cleric, Rogue, Warrior, or Wizard creature card from your graveyard to the battlefield.
this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect().setText("Return target creature card and up to one target Cleric, Rogue, Warrior, or Wizard creature card from your graveyard to the battlefield."));