[TLA] Implement Rabaroo Troop

This commit is contained in:
theelk801 2025-08-15 08:25:29 -04:00
parent e8c04a5896
commit c2893d89a2
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.r;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.LandfallAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.PlainscyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RabarooTroop extends CardImpl {
public RabarooTroop(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}");
this.subtype.add(SubType.RABBIT);
this.subtype.add(SubType.KANGAROO);
this.power = new MageInt(3);
this.toughness = new MageInt(5);
// Landfall -- Whenever a land you control enters, this creature gains flying until end of turn and you gain 1 life.
Ability ability = new LandfallAbility(new GainAbilitySourceEffect(FlyingAbility.getInstance(), Duration.EndOfTurn));
ability.addEffect(new GainLifeEffect(1).concatBy("and"));
this.addAbility(ability);
// Plainscycling {2}
this.addAbility(new PlainscyclingAbility(new ManaCostsImpl<>("{2}")));
}
private RabarooTroop(final RabarooTroop card) {
super(card);
}
@Override
public RabarooTroop copy() {
return new RabarooTroop(this);
}
}

View file

@ -90,6 +90,7 @@ public final class AvatarTheLastAirbender extends ExpansionSet {
cards.add(new SetCardInfo("Pillar Launch", 189, Rarity.COMMON, mage.cards.p.PillarLaunch.class));
cards.add(new SetCardInfo("Plains", 287, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Pretending Poxbearers", 237, Rarity.COMMON, mage.cards.p.PretendingPoxbearers.class));
cards.add(new SetCardInfo("Rabaroo Troop", 32, Rarity.COMMON, mage.cards.r.RabarooTroop.class));
cards.add(new SetCardInfo("Rebellious Captives", 191, Rarity.COMMON, mage.cards.r.RebelliousCaptives.class));
cards.add(new SetCardInfo("Redirect Lightning", 151, Rarity.RARE, mage.cards.r.RedirectLightning.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Redirect Lightning", 343, Rarity.RARE, mage.cards.r.RedirectLightning.class, NON_FULL_USE_VARIOUS));

View file

@ -246,6 +246,7 @@ public enum SubType {
JUGGERNAUT("Juggernaut", SubTypeSet.CreatureType),
// K
KALEESH("Kaleesh", SubTypeSet.CreatureType, true), // Star Wars
KANGAROO("Kangaroo", SubTypeSet.CreatureType),
KAVU("Kavu", SubTypeSet.CreatureType),
KELDOR("KelDor", SubTypeSet.CreatureType, true),
KILLBOT("Killbot", SubTypeSet.CreatureType, true), // Unstable