diff --git a/Mage.Sets/src/mage/cards/s/SlaughterSinger.java b/Mage.Sets/src/mage/cards/s/SlaughterSinger.java new file mode 100644 index 0000000000..2397e6e32b --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SlaughterSinger.java @@ -0,0 +1,59 @@ +package mage.cards.s; + +import java.util.UUID; + +import mage.MageInt; +import mage.abilities.common.AttacksAllTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.constants.SetTargetPointer; +import mage.constants.SubType; +import mage.abilities.keyword.ToxicAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.TargetController; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.mageobject.AbilityPredicate; +import mage.filter.predicate.mageobject.AnotherPredicate; + +/** + * @author TheElk801 + */ +public final class SlaughterSinger extends CardImpl { + + private static final FilterCreaturePermanent filter + = new FilterCreaturePermanent("another creature you control with toxic"); + + static { + filter.add(AnotherPredicate.instance); + filter.add(TargetController.YOU.getControllerPredicate()); + filter.add(new AbilityPredicate(ToxicAbility.class)); + } + + public SlaughterSinger(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}{W}"); + + this.subtype.add(SubType.PHYREXIAN); + this.subtype.add(SubType.CLERIC); + this.power = new MageInt(2); + this.toughness = new MageInt(2); + + // Toxic 2 + this.addAbility(new ToxicAbility(2)); + + // Whenever another creature you control with toxic attacks, it gets +1/+1 until end of turn. + this.addAbility(new AttacksAllTriggeredAbility( + new BoostTargetEffect(1, 1).setText("it gets +1/+1 until end of turn"), + false, filter, SetTargetPointer.PERMANENT, false + )); + } + + private SlaughterSinger(final SlaughterSinger card) { + super(card); + } + + @Override + public SlaughterSinger copy() { + return new SlaughterSinger(this); + } +} diff --git a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java index 8af19788f4..eb837defdb 100644 --- a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java +++ b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java @@ -93,6 +93,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet { cards.add(new SetCardInfo("Sheoldred's Edict", 108, Rarity.UNCOMMON, mage.cards.s.SheoldredsEdict.class)); cards.add(new SetCardInfo("Sinew Dancer", 32, Rarity.COMMON, mage.cards.s.SinewDancer.class)); cards.add(new SetCardInfo("Skrelv's Hive", 34, Rarity.RARE, mage.cards.s.SkrelvsHive.class)); + cards.add(new SetCardInfo("Slaughter Singer", 216, Rarity.UNCOMMON, mage.cards.s.SlaughterSinger.class)); cards.add(new SetCardInfo("Staff of Compleation", 242, Rarity.MYTHIC, mage.cards.s.StaffOfCompleation.class)); cards.add(new SetCardInfo("Surgical Skullbomb", 243, Rarity.COMMON, mage.cards.s.SurgicalSkullbomb.class)); cards.add(new SetCardInfo("Swamp", 274, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));