public BreathOfMalfegor(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{B}{R}"); // Breath of Malfegor deals 5 damage to each opponent. this.getSpellAbility().addEffect(new DamagePlayersEffect(5, TargetController.OPPONENT)); }
public Sizzle(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{R}"); // Sizzle deals 3 damage to each opponent. this.getSpellAbility().addEffect(new DamagePlayersEffect(3, TargetController.OPPONENT)); }
public FlameRift(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{1}{R}"); // Flame Rift deals 4 damage to each player. this.getSpellAbility().addEffect(new DamagePlayersEffect(4, TargetController.ANY)); }
public OgrePainbringer(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}"); this.subtype.add(SubType.OGRE); this.power = new MageInt(7); this.toughness = new MageInt(3); // When Ogre Painbringer enters the battlefield, it deals 3 damage to each player. this.addAbility(new EntersBattlefieldTriggeredAbility(new DamagePlayersEffect(3, TargetController.ANY, "it"))); }
public TunnelingGeopede(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}"); this.subtype.add(SubType.INSECT); this.power = new MageInt(3); this.toughness = new MageInt(2); // <i>Landfall</i> — Whenever a land enters the battlefield under your control, Tunneling Geopede deals 1 damage to each opponent. this.addAbility(new LandfallAbility(new DamagePlayersEffect(1, TargetController.OPPONENT), false)); }
public SpiresideInfiltrator(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.ROGUE); this.power = new MageInt(3); this.toughness = new MageInt(2); // Whenever Spireside Infiltrator becomes tapped, it deals one damage to each opponent. this.addAbility(new BecomesTappedSourceTriggeredAbility(new DamagePlayersEffect(1, TargetController.OPPONENT, "it"))); }
public FirebrandArcher(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.ARCHER); this.power = new MageInt(2); this.toughness = new MageInt(1); // Whenever you cast a noncreature spell, Firebrand Archer deals 1 damage to each opponent. addAbility(new SpellCastControllerTriggeredAbility(new DamagePlayersEffect(1, TargetController.OPPONENT), filter, false)); }
public WelderAutomaton(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}"); this.subtype.add(SubType.CONSTRUCT); this.power = new MageInt(2); this.toughness = new MageInt(1); // {3}{R}: Welder Automaton deals 1 damage to each opponent. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), new ManaCostsImpl("{3}{R}"))); }
public WhisperingSnitchTriggeredAbility() { super(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), false); this.addEffect(new GainLifeEffect(1)); this.addWatcher(new WhisperingSnitchWatcher()); }
public ShivanGorge(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.LAND},""); addSuperType(SuperType.LEGENDARY); // {tap}: Add {C}. this.addAbility(new ColorlessManaAbility()); // {2}{R}, {tap}: Shivan Gorge deals 1 damage to each opponent. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), new ManaCostsImpl("{2}{R}")); ability.addCost(new TapSourceCost()); this.addAbility(ability); }
public SpearSpewer(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{R}"); this.subtype.add(SubType.GOBLIN); this.subtype.add(SubType.WARRIOR); this.power = new MageInt(0); this.toughness = new MageInt(2); // Defender this.addAbility(DefenderAbility.getInstance()); // {T}: Spear Spewer deals 1 damage to each player. this.addAbility(new SimpleActivatedAbility(new DamagePlayersEffect(1), new TapSourceCost())); }
public CracklingDoom(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}{W}{B}"); // Crackling Doom deals 2 damage to each opponent. Each opponent sacrifices a creature with the greatest power among creatures he or she controls. this.getSpellAbility().addEffect(new DamagePlayersEffect(2, TargetController.OPPONENT)); this.getSpellAbility().addEffect(new CracklingDoomEffect()); }
public RumblingSlum(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{R}{G}{G}"); this.subtype.add(SubType.ELEMENTAL); this.power = new MageInt(5); this.toughness = new MageInt(5); // At the beginning of your upkeep, Rumbling Slum deals 1 damage to each player. Effect effect = new DamagePlayersEffect(1, TargetController.ANY); effect.setText("{this} deals 1 damage to each player"); this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, effect, TargetController.YOU, false)); }
HallarTheFirefletcherTriggeredAbility() { super(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()).setText("put a +1/+1 counter on {this}"), true); this.addEffect(new DamagePlayersEffect(Outcome.Benefit, new CountersSourceCount(CounterType.P1P1), TargetController.OPPONENT) .setText("then {this} deals damage equal to the number of +1/+1 counters on it to each opponent") ); }
public EmbraalGearSmasher(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.WARRIOR); this.power = new MageInt(2); this.toughness = new MageInt(3); // {T}, Sacrifice an artifact: Embraal Gear-Smasher deals 2 damage to each opponent. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(2, TargetController.OPPONENT), new TapSourceCost()); ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledArtifactPermanent("an artifact")))); this.addAbility(ability); }
public FanaticOfMogis(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{R}"); this.subtype.add(SubType.MINOTAUR); this.subtype.add(SubType.SHAMAN); this.power = new MageInt(4); this.toughness = new MageInt(2); // When Fanatic of Mogis enters the battlefield, it deals damage to each opponent equal to your devotion to red. Effect effect = new DamagePlayersEffect(Outcome.Damage, new DevotionCount(ColoredManaSymbol.R), TargetController.OPPONENT); effect.setText("it deals damage to each opponent equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts towards your devotion to red.)"); this.addAbility(new EntersBattlefieldTriggeredAbility(effect, false)); }
public HowlingGale(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{G}"); // Howling Gale deals 1 damage to each creature with flying and each player. this.getSpellAbility().addEffect(new DamageAllEffect(1, filter)); Effect effect = new DamagePlayersEffect(1); effect.setText("and each player"); this.getSpellAbility().addEffect(effect); // Flashback {1}{G} this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{G}"), TimingRule.INSTANT)); }
public ClawsOfWirewood(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{G}"); // Claws of Wirewood deals 3 damage to each creature with flying and each player. this.getSpellAbility().addEffect(new DamageAllEffect(3, filter)); Effect effect = new DamagePlayersEffect(3); effect.setText("and each player"); this.getSpellAbility().addEffect(effect); // Cycling {2} this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}"))); }
public RockcasterPlatoon(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{5}{W}{W}"); this.subtype.add(SubType.RHINO); this.subtype.add(SubType.SOLDIER); this.power = new MageInt(5); this.toughness = new MageInt(7); // {4}{G}: Rockcaster Platoon deals 2 damage to each creature with flying and each player. Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(2, filter), new ManaCostsImpl("{4}{G}")); ability.addEffect(new DamagePlayersEffect(2)); this.addAbility(ability); }
public TheBattleOfGeonosis(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{X}{R}{R}"); // The Battle of Geonosis deals X + 1 damage to each opponent and each creature your opponents control. Effect effect = new DamagePlayersEffect(Outcome.Damage, new IntPlusDynamicValue(1, ManacostVariableValue.instance), TargetController.OPPONENT); effect.setText("The Battle of Geonosis deals X plus 1 damage to each opponent"); this.getSpellAbility().addEffect(effect); effect = new DamageAllEffect(new IntPlusDynamicValue(1, ManacostVariableValue.instance), new FilterOpponentsCreaturePermanent()); effect.setText("and each creature your opponents control"); this.getSpellAbility().addEffect(effect); // Creatures you control get +X/+0 until end of turn. this.getSpellAbility().addEffect(new BoostControlledEffect(ManacostVariableValue.instance, new StaticValue(0), Duration.EndOfTurn)); }