forked from External/mage
[ZNR] Implemented Allied Assault
This commit is contained in:
parent
41e3e37fe4
commit
fa1c75ccac
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/a/AlliedAssault.java
Normal file
40
Mage.Sets/src/mage/cards/a/AlliedAssault.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.PartyCount;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.hint.common.PartyCountHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AlliedAssault extends CardImpl {
|
||||
|
||||
public AlliedAssault(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Up to two target creatures each get +X/+X until end of turn, where X is the number of creatures in your party.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
PartyCount.instance, PartyCount.instance, Duration.EndOfTurn, true
|
||||
).setText("up to two target creatures each get +X/+X until end of turn, " +
|
||||
"where X is the number of creatures in your party. " + PartyCount.getReminder()
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 1));
|
||||
this.getSpellAbility().addHint(PartyCountHint.instance);
|
||||
}
|
||||
|
||||
private AlliedAssault(final AlliedAssault card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AlliedAssault copy() {
|
||||
return new AlliedAssault(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -113,6 +113,7 @@ public final class ZendikarRising extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Akoum Hellhound", 133, Rarity.COMMON, mage.cards.a.AkoumHellhound.class));
|
||||
cards.add(new SetCardInfo("Akoum Teeth", 134, Rarity.UNCOMMON, mage.cards.a.AkoumTeeth.class));
|
||||
cards.add(new SetCardInfo("Akoum Warrior", 134, Rarity.UNCOMMON, mage.cards.a.AkoumWarrior.class));
|
||||
cards.add(new SetCardInfo("Allied Assault", 1, Rarity.UNCOMMON, mage.cards.a.AlliedAssault.class));
|
||||
cards.add(new SetCardInfo("Ancient Greenwarden", 178, Rarity.MYTHIC, mage.cards.a.AncientGreenwarden.class));
|
||||
cards.add(new SetCardInfo("Angelheart Protector", 3, Rarity.COMMON, mage.cards.a.AngelheartProtector.class));
|
||||
cards.add(new SetCardInfo("Anticognition", 45, Rarity.COMMON, mage.cards.a.Anticognition.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue