mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
[KHM] Implemented Doomskar Titan
This commit is contained in:
parent
fdad56f1c5
commit
da136b0e40
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/d/DoomskarTitan.java
Normal file
52
Mage.Sets/src/mage/cards/d/DoomskarTitan.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.ForetellAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DoomskarTitan extends CardImpl {
|
||||
|
||||
public DoomskarTitan(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}{R}");
|
||||
|
||||
this.subtype.add(SubType.GIANT);
|
||||
this.subtype.add(SubType.BERSERKER);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Doomskar Titan enters the battlefield, creatures you control get +1/+0 and gain haste until end of turn.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new BoostControlledEffect(1, 0, Duration.EndOfTurn)
|
||||
);
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
HasteAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gain haste until end of turn"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Foretell {4}{R}
|
||||
this.addAbility(new ForetellAbility(this, "{4}{R}"));
|
||||
}
|
||||
|
||||
private DoomskarTitan(final DoomskarTitan card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DoomskarTitan copy() {
|
||||
return new DoomskarTitan(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -103,6 +103,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Divine Gambit", 8, Rarity.UNCOMMON, mage.cards.d.DivineGambit.class));
|
||||
cards.add(new SetCardInfo("Dogged Pursuit", 85, Rarity.COMMON, mage.cards.d.DoggedPursuit.class));
|
||||
cards.add(new SetCardInfo("Doomskar Oracle", 10, Rarity.COMMON, mage.cards.d.DoomskarOracle.class));
|
||||
cards.add(new SetCardInfo("Doomskar Titan", 130, Rarity.UNCOMMON, mage.cards.d.DoomskarTitan.class));
|
||||
cards.add(new SetCardInfo("Draugr's Helm", 88, Rarity.UNCOMMON, mage.cards.d.DraugrsHelm.class));
|
||||
cards.add(new SetCardInfo("Dread Rider", 89, Rarity.COMMON, mage.cards.d.DreadRider.class));
|
||||
cards.add(new SetCardInfo("Duskwielder", 91, Rarity.COMMON, mage.cards.d.Duskwielder.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue