mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[DMU] Implemented Fires of Victory
This commit is contained in:
parent
356091c750
commit
bd81a2e72f
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/f/FiresOfVictory.java
Normal file
47
Mage.Sets/src/mage/cards/f/FiresOfVictory.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.condition.common.KickedCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerHandCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.keyword.KickerAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class FiresOfVictory extends CardImpl {
|
||||
|
||||
public FiresOfVictory(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
||||
|
||||
// Kicker {2}{U}
|
||||
this.addAbility(new KickerAbility("{2}{U}"));
|
||||
|
||||
// If this spell was kicked, draw a card. Fires of Victory deals damage to target creature or planeswalker equal to the number of cards in your hand.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DrawCardSourceControllerEffect(1),
|
||||
KickedCondition.ONCE,
|
||||
"If this spell was kicked, draw a card."
|
||||
));
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(CardsInControllerHandCount.instance)
|
||||
.setText("{this} deals damage to target creature or planeswalker equal to the number of cards in your hand."));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
}
|
||||
|
||||
private FiresOfVictory(final FiresOfVictory card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FiresOfVictory copy() {
|
||||
return new FiresOfVictory(this);
|
||||
}
|
||||
}
|
|
@ -50,6 +50,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Cut Down", 89, Rarity.UNCOMMON, mage.cards.c.CutDown.class));
|
||||
cards.add(new SetCardInfo("Dragon Whelp", 120, Rarity.UNCOMMON, mage.cards.d.DragonWhelp.class));
|
||||
cards.add(new SetCardInfo("Evolved Sleeper", 93, Rarity.RARE, mage.cards.e.EvolvedSleeper.class));
|
||||
cards.add(new SetCardInfo("Fires of Victory", 123, Rarity.UNCOMMON, mage.cards.f.FiresOfVictory.class));
|
||||
cards.add(new SetCardInfo("Forest", 274, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Frostfist Strider", 51, Rarity.UNCOMMON, mage.cards.f.FrostfistStrider.class));
|
||||
cards.add(new SetCardInfo("Herd Migration", 165, Rarity.RARE, mage.cards.h.HerdMigration.class));
|
||||
|
|
Loading…
Reference in a new issue