diff --git a/Mage.Sets/src/mage/cards/o/OrcaSiegeDemon.java b/Mage.Sets/src/mage/cards/o/OrcaSiegeDemon.java new file mode 100644 index 0000000000..8962b4ea2c --- /dev/null +++ b/Mage.Sets/src/mage/cards/o/OrcaSiegeDemon.java @@ -0,0 +1,55 @@ +package mage.cards.o; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.DiesCreatureTriggeredAbility; +import mage.abilities.common.DiesSourceTriggeredAbility; +import mage.abilities.dynamicvalue.common.SourcePermanentPowerCount; +import mage.abilities.effects.common.DamageMultiEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.TrampleAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.counters.CounterType; +import mage.target.common.TargetAnyTargetAmount; + +import java.util.UUID; + +/** + * @author PurpleCrowbar + */ +public final class OrcaSiegeDemon extends CardImpl { + + public OrcaSiegeDemon(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{B}{R}"); + addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.DEMON); + + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // Trample + this.addAbility(TrampleAbility.getInstance()); + + // Whenever another creature dies, put a +1/+1 counter on Orca, Siege Demon. + this.addAbility(new DiesCreatureTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false, true)); + + // When Orca dies, it deals damage equal to its power divided as you choose among any number of targets. + Ability ability = new DiesSourceTriggeredAbility(new DamageMultiEffect(new SourcePermanentPowerCount()) + .setText("it deals damage equal to its power divided as you choose among any number of targets.")); + ability.addTarget(new TargetAnyTargetAmount(new SourcePermanentPowerCount())); + this.addAbility(ability); + } + + private OrcaSiegeDemon(final OrcaSiegeDemon card) { + super(card); + } + + @Override + public OrcaSiegeDemon copy() { + return new OrcaSiegeDemon(this); + } +} diff --git a/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java b/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java index b22645ae81..d312e7a00f 100644 --- a/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java +++ b/Mage.Sets/src/mage/sets/DominariaUnitedCommander.java @@ -130,6 +130,8 @@ public final class DominariaUnitedCommander extends ExpansionSet { cards.add(new SetCardInfo("Odric, Lunarch Marshal", 103, Rarity.RARE, mage.cards.o.OdricLunarchMarshal.class)); cards.add(new SetCardInfo("Oketra's Monument", 188, Rarity.UNCOMMON, mage.cards.o.OketrasMonument.class)); cards.add(new SetCardInfo("Opulent Palace", 223, Rarity.UNCOMMON, mage.cards.o.OpulentPalace.class)); + cards.add(new SetCardInfo("Orca, Siege Demon", 37, Rarity.RARE, mage.cards.o.OrcaSiegeDemon.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Orca, Siege Demon", 59, Rarity.RARE, mage.cards.o.OrcaSiegeDemon.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Orzhov Basilica", 224, Rarity.UNCOMMON, mage.cards.o.OrzhovBasilica.class)); cards.add(new SetCardInfo("Painful Truths", 116, Rarity.RARE, mage.cards.p.PainfulTruths.class)); cards.add(new SetCardInfo("Path to Exile", 104, Rarity.UNCOMMON, mage.cards.p.PathToExile.class));