mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
[MKM] Implement Greenbelt Radical
This commit is contained in:
parent
ca1f91d299
commit
f46b5258d5
2 changed files with 57 additions and 0 deletions
56
Mage.Sets/src/mage/cards/g/GreenbeltRadical.java
Normal file
56
Mage.Sets/src/mage/cards/g/GreenbeltRadical.java
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.TurnedFaceUpSourceTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersAllEffect;
|
||||
import mage.abilities.keyword.DisguiseAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GreenbeltRadical extends CardImpl {
|
||||
|
||||
public GreenbeltRadical(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
||||
|
||||
this.subtype.add(SubType.CENTAUR);
|
||||
this.subtype.add(SubType.CITIZEN);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Disguise {5}{G}{G}
|
||||
this.addAbility(new DisguiseAbility(this, new ManaCostsImpl<>("{5}{G}{G}")));
|
||||
|
||||
// When Greenbelt Radical is turned face up, put a +1/+1 counter on each creature you control. Creatures you control gain trample until end of turn.
|
||||
Ability ability = new TurnedFaceUpSourceTriggeredAbility(new AddCountersAllEffect(
|
||||
CounterType.P1P1.createInstance(), StaticFilters.FILTER_CONTROLLED_CREATURE
|
||||
));
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
TrampleAbility.getInstance(), Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURES
|
||||
));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private GreenbeltRadical(final GreenbeltRadical card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GreenbeltRadical copy() {
|
||||
return new GreenbeltRadical(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +65,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Get a Leg Up", 161, Rarity.UNCOMMON, mage.cards.g.GetALegUp.class));
|
||||
cards.add(new SetCardInfo("Gleaming Geardrake", 205, Rarity.UNCOMMON, mage.cards.g.GleamingGeardrake.class));
|
||||
cards.add(new SetCardInfo("Granite Witness", 206, Rarity.COMMON, mage.cards.g.GraniteWitness.class));
|
||||
cards.add(new SetCardInfo("Greenbelt Radical", 163, Rarity.UNCOMMON, mage.cards.g.GreenbeltRadical.class));
|
||||
cards.add(new SetCardInfo("Griffnaut Tracker", 17, Rarity.COMMON, mage.cards.g.GriffnautTracker.class));
|
||||
cards.add(new SetCardInfo("Haazda Vigilante", 18, Rarity.COMMON, mage.cards.h.HaazdaVigilante.class));
|
||||
cards.add(new SetCardInfo("Harried Dronesmith", 131, Rarity.UNCOMMON, mage.cards.h.HarriedDronesmith.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue