mirror of
https://github.com/correl/mage.git
synced 2025-03-13 01:09:53 -09:00
[BRO] Implement Mishra's Onslaught
This commit is contained in:
parent
ffb14d9056
commit
06ad547e56
2 changed files with 39 additions and 0 deletions
Mage.Sets/src/mage
38
Mage.Sets/src/mage/cards/m/MishrasOnslaught.java
Normal file
38
Mage.Sets/src/mage/cards/m/MishrasOnslaught.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.game.permanent.token.SoldierArtifactToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MishrasOnslaught extends CardImpl {
|
||||
|
||||
public MishrasOnslaught(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Choose one --
|
||||
// * Create two 1/1 colorless Soldier artifact creature tokens.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new SoldierArtifactToken(), 2));
|
||||
|
||||
// * Creatures you control get +2/+0 until end of turn.
|
||||
this.getSpellAbility().addMode(new Mode(new BoostControlledEffect(2, 0, Duration.EndOfTurn)));
|
||||
}
|
||||
|
||||
private MishrasOnslaught(final MishrasOnslaught card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MishrasOnslaught copy() {
|
||||
return new MishrasOnslaught(this);
|
||||
}
|
||||
}
|
|
@ -69,6 +69,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mishra's Command", 141, Rarity.RARE, mage.cards.m.MishrasCommand.class));
|
||||
cards.add(new SetCardInfo("Mishra's Foundry", 265, Rarity.RARE, mage.cards.m.MishrasFoundry.class));
|
||||
cards.add(new SetCardInfo("Mishra's Juggernaut", 161, Rarity.COMMON, mage.cards.m.MishrasJuggernaut.class));
|
||||
cards.add(new SetCardInfo("Mishra's Onslaught", 143, Rarity.COMMON, mage.cards.m.MishrasOnslaught.class));
|
||||
cards.add(new SetCardInfo("Mishra, Claimed by Gix", 216, Rarity.MYTHIC, mage.cards.m.MishraClaimedByGix.class));
|
||||
cards.add(new SetCardInfo("Mishra, Excavation Prodigy", 140, Rarity.UNCOMMON, mage.cards.m.MishraExcavationProdigy.class));
|
||||
cards.add(new SetCardInfo("Mishra, Lost to Phyrexia", "163b", Rarity.MYTHIC, mage.cards.m.MishraLostToPhyrexia.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue