forked from External/mage
[LCI] Implement Tectonic Hazard
This commit is contained in:
parent
e2cb6f66b7
commit
f5e629f66b
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/t/TectonicHazard.java
Normal file
36
Mage.Sets/src/mage/cards/t/TectonicHazard.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TectonicHazard extends CardImpl {
|
||||
|
||||
public TectonicHazard(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}");
|
||||
|
||||
// Tectonic Hazard deals 1 damage to each opponent and each creature they control.
|
||||
this.getSpellAbility().addEffect(new DamagePlayersEffect(1, TargetController.OPPONENT));
|
||||
this.getSpellAbility().addEffect(new DamageAllEffect(
|
||||
1, StaticFilters.FILTER_OPPONENTS_PERMANENT_CREATURE
|
||||
).setText("and each creature they control"));
|
||||
}
|
||||
|
||||
private TectonicHazard(final TectonicHazard card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TectonicHazard copy() {
|
||||
return new TectonicHazard(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -194,6 +194,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Swamp", 397, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Synapse Necromage", 125, Rarity.UNCOMMON, mage.cards.s.SynapseNecromage.class));
|
||||
cards.add(new SetCardInfo("Tarrian's Soulcleaver", 264, Rarity.RARE, mage.cards.t.TarriansSoulcleaver.class));
|
||||
cards.add(new SetCardInfo("Tectonic Hazard", 169, Rarity.COMMON, mage.cards.t.TectonicHazard.class));
|
||||
cards.add(new SetCardInfo("Temple of Civilization", 26, Rarity.MYTHIC, mage.cards.t.TempleOfCivilization.class));
|
||||
cards.add(new SetCardInfo("Temple of Cultivation", 204, Rarity.MYTHIC, mage.cards.t.TempleOfCultivation.class));
|
||||
cards.add(new SetCardInfo("Temple of Power", 158, Rarity.MYTHIC, mage.cards.t.TempleOfPower.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue