[DMC] Implemented Rosnakht, Heir of Rohgahh

This commit is contained in:
Evan Kranzler 2022-08-30 21:47:10 -04:00
parent 4add6c9777
commit 6464b84c3f
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.r;
import mage.MageInt;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.BattleCryAbility;
import mage.abilities.keyword.HeroicAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.game.permanent.token.KherKeepKoboldToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RosnakhtHeirOfRohgahh extends CardImpl {
public RosnakhtHeirOfRohgahh(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.KOBOLD);
this.subtype.add(SubType.WARRIOR);
this.power = new MageInt(0);
this.toughness = new MageInt(1);
// Battle cry
this.addAbility(new BattleCryAbility());
// Heroic -- Whenever you cast a spell that targets Rosnakht, Heir of Rohgahh, create a 0/1 red Kobold creature token named Kobolds of Kher Keep.
this.addAbility(new HeroicAbility(new CreateTokenEffect(new KherKeepKoboldToken())));
}
private RosnakhtHeirOfRohgahh(final RosnakhtHeirOfRohgahh card) {
super(card);
}
@Override
public RosnakhtHeirOfRohgahh copy() {
return new RosnakhtHeirOfRohgahh(this);
}
}

View file

@ -133,6 +133,7 @@ public final class DominariaUnitedCommander extends ExpansionSet {
cards.add(new SetCardInfo("Reliquary Tower", 227, Rarity.UNCOMMON, mage.cards.r.ReliquaryTower.class));
cards.add(new SetCardInfo("Rienne, Angel of Rebirth", 166, Rarity.MYTHIC, mage.cards.r.RienneAngelOfRebirth.class));
cards.add(new SetCardInfo("Rocky Tar Pit", 228, Rarity.UNCOMMON, mage.cards.r.RockyTarPit.class));
cards.add(new SetCardInfo("Rosnakht, Heir of Rohgahh", 25, Rarity.RARE, mage.cards.r.RosnakhtHeirOfRohgahh.class));
cards.add(new SetCardInfo("Sandsteppe Citadel", 229, Rarity.UNCOMMON, mage.cards.s.SandsteppeCitadel.class));
cards.add(new SetCardInfo("Savage Lands", 230, Rarity.UNCOMMON, mage.cards.s.SavageLands.class));
cards.add(new SetCardInfo("Search for Tomorrow", 137, Rarity.COMMON, mage.cards.s.SearchForTomorrow.class));