Implemented Heroes of the Revel

This commit is contained in:
Evan Kranzler 2020-01-09 08:51:42 -05:00
parent e8adca4bcd
commit 991200256a
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.h;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.keyword.HeroicAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.game.permanent.token.SatyrCantBlockToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class HeroesOfTheRevel extends CardImpl {
public HeroesOfTheRevel(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}");
this.subtype.add(SubType.SATYR);
this.subtype.add(SubType.SOLDIER);
// When Heroes of the Revel enters the battlefield, create a 1/1 red Satyr creature token with "This creature can't block."
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new SatyrCantBlockToken())));
// Whenever you cast a spell that targets Heroes of the Revel, creatures you control get +1/+0 until end of turn.
this.addAbility(new HeroicAbility(
new BoostControlledEffect(1, 0, Duration.EndOfTurn), false, false
));
}
private HeroesOfTheRevel(final HeroesOfTheRevel card) {
super(card);
}
@Override
public HeroesOfTheRevel copy() {
return new HeroesOfTheRevel(this);
}
}

View file

@ -82,6 +82,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
cards.add(new SetCardInfo("Heliod, Sun-Crowned", 18, Rarity.MYTHIC, mage.cards.h.HeliodSunCrowned.class));
cards.add(new SetCardInfo("Hero of the Pride", 22, Rarity.COMMON, mage.cards.h.HeroOfThePride.class));
cards.add(new SetCardInfo("Hero of the Winds", 23, Rarity.UNCOMMON, mage.cards.h.HeroOfTheWinds.class));
cards.add(new SetCardInfo("Heroes of the Revel", 138, Rarity.UNCOMMON, mage.cards.h.HeroesOfTheRevel.class));
cards.add(new SetCardInfo("Ichthyomorphosis", 51, Rarity.COMMON, mage.cards.i.Ichthyomorphosis.class));
cards.add(new SetCardInfo("Idyllic Tutor", 24, Rarity.RARE, mage.cards.i.IdyllicTutor.class));
cards.add(new SetCardInfo("Indomitable Will", 25, Rarity.COMMON, mage.cards.i.IndomitableWill.class));