mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
Implemented Tibalt's Rager
This commit is contained in:
parent
a79415267c
commit
8c5e28bfb5
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/t/TibaltsRager.java
Normal file
49
Mage.Sets/src/mage/cards/t/TibaltsRager.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DiesTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TibaltsRager extends CardImpl {
|
||||
|
||||
public TibaltsRager(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.DEVIL);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Tibalt's Rager dies, it deals 1 damage to any target.
|
||||
Ability ability = new DiesTriggeredAbility(new DamageTargetEffect(1, "it"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
||||
// {1}{R}: Tibalt's Rager gets +2/+0 until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new BoostSourceEffect(2, 0, Duration.EndOfTurn), new ManaCostsImpl("{1}{R}")
|
||||
));
|
||||
}
|
||||
|
||||
private TibaltsRager(final TibaltsRager card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TibaltsRager copy() {
|
||||
return new TibaltsRager(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -46,6 +46,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Swamp", 256, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
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("Widespread Brutality", 226, Rarity.RARE, mage.cards.w.WidespreadBrutality.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue