mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
[DMU] Implemented Toxic Abomination
This commit is contained in:
parent
3149ee5ff8
commit
93e053e646
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/t/ToxicAbomination.java
Normal file
38
Mage.Sets/src/mage/cards/t/ToxicAbomination.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ToxicAbomination extends CardImpl {
|
||||
|
||||
public ToxicAbomination(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Toxic Abomination enters the battlefield, you lose 2 life.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new LoseLifeSourceControllerEffect(2)));
|
||||
}
|
||||
|
||||
private ToxicAbomination(final ToxicAbomination card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ToxicAbomination copy() {
|
||||
return new ToxicAbomination(this);
|
||||
}
|
||||
}
|
|
@ -58,6 +58,7 @@ public final class DominariaUnited extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Swamp", 279, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Temporal Firestorm", 147, Rarity.RARE, mage.cards.t.TemporalFirestorm.class));
|
||||
cards.add(new SetCardInfo("Territorial Maro", 184, Rarity.UNCOMMON, mage.cards.t.TerritorialMaro.class));
|
||||
cards.add(new SetCardInfo("Toxic Abomination", 112, Rarity.COMMON, mage.cards.t.ToxicAbomination.class));
|
||||
cards.add(new SetCardInfo("Yavimaya Coast", 261, Rarity.RARE, mage.cards.y.YavimayaCoast.class));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue