mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Implemented Crash of Rhino Beetles
This commit is contained in:
parent
8bf4d13aeb
commit
ee361da05f
2 changed files with 60 additions and 0 deletions
59
Mage.Sets/src/mage/cards/c/CrashOfRhinoBeetles.java
Normal file
59
Mage.Sets/src/mage/cards/c/CrashOfRhinoBeetles.java
Normal file
|
@ -0,0 +1,59 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CrashOfRhinoBeetles extends CardImpl {
|
||||
|
||||
public CrashOfRhinoBeetles(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}");
|
||||
|
||||
this.subtype.add(SubType.INSECT);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Crash of Rhino Beetles gets +10/+10 as long as you control ten or more lands.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new ConditionalContinuousEffect(
|
||||
new BoostSourceEffect(
|
||||
10, 10, Duration.WhileOnBattlefield
|
||||
),
|
||||
new PermanentsOnTheBattlefieldCondition(
|
||||
StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND,
|
||||
ComparisonType.MORE_THAN, 9
|
||||
),
|
||||
"{this} gets +10/+10 as long as you control ten or more lands"
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
public CrashOfRhinoBeetles(final CrashOfRhinoBeetles card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CrashOfRhinoBeetles copy() {
|
||||
return new CrashOfRhinoBeetles(this);
|
||||
}
|
||||
}
|
|
@ -27,6 +27,7 @@ public final class Commander2018 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Centaur Vinecrasher", 135, Rarity.RARE, mage.cards.c.CentaurVinecrasher.class));
|
||||
cards.add(new SetCardInfo("Chain Reaction", 121, Rarity.RARE, mage.cards.c.ChainReaction.class));
|
||||
cards.add(new SetCardInfo("Chaos Warp", 122, Rarity.RARE, mage.cards.c.ChaosWarp.class));
|
||||
cards.add(new SetCardInfo("Crash of Rhino Beetles", 29, Rarity.RARE, mage.cards.c.CrashOfRhinoBeetles.class));
|
||||
cards.add(new SetCardInfo("Echo Storm", 7, Rarity.RARE, mage.cards.e.EchoStorm.class));
|
||||
cards.add(new SetCardInfo("Eidolon of Blossoms", 140, Rarity.RARE, mage.cards.e.EidolonOfBlossoms.class));
|
||||
cards.add(new SetCardInfo("Enchanter's Bane", 21, Rarity.RARE, mage.cards.e.EnchantersBane.class));
|
||||
|
|
Loading…
Reference in a new issue