mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[BLB] Implement Treeguard Duo
This commit is contained in:
parent
e5e52d382d
commit
5eb7608b3d
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/t/TreeguardDuo.java
Normal file
52
Mage.Sets/src/mage/cards/t/TreeguardDuo.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.common.CreaturesYouControlCount;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.hint.common.CreaturesYouControlHint;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TreeguardDuo extends CardImpl {
|
||||
|
||||
public TreeguardDuo(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.FROG);
|
||||
this.subtype.add(SubType.RABBIT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Treeguard Duo enters, until end of turn, target creature you control gains vigilance and gets +X/+X, where X is the number of creatures you control.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(
|
||||
new GainAbilityTargetEffect(VigilanceAbility.getInstance())
|
||||
.setText("until end of turn, target creature you control gains vigilance")
|
||||
);
|
||||
ability.addEffect(new BoostTargetEffect(
|
||||
CreaturesYouControlCount.instance, CreaturesYouControlCount.instance
|
||||
).setText("and gets +X/+X, where X is the number of creatures you control"));
|
||||
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||
this.addAbility(ability.addHint(CreaturesYouControlHint.instance));
|
||||
}
|
||||
|
||||
private TreeguardDuo(final TreeguardDuo card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TreeguardDuo copy() {
|
||||
return new TreeguardDuo(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -165,6 +165,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Three Tree Mascot", 251, Rarity.COMMON, mage.cards.t.ThreeTreeMascot.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("Treeguard Duo", 200, Rarity.COMMON, mage.cards.t.TreeguardDuo.class));
|
||||
cards.add(new SetCardInfo("Treetop Sentries", 201, Rarity.COMMON, mage.cards.t.TreetopSentries.class));
|
||||
cards.add(new SetCardInfo("Uncharted Haven", 261, Rarity.COMMON, mage.cards.u.UnchartedHaven.class));
|
||||
cards.add(new SetCardInfo("Valley Mightcaller", 202, Rarity.RARE, mage.cards.v.ValleyMightcaller.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue