mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 04:12:14 -08:00
Implemented Ruination Rioter
This commit is contained in:
parent
8e0200fd1e
commit
c750228b3a
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/r/RuinationRioter.java
Normal file
47
Mage.Sets/src/mage/cards/r/RuinationRioter.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RuinationRioter extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new CardsInControllerGraveyardCount(StaticFilters.FILTER_CARD_LAND);
|
||||
|
||||
public RuinationRioter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}{G}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.BERSERKER);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Ruination Rioter dies, you may have it deal damage to any target equal to the number of land cards in your graveyard.
|
||||
Ability ability = new DiesTriggeredAbility(
|
||||
new DamageTargetEffect(xValue).setText("you may have it deal damage to any target " +
|
||||
"equal to the number of land cards in your graveyard."), true
|
||||
);
|
||||
}
|
||||
|
||||
private RuinationRioter(final RuinationRioter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RuinationRioter copy() {
|
||||
return new RuinationRioter(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -119,6 +119,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ranger-Captain of Eos", 21, Rarity.MYTHIC, mage.cards.r.RangerCaptainOfEos.class));
|
||||
cards.add(new SetCardInfo("Ravenous Giant", 143, Rarity.UNCOMMON, mage.cards.r.RavenousGiant.class));
|
||||
cards.add(new SetCardInfo("Regrowth", 175, Rarity.UNCOMMON, mage.cards.r.Regrowth.class));
|
||||
cards.add(new SetCardInfo("Ruination Rioter", 213, Rarity.UNCOMMON, mage.cards.r.RuinationRioter.class));
|
||||
cards.add(new SetCardInfo("Savage Swipe", 178, Rarity.COMMON, mage.cards.s.SavageSwipe.class));
|
||||
cards.add(new SetCardInfo("Scale Up", 179, Rarity.UNCOMMON, mage.cards.s.ScaleUp.class));
|
||||
cards.add(new SetCardInfo("Scour All Possibilities", 67, Rarity.COMMON, mage.cards.s.ScourAllPossibilities.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue