[40K] Implemented Pink Horror

This commit is contained in:
Evan Kranzler 2022-10-14 21:33:34 -04:00
parent 1b7bea1464
commit b8ba92589b
3 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.target.common.TargetAnyTarget;
/**
* @author TheElk801
*/
public final class BlueHorrorToken extends TokenImpl {
public BlueHorrorToken() {
super("Blue Horror", "2/2 blue and red Demon Horror creature token named Blue Horror. It has \"Whenever you cast an instant or sorcery spell, this creature deals 1 damage to any target.\"");
cardType.add(CardType.CREATURE);
color.setBlue(true);
color.setRed(true);
subtype.add(SubType.DEMON);
subtype.add(SubType.HORROR);
power = new MageInt(2);
toughness = new MageInt(2);
Ability ability = new SpellCastControllerTriggeredAbility(
new DamageTargetEffect(1, "this creature"),
StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY, false
);
ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
public BlueHorrorToken(final BlueHorrorToken token) {
super(token);
}
public BlueHorrorToken copy() {
return new BlueHorrorToken(this);
}
}