mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Aggressive Negotiations implementation
This commit is contained in:
parent
95d5d373ce
commit
0ad8e8e181
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/a/AggressiveNegotiations.java
Normal file
42
Mage.Sets/src/mage/cards/a/AggressiveNegotiations.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.common.ExileCardYouChooseTargetOpponentEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
* Aggressive Negotiations implementation
|
||||
* Author: @mikejcunn
|
||||
*/
|
||||
public final class AggressiveNegotiations extends CardImpl {
|
||||
|
||||
public AggressiveNegotiations(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
||||
// Target opponent reveals their hand. You choose a nonland card from it. That player exiles that card.
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
this.getSpellAbility().addEffect(new ExileCardYouChooseTargetOpponentEffect(StaticFilters.FILTER_CARD_NON_LAND));
|
||||
|
||||
// Put a +1/+1 counter on target creature you control.
|
||||
TargetCreaturePermanent targetCreature = new TargetCreaturePermanent();
|
||||
this.getSpellAbility().addTarget(targetCreature);
|
||||
this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance(1), Outcome.BoostCreature));
|
||||
}
|
||||
|
||||
private AggressiveNegotiations(final AggressiveNegotiations card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AggressiveNegotiations copy() {
|
||||
return new AggressiveNegotiations(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Adorned Crocodile", 69, Rarity.COMMON, mage.cards.a.AdornedCrocodile.class));
|
||||
cards.add(new SetCardInfo("Aegis Sculptor", 35, Rarity.UNCOMMON, mage.cards.a.AegisSculptor.class));
|
||||
cards.add(new SetCardInfo("Agent of Kotis", 36, Rarity.COMMON, mage.cards.a.AgentOfKotis.class));
|
||||
cards.add(new SetCardInfo("Aggressive Negotiations", 70, Rarity.COMMON, mage.cards.a.AggressiveNegotiations.class));
|
||||
cards.add(new SetCardInfo("Ainok Wayfarer", 134, Rarity.COMMON, mage.cards.a.AinokWayfarer.class));
|
||||
cards.add(new SetCardInfo("Alchemist's Assistant", 71, Rarity.UNCOMMON, mage.cards.a.AlchemistsAssistant.class));
|
||||
cards.add(new SetCardInfo("Alesha's Legacy", 72, Rarity.COMMON, mage.cards.a.AleshasLegacy.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue