mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[BRO] Implement Awaken the Woods
This commit is contained in:
parent
894d012f94
commit
eba3f8dbc0
3 changed files with 66 additions and 0 deletions
32
Mage.Sets/src/mage/cards/a/AwakenTheWoods.java
Normal file
32
Mage.Sets/src/mage/cards/a/AwakenTheWoods.java
Normal file
|
@ -0,0 +1,32 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.ManacostVariableValue;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.ForestDryadToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AwakenTheWoods extends CardImpl {
|
||||
|
||||
public AwakenTheWoods(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{G}{G}");
|
||||
|
||||
// Create X 1/1 green Forest Dryad land creature tokens.
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new ForestDryadToken(), ManacostVariableValue.REGULAR));
|
||||
}
|
||||
|
||||
private AwakenTheWoods(final AwakenTheWoods card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AwakenTheWoods copy() {
|
||||
return new AwakenTheWoods(this);
|
||||
}
|
||||
}
|
|
@ -35,6 +35,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ashnod, Flesh Mechanist", 84, Rarity.RARE, mage.cards.a.AshnodFleshMechanist.class));
|
||||
cards.add(new SetCardInfo("Audacity", 169, Rarity.UNCOMMON, mage.cards.a.Audacity.class));
|
||||
cards.add(new SetCardInfo("Autonomous Assembler", 34, Rarity.RARE, mage.cards.a.AutonomousAssembler.class));
|
||||
cards.add(new SetCardInfo("Awaken the Woods", 170, Rarity.MYTHIC, mage.cards.a.AwakenTheWoods.class));
|
||||
cards.add(new SetCardInfo("Battlefield Forge", 257, Rarity.RARE, mage.cards.b.BattlefieldForge.class));
|
||||
cards.add(new SetCardInfo("Bitter Reunion", 127, Rarity.COMMON, mage.cards.b.BitterReunion.class));
|
||||
cards.add(new SetCardInfo("Bladecoil Serpent", 229, Rarity.MYTHIC, mage.cards.b.BladecoilSerpent.class));
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ForestDryadToken extends TokenImpl {
|
||||
|
||||
public ForestDryadToken() {
|
||||
super("Forest Dryad Token", "1/1 green Forest Dryad land creature token");
|
||||
cardType.add(CardType.LAND);
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add(SubType.FOREST, SubType.DRYAD);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("BRO");
|
||||
}
|
||||
|
||||
public ForestDryadToken(final ForestDryadToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
public ForestDryadToken copy() {
|
||||
return new ForestDryadToken(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue