forked from External/mage
[ONE] Implement Ruthless Predation (#10023)
This commit is contained in:
parent
4f82cc0287
commit
fa7ae177dc
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/r/RuthlessPredation.java
Normal file
48
Mage.Sets/src/mage/cards/r/RuthlessPredation.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.FightTargetsEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.Target;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author @stwalsh4118
|
||||
*/
|
||||
public final class RuthlessPredation extends CardImpl {
|
||||
|
||||
public RuthlessPredation(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}");
|
||||
|
||||
|
||||
// Target creature you control gets +1/+2 until end of turn. It fights target creature you don't control.
|
||||
|
||||
Effect effect = new BoostTargetEffect(1, 2, Duration.EndOfTurn);
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
effect = new FightTargetsEffect();
|
||||
effect.setText("It fights target creature you don't control. " +
|
||||
"<i>(Each deals damage equal to its power to the other.)</i>");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
Target target = new TargetCreaturePermanent(StaticFilters.FILTER_CREATURE_YOU_DONT_CONTROL);
|
||||
this.getSpellAbility().addTarget(target);
|
||||
}
|
||||
|
||||
private RuthlessPredation(final RuthlessPredation card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RuthlessPredation copy() {
|
||||
return new RuthlessPredation(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -190,6 +190,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Resistance Skywarden", 146, Rarity.UNCOMMON, mage.cards.r.ResistanceSkywarden.class));
|
||||
cards.add(new SetCardInfo("Ribskiff", 240, Rarity.UNCOMMON, mage.cards.r.Ribskiff.class));
|
||||
cards.add(new SetCardInfo("Rustvine Cultivator", 181, Rarity.COMMON, mage.cards.r.RustvineCultivator.class));
|
||||
cards.add(new SetCardInfo("Ruthless Predation", 182, Rarity.COMMON, mage.cards.r.RuthlessPredation.class));
|
||||
cards.add(new SetCardInfo("Sawblade Scamp", 147, Rarity.COMMON, mage.cards.s.SawbladeScamp.class));
|
||||
cards.add(new SetCardInfo("Scheming Aspirant", 107, Rarity.UNCOMMON, mage.cards.s.SchemingAspirant.class));
|
||||
cards.add(new SetCardInfo("Seachrome Coast", 258, Rarity.RARE, mage.cards.s.SeachromeCoast.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue