mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[BRO] Implemented Tocasia's Onulet
This commit is contained in:
parent
5c7af786ee
commit
ad8fe877b0
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/t/TocasiasOnulet.java
Normal file
42
Mage.Sets/src/mage/cards/t/TocasiasOnulet.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.keyword.UnearthAbility;
|
||||
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 TocasiasOnulet extends CardImpl {
|
||||
|
||||
public TocasiasOnulet(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{5}");
|
||||
|
||||
this.subtype.add(SubType.CONSTRUCT);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Tocasia's Onulet leaves the battlefield, you gain 2 life.
|
||||
this.addAbility(new LeavesBattlefieldTriggeredAbility(new GainLifeEffect(2), false));
|
||||
|
||||
// Unearth {3}{W}
|
||||
this.addAbility(new UnearthAbility(new ManaCostsImpl<>("{3}{W}")));
|
||||
}
|
||||
|
||||
private TocasiasOnulet(final TocasiasOnulet card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TocasiasOnulet copy() {
|
||||
return new TocasiasOnulet(this);
|
||||
}
|
||||
}
|
|
@ -56,6 +56,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Third Path Savant", 67, Rarity.COMMON, mage.cards.t.ThirdPathSavant.class));
|
||||
cards.add(new SetCardInfo("Titania, Gaea Incarnate", "256b", Rarity.MYTHIC, mage.cards.t.TitaniaGaeaIncarnate.class));
|
||||
cards.add(new SetCardInfo("Titania, Voice of Gaea", 193, Rarity.MYTHIC, mage.cards.t.TitaniaVoiceOfGaea.class));
|
||||
cards.add(new SetCardInfo("Tocasia's Onulet", 39, Rarity.COMMON, mage.cards.t.TocasiasOnulet.class));
|
||||
cards.add(new SetCardInfo("Underground River", 267, Rarity.RARE, mage.cards.u.UndergroundRiver.class));
|
||||
cards.add(new SetCardInfo("Urza, Lord Protector", 225, Rarity.MYTHIC, mage.cards.u.UrzaLordProtector.class));
|
||||
cards.add(new SetCardInfo("Urza, Planeswalker", "238b", Rarity.MYTHIC, mage.cards.u.UrzaPlaneswalker.class));
|
||||
|
|
Loading…
Reference in a new issue