mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[STX] Implemented Daemogoth Titan
This commit is contained in:
parent
efd7f9e659
commit
b055f0b6c4
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/d/DaemogothTitan.java
Normal file
40
Mage.Sets/src/mage/cards/d/DaemogothTitan.java
Normal file
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksOrBlocksTriggeredAbility;
|
||||
import mage.abilities.effects.common.SacrificeControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DaemogothTitan extends CardImpl {
|
||||
|
||||
public DaemogothTitan(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B/G}{B/G}{B/G}{B/G}");
|
||||
|
||||
this.subtype.add(SubType.DEMON);
|
||||
this.power = new MageInt(11);
|
||||
this.toughness = new MageInt(10);
|
||||
|
||||
// Whenever Daemogoth Titan attacks or blocks, sacrifice a creature.
|
||||
this.addAbility(new AttacksOrBlocksTriggeredAbility(new SacrificeControllerEffect(
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE, 1, null
|
||||
), false));
|
||||
}
|
||||
|
||||
private DaemogothTitan(final DaemogothTitan card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DaemogothTitan copy() {
|
||||
return new DaemogothTitan(this);
|
||||
}
|
||||
}
|
|
@ -54,6 +54,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Creative Outburst", 171, Rarity.UNCOMMON, mage.cards.c.CreativeOutburst.class));
|
||||
cards.add(new SetCardInfo("Culmination of Studies", 173, Rarity.RARE, mage.cards.c.CulminationOfStudies.class));
|
||||
cards.add(new SetCardInfo("Curate", 40, Rarity.COMMON, mage.cards.c.Curate.class));
|
||||
cards.add(new SetCardInfo("Daemogoth Titan", 174, Rarity.RARE, mage.cards.d.DaemogothTitan.class));
|
||||
cards.add(new SetCardInfo("Defend the Campus", 12, Rarity.COMMON, mage.cards.d.DefendTheCampus.class));
|
||||
cards.add(new SetCardInfo("Double Major", 179, Rarity.RARE, mage.cards.d.DoubleMajor.class));
|
||||
cards.add(new SetCardInfo("Dragonsguard Elite", 127, Rarity.RARE, mage.cards.d.DragonsguardElite.class));
|
||||
|
|
Loading…
Reference in a new issue