mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[ONE] Implement Mirran Bardiche
This commit is contained in:
parent
0ae1bde48d
commit
0b0495c79f
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/m/MirranBardiche.java
Normal file
52
Mage.Sets/src/mage/cards/m/MirranBardiche.java
Normal file
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.ForMirrodinAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AttachmentType;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MirranBardiche extends CardImpl {
|
||||
|
||||
public MirranBardiche(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}{W}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// For Mirrodin!
|
||||
this.addAbility(new ForMirrodinAbility());
|
||||
|
||||
// Equipped creature gets +2/+1 and has vigilance.
|
||||
Ability ability = new SimpleStaticAbility(new BoostEquippedEffect(2, 1));
|
||||
ability.addEffect(new GainAbilityAttachedEffect(
|
||||
VigilanceAbility.getInstance(), AttachmentType.EQUIPMENT
|
||||
).setText("and has vigilance"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Equip {3}{W}
|
||||
this.addAbility(new EquipAbility(Outcome.BoostCreature, new ManaCostsImpl<>("{3}{W}")));
|
||||
}
|
||||
|
||||
private MirranBardiche(final MirranBardiche card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MirranBardiche copy() {
|
||||
return new MirranBardiche(this);
|
||||
}
|
||||
}
|
|
@ -104,6 +104,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Migloz, Maze Crusher", 210, Rarity.RARE, mage.cards.m.MiglozMazeCrusher.class));
|
||||
cards.add(new SetCardInfo("Mindsplice Apparatus", 63, Rarity.RARE, mage.cards.m.MindspliceApparatus.class));
|
||||
cards.add(new SetCardInfo("Minor Misstep", 64, Rarity.UNCOMMON, mage.cards.m.MinorMisstep.class));
|
||||
cards.add(new SetCardInfo("Mirran Bardiche", 22, Rarity.COMMON, mage.cards.m.MirranBardiche.class));
|
||||
cards.add(new SetCardInfo("Mirran Safehouse", 232, Rarity.RARE, mage.cards.m.MirranSafehouse.class));
|
||||
cards.add(new SetCardInfo("Mirrex", 254, Rarity.RARE, mage.cards.m.Mirrex.class));
|
||||
cards.add(new SetCardInfo("Mite Overseer", 404, Rarity.RARE, mage.cards.m.MiteOverseer.class));
|
||||
|
|
Loading…
Reference in a new issue