mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Implemented Frostwalla
This commit is contained in:
parent
29fc59daf8
commit
21d3debfb5
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/f/Frostwalla.java
Normal file
43
Mage.Sets/src/mage/cards/f/Frostwalla.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.LimitedTimesPerTurnActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Frostwalla extends CardImpl {
|
||||
|
||||
public Frostwalla(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.addSuperType(SuperType.SNOW);
|
||||
this.subtype.add(SubType.LIZARD);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {S}: Frostwalla gets +2/+2 until end of turn. Activate this ability only once each turn.
|
||||
this.addAbility(new LimitedTimesPerTurnActivatedAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new BoostSourceEffect(
|
||||
2, 2, Duration.EndOfTurn
|
||||
), new ManaCostsImpl("{S}")
|
||||
));
|
||||
}
|
||||
|
||||
private Frostwalla(final Frostwalla card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Frostwalla copy() {
|
||||
return new Frostwalla(this);
|
||||
}
|
||||
}
|
|
@ -76,6 +76,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Force of Virtue", 10, Rarity.RARE, mage.cards.f.ForceOfVirtue.class));
|
||||
cards.add(new SetCardInfo("Forgotten Cave", 239, Rarity.UNCOMMON, mage.cards.f.ForgottenCave.class));
|
||||
cards.add(new SetCardInfo("Frostwalk Bastion", 240, Rarity.UNCOMMON, mage.cards.f.FrostwalkBastion.class));
|
||||
cards.add(new SetCardInfo("Frostwalla", 165, Rarity.COMMON, mage.cards.f.Frostwalla.class));
|
||||
cards.add(new SetCardInfo("Future Sight", 53, Rarity.RARE, mage.cards.f.FutureSight.class));
|
||||
cards.add(new SetCardInfo("Generous Gift", 11, Rarity.UNCOMMON, mage.cards.g.GenerousGift.class));
|
||||
cards.add(new SetCardInfo("Genesis", 166, Rarity.RARE, mage.cards.g.Genesis.class));
|
||||
|
|
Loading…
Reference in a new issue