mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[ONE] Implement Hazardous Blast
This commit is contained in:
parent
8a96c26e67
commit
eb1a6ebb3e
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/h/HazardousBlast.java
Normal file
38
Mage.Sets/src/mage/cards/h/HazardousBlast.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.abilities.effects.common.combat.CantBlockAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class HazardousBlast extends CardImpl {
|
||||
|
||||
public HazardousBlast(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}");
|
||||
|
||||
// Hazardous Blast deals 1 damage to each creature your opponents control. Creatures your opponents control can't block this turn.
|
||||
this.getSpellAbility().addEffect(new DamageAllEffect(
|
||||
1, StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE
|
||||
));
|
||||
this.getSpellAbility().addEffect(new CantBlockAllEffect(
|
||||
StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURES, Duration.EndOfTurn
|
||||
));
|
||||
}
|
||||
|
||||
private HazardousBlast(final HazardousBlast card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HazardousBlast copy() {
|
||||
return new HazardousBlast(this);
|
||||
}
|
||||
}
|
|
@ -82,6 +82,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Goliath Hatchery", 408, Rarity.RARE, mage.cards.g.GoliathHatchery.class));
|
||||
cards.add(new SetCardInfo("Graaz, Unstoppable Juggernaut", 229, Rarity.RARE, mage.cards.g.GraazUnstoppableJuggernaut.class));
|
||||
cards.add(new SetCardInfo("Gulping Scraptrap", 96, Rarity.COMMON, mage.cards.g.GulpingScraptrap.class));
|
||||
cards.add(new SetCardInfo("Hazardous Blast", 135, Rarity.COMMON, mage.cards.h.HazardousBlast.class));
|
||||
cards.add(new SetCardInfo("Hexgold Halberd", 136, Rarity.UNCOMMON, mage.cards.h.HexgoldHalberd.class));
|
||||
cards.add(new SetCardInfo("Hexgold Hoverwings", 14, Rarity.UNCOMMON, mage.cards.h.HexgoldHoverwings.class));
|
||||
cards.add(new SetCardInfo("Hexgold Slash", 137, Rarity.COMMON, mage.cards.h.HexgoldSlash.class));
|
||||
|
|
Loading…
Reference in a new issue