mirror of
https://github.com/correl/mage.git
synced 2025-04-03 09:18:59 -09:00
Implemented Talisman of Hierarchy
This commit is contained in:
parent
6fc1c4b2e1
commit
5dccc381aa
2 changed files with 43 additions and 0 deletions
Mage.Sets/src/mage
42
Mage.Sets/src/mage/cards/t/TalismanOfHierarchy.java
Normal file
42
Mage.Sets/src/mage/cards/t/TalismanOfHierarchy.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.common.DamageControllerEffect;
|
||||
import mage.abilities.mana.BlackManaAbility;
|
||||
import mage.abilities.mana.ColorlessManaAbility;
|
||||
import mage.abilities.mana.WhiteManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TalismanOfHierarchy extends CardImpl {
|
||||
|
||||
public TalismanOfHierarchy(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||
|
||||
// {T}: Add {C}.
|
||||
this.addAbility(new ColorlessManaAbility());
|
||||
|
||||
// {T}: Add {W} or {B}. Talisman of Hierarchy deals 1 damage to you.
|
||||
Ability ability = new WhiteManaAbility();
|
||||
ability.addEffect(new DamageControllerEffect(1));
|
||||
this.addAbility(ability);
|
||||
ability = new BlackManaAbility();
|
||||
ability.addEffect(new DamageControllerEffect(1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private TalismanOfHierarchy(final TalismanOfHierarchy card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TalismanOfHierarchy copy() {
|
||||
return new TalismanOfHierarchy(this);
|
||||
}
|
||||
}
|
|
@ -135,6 +135,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Talisman of Conviction", 230, Rarity.UNCOMMON, mage.cards.t.TalismanOfConviction.class));
|
||||
cards.add(new SetCardInfo("Talisman of Creativity", 231, Rarity.UNCOMMON, mage.cards.t.TalismanOfCreativity.class));
|
||||
cards.add(new SetCardInfo("Talisman of Curiosity", 232, Rarity.COMMON, mage.cards.t.TalismanOfCuriosity.class));
|
||||
cards.add(new SetCardInfo("Talisman of Hierarchy", 233, Rarity.UNCOMMON, mage.cards.t.TalismanOfHierarchy.class));
|
||||
cards.add(new SetCardInfo("Talisman of Resilience", 234, Rarity.UNCOMMON, mage.cards.t.TalismanOfResilience.class));
|
||||
cards.add(new SetCardInfo("Tempered Sliver", 183, Rarity.UNCOMMON, mage.cards.t.TemperedSliver.class));
|
||||
cards.add(new SetCardInfo("The First Sliver", 200, Rarity.MYTHIC, mage.cards.t.TheFirstSliver.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue