forked from External/mage
Implemented God-Eternal Oketra
This commit is contained in:
parent
7b147c914f
commit
45526c5cc9
3 changed files with 87 additions and 0 deletions
53
Mage.Sets/src/mage/cards/g/GodEternalOketra.java
Normal file
53
Mage.Sets/src/mage/cards/g/GodEternalOketra.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.GodEternalDiesTriggeredAbility;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.DoubleStrikeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.GodEternalOketraToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GodEternalOketra extends CardImpl {
|
||||
|
||||
public GodEternalOketra(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.subtype.add(SubType.GOD);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Double strike
|
||||
this.addAbility(DoubleStrikeAbility.getInstance());
|
||||
|
||||
// Whenever you cast a creature spell, create a 4/4 black Zombie Warrior creature token with vigilance.
|
||||
this.addAbility(new SpellCastControllerTriggeredAbility(
|
||||
new CreateTokenEffect(new GodEternalOketraToken()),
|
||||
StaticFilters.FILTER_SPELL_A_CREATURE, false
|
||||
));
|
||||
|
||||
// When God-Eternal Oketra dies or is put into exile from the battlefield, you may put it into its owner's library third from the top.
|
||||
this.addAbility(new GodEternalDiesTriggeredAbility());
|
||||
}
|
||||
|
||||
private GodEternalOketra(final GodEternalOketra card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GodEternalOketra copy() {
|
||||
return new GodEternalOketra(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -108,6 +108,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Goblin Assailant", 128, Rarity.COMMON, mage.cards.g.GoblinAssailant.class));
|
||||
cards.add(new SetCardInfo("Goblin Assault Team", 129, Rarity.COMMON, mage.cards.g.GoblinAssaultTeam.class));
|
||||
cards.add(new SetCardInfo("God-Eternal Bontu", 92, Rarity.MYTHIC, mage.cards.g.GodEternalBontu.class));
|
||||
cards.add(new SetCardInfo("God-Eternal Oketra", 16, Rarity.MYTHIC, mage.cards.g.GodEternalOketra.class));
|
||||
cards.add(new SetCardInfo("God-Eternal Rhonas", 163, Rarity.MYTHIC, mage.cards.g.GodEternalRhonas.class));
|
||||
cards.add(new SetCardInfo("God-Pharaoh's Statue", 238, Rarity.UNCOMMON, mage.cards.g.GodPharaohsStatue.class));
|
||||
cards.add(new SetCardInfo("Grateful Apparition", 17, Rarity.UNCOMMON, mage.cards.g.GratefulApparition.class));
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GodEternalOketraToken extends TokenImpl {
|
||||
|
||||
public GodEternalOketraToken() {
|
||||
super("Zombie Warrior", "4/4 black Zombie Warrior creature token with vigilance");
|
||||
setExpansionSetCodeForImage("WAR"); // default
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlack(true);
|
||||
subtype.add(SubType.ZOMBIE);
|
||||
subtype.add(SubType.WARRIOR);
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(4);
|
||||
addAbility(VigilanceAbility.getInstance());
|
||||
}
|
||||
|
||||
private GodEternalOketraToken(final GodEternalOketraToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GodEternalOketraToken copy() {
|
||||
return new GodEternalOketraToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue