mirror of
https://github.com/correl/mage.git
synced 2025-04-11 17:00:08 -09:00
[SNC] Implemented Join the Maestros
This commit is contained in:
parent
cd2535e99b
commit
c5cb6eac8e
3 changed files with 65 additions and 0 deletions
Mage.Sets/src/mage
Mage/src/main/java/mage/game/permanent/token
35
Mage.Sets/src/mage/cards/j/JoinTheMaestros.java
Normal file
35
Mage.Sets/src/mage/cards/j/JoinTheMaestros.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.j;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.CasualtyAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.OgreWarriorToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class JoinTheMaestros extends CardImpl {
|
||||
|
||||
public JoinTheMaestros(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}");
|
||||
|
||||
// Casualty 2
|
||||
this.addAbility(new CasualtyAbility(this, 2));
|
||||
|
||||
// Create a 4/3 black Ogre Warrior creature token.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new OgreWarriorToken()));
|
||||
}
|
||||
|
||||
private JoinTheMaestros(final JoinTheMaestros card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public JoinTheMaestros copy() {
|
||||
return new JoinTheMaestros(this);
|
||||
}
|
||||
}
|
|
@ -47,6 +47,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Island", 264, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Jetmir's Garden", 250, Rarity.RARE, mage.cards.j.JetmirsGarden.class));
|
||||
cards.add(new SetCardInfo("Jetmir, Nexus of Revels", 193, Rarity.MYTHIC, mage.cards.j.JetmirNexusOfRevels.class));
|
||||
cards.add(new SetCardInfo("Join the Maestros", 85, Rarity.COMMON, mage.cards.j.JoinTheMaestros.class));
|
||||
cards.add(new SetCardInfo("Ledger Shredder", 46, Rarity.RARE, mage.cards.l.LedgerShredder.class));
|
||||
cards.add(new SetCardInfo("Light 'Em Up", 113, Rarity.COMMON, mage.cards.l.LightEmUp.class));
|
||||
cards.add(new SetCardInfo("Lord Xander, the Collector", 197, Rarity.MYTHIC, mage.cards.l.LordXanderTheCollector.class));
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OgreWarriorToken extends TokenImpl {
|
||||
|
||||
public OgreWarriorToken() {
|
||||
super("Ogre Warrior Token", "4/3 black Ogre Warrior creature token");
|
||||
color.setBlack(true);
|
||||
cardType.add(CardType.CREATURE);
|
||||
subtype.add(SubType.OGRE);
|
||||
subtype.add(SubType.WARRIOR);
|
||||
power = new MageInt(4);
|
||||
toughness = new MageInt(3);
|
||||
}
|
||||
|
||||
public OgreWarriorToken(final OgreWarriorToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public OgreWarriorToken copy() {
|
||||
return new OgreWarriorToken(this);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue