mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Implemented Phalanx Tactics
This commit is contained in:
parent
103c7c4926
commit
ffe598d3b1
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/p/PhalanxTactics.java
Normal file
37
Mage.Sets/src/mage/cards/p/PhalanxTactics.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
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.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class PhalanxTactics extends CardImpl {
|
||||
|
||||
public PhalanxTactics(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}");
|
||||
|
||||
// Target creature you control gets +2/+1 until end of turn. Each other creature you control gets +1/+1 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0)
|
||||
.setText("Target creature you control gets +2/+1 until end of turn."));
|
||||
this.getSpellAbility().addEffect(new BoostControlledEffect(1, 1, Duration.EndOfTurn)
|
||||
.setText("Each other creature you control gets +1/+1 until end of turn."));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
}
|
||||
|
||||
private PhalanxTactics(final PhalanxTactics card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PhalanxTactics copy() {
|
||||
return new PhalanxTactics(this);
|
||||
}
|
||||
}
|
|
@ -156,6 +156,7 @@ public final class TherosBeyondDeath extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("One with the Stars", 59, Rarity.UNCOMMON, mage.cards.o.OneWithTheStars.class));
|
||||
cards.add(new SetCardInfo("Oread of Mountain's Blaze", 146, Rarity.COMMON, mage.cards.o.OreadOfMountainsBlaze.class));
|
||||
cards.add(new SetCardInfo("Ox of Agonas", 147, Rarity.MYTHIC, mage.cards.o.OxOfAgonas.class));
|
||||
cards.add(new SetCardInfo("Phalanx Tactics", 31, Rarity.UNCOMMON, mage.cards.p.PhalanxTactics.class));
|
||||
cards.add(new SetCardInfo("Pharika's Libation", 111, Rarity.COMMON, mage.cards.p.PharikasLibation.class));
|
||||
cards.add(new SetCardInfo("Pharika's Spawn", 112, Rarity.UNCOMMON, mage.cards.p.PharikasSpawn.class));
|
||||
cards.add(new SetCardInfo("Phoenix of Ash", 148, Rarity.RARE, mage.cards.p.PhoenixOfAsh.class));
|
||||
|
|
Loading…
Reference in a new issue