mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[BLB] Implement Treetop Sentries
This commit is contained in:
parent
2114e80158
commit
d734facb5d
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/t/TreetopSentries.java
Normal file
46
Mage.Sets/src/mage/cards/t/TreetopSentries.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.common.ForageCost;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TreetopSentries extends CardImpl {
|
||||
|
||||
public TreetopSentries(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
||||
|
||||
this.subtype.add(SubType.SQUIRREL);
|
||||
this.subtype.add(SubType.ARCHER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Reach
|
||||
this.addAbility(ReachAbility.getInstance());
|
||||
|
||||
// When Treetop Sentries enters, you may forage. If you do, draw a card.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new ForageCost())
|
||||
));
|
||||
}
|
||||
|
||||
private TreetopSentries(final TreetopSentries card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TreetopSentries copy() {
|
||||
return new TreetopSentries(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -86,6 +86,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Thornvault Forager", 197, Rarity.RARE, mage.cards.t.ThornvaultForager.class));
|
||||
cards.add(new SetCardInfo("Thundertrap Trainer", 78, Rarity.RARE, mage.cards.t.ThundertrapTrainer.class));
|
||||
cards.add(new SetCardInfo("Tidecaller Mentor", 236, Rarity.UNCOMMON, mage.cards.t.TidecallerMentor.class));
|
||||
cards.add(new SetCardInfo("Treetop Sentries", 201, Rarity.COMMON, mage.cards.t.TreetopSentries.class));
|
||||
cards.add(new SetCardInfo("Valley Rotcaller", 119, Rarity.RARE, mage.cards.v.ValleyRotcaller.class));
|
||||
cards.add(new SetCardInfo("Veteran Guardmouse", 237, Rarity.COMMON, mage.cards.v.VeteranGuardmouse.class));
|
||||
cards.add(new SetCardInfo("Wandertale Mentor", 240, Rarity.UNCOMMON, mage.cards.w.WandertaleMentor.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue