[WHO] Implement All of History, All at Once

This commit is contained in:
theelk801 2023-10-15 20:19:48 -04:00
parent 2d3569f763
commit 41c7b45a9f
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
package mage.cards.a;
import mage.abilities.effects.common.counter.TimeTravelEffect;
import mage.abilities.keyword.StormAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AllOfHistoryAllAtOnce extends CardImpl {
public AllOfHistoryAllAtOnce(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}{U}");
// Time travel.
this.getSpellAbility().addEffect(new TimeTravelEffect());
// Storm
this.addAbility(new StormAbility());
}
private AllOfHistoryAllAtOnce(final AllOfHistoryAllAtOnce card) {
super(card);
}
@Override
public AllOfHistoryAllAtOnce copy() {
return new AllOfHistoryAllAtOnce(this);
}
}

View file

@ -21,6 +21,7 @@ public final class DoctorWho extends ExpansionSet {
cards.add(new SetCardInfo("Ace, Fearless Rebel", 98, Rarity.RARE, mage.cards.a.AceFearlessRebel.class));
cards.add(new SetCardInfo("Adric, Mathematical Genius", 33, Rarity.RARE, mage.cards.a.AdricMathematicalGenius.class));
cards.add(new SetCardInfo("Alistair, the Brigadier", 112, Rarity.RARE, mage.cards.a.AlistairTheBrigadier.class));
cards.add(new SetCardInfo("All of History, All at Once", 34, Rarity.RARE, mage.cards.a.AllOfHistoryAllAtOnce.class));
cards.add(new SetCardInfo("An Unearthly Child", 35, Rarity.RARE, mage.cards.a.AnUnearthlyChild.class));
cards.add(new SetCardInfo("Arcane Signet", 239, Rarity.COMMON, mage.cards.a.ArcaneSignet.class));
cards.add(new SetCardInfo("As Foretold", 214, Rarity.RARE, mage.cards.a.AsForetold.class));