mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[ONC] Implement Kemba's Banner
This commit is contained in:
parent
2a40a08ae2
commit
2214ab699c
2 changed files with 49 additions and 0 deletions
47
Mage.Sets/src/mage/cards/k/KembasBanner.java
Normal file
47
Mage.Sets/src/mage/cards/k/KembasBanner.java
Normal file
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.ForMirrodinAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author PurpleCrowbar
|
||||
*/
|
||||
public final class KembasBanner extends CardImpl {
|
||||
|
||||
public KembasBanner(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}{W}");
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// For Mirrodin!
|
||||
this.addAbility(new ForMirrodinAbility());
|
||||
|
||||
// Equipped creature gets +1/+1 for each creature you control.
|
||||
PermanentsOnBattlefieldCount value = new PermanentsOnBattlefieldCount(StaticFilters.FILTER_CONTROLLED_CREATURE);
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(value, value)));
|
||||
|
||||
// Equip {2}{W}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new ManaCostsImpl<>("{2}{W}")));
|
||||
}
|
||||
|
||||
private KembasBanner(final KembasBanner card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KembasBanner copy() {
|
||||
return new KembasBanner(this);
|
||||
}
|
||||
}
|
|
@ -84,6 +84,8 @@ public final class PhyrexiaAllWillBeOneCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ixhel, Scion of Atraxa", 37, Rarity.MYTHIC, mage.cards.i.IxhelScionOfAtraxa.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Jor Kadeen, the Prevailer", 119, Rarity.RARE, mage.cards.j.JorKadeenThePrevailer.class));
|
||||
cards.add(new SetCardInfo("Karn's Bastion", 156, Rarity.RARE, mage.cards.k.KarnsBastion.class));
|
||||
cards.add(new SetCardInfo("Kemba's Banner", 7, Rarity.RARE, mage.cards.k.KembasBanner.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Kemba's Banner", 45, Rarity.RARE, mage.cards.k.KembasBanner.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Kher Keep", 157, Rarity.RARE, mage.cards.k.KherKeep.class));
|
||||
cards.add(new SetCardInfo("Krosan Verge", 158, Rarity.UNCOMMON, mage.cards.k.KrosanVerge.class));
|
||||
cards.add(new SetCardInfo("Legion Warboss", 101, Rarity.RARE, mage.cards.l.LegionWarboss.class));
|
||||
|
|
Loading…
Reference in a new issue