mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Tibalt, Rakish Instigator
This commit is contained in:
parent
d352a87dd8
commit
c4efb77e1f
3 changed files with 50 additions and 0 deletions
48
Mage.Sets/src/mage/cards/t/TibaltRakishInstigator.java
Normal file
48
Mage.Sets/src/mage/cards/t/TibaltRakishInstigator.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.LoyaltyAbility;
|
||||
import mage.abilities.common.PlaneswalkerEntersWithLoyaltyCountersAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.CantGainLifeAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.game.permanent.token.DevilToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TibaltRakishInstigator extends CardImpl {
|
||||
|
||||
public TibaltRakishInstigator(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "{2}{R}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.TIBALT);
|
||||
this.addAbility(new PlaneswalkerEntersWithLoyaltyCountersAbility(5));
|
||||
|
||||
// Your opponents can't gain life.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new CantGainLifeAllEffect(
|
||||
Duration.WhileOnBattlefield,
|
||||
TargetController.OPPONENT
|
||||
)
|
||||
));
|
||||
|
||||
// -2: Create a 1/1 red Devil creature token with "Whenever this creature dies, it deals 1 damage to any target.
|
||||
this.addAbility(new LoyaltyAbility(new CreateTokenEffect(new DevilToken()), -2));
|
||||
}
|
||||
|
||||
private TibaltRakishInstigator(final TibaltRakishInstigator card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TibaltRakishInstigator copy() {
|
||||
return new TibaltRakishInstigator(this);
|
||||
}
|
||||
}
|
|
@ -48,6 +48,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Swamp", 257, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swamp", 258, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Tibalt's Rager", 147, Rarity.UNCOMMON, mage.cards.t.TibaltsRager.class));
|
||||
cards.add(new SetCardInfo("Tibalt, Rakish Instigator", 146, Rarity.UNCOMMON, mage.cards.t.TibaltRakishInstigator.class));
|
||||
cards.add(new SetCardInfo("Widespread Brutality", 226, Rarity.RARE, mage.cards.w.WidespreadBrutality.class));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ public final class DevilToken extends TokenImpl {
|
|||
public DevilToken() {
|
||||
super("Devil", "1/1 red Devil creature with \"When this creature dies, it deals 1 damage to any target.\"");
|
||||
availableImageSetCodes.addAll(Collections.singletonList("SOI"));
|
||||
availableImageSetCodes.addAll(Collections.singletonList("WAR"));
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.DEVIL);
|
||||
color.setRed(true);
|
||||
|
|
Loading…
Reference in a new issue