mirror of
https://github.com/correl/mage.git
synced 2025-03-13 01:09:53 -09:00
[CLB] Implemented Earth Tremor
This commit is contained in:
parent
eee9fb9f25
commit
2adf5ca7b6
2 changed files with 36 additions and 0 deletions
Mage.Sets/src/mage
35
Mage.Sets/src/mage/cards/e/EarthTremor.java
Normal file
35
Mage.Sets/src/mage/cards/e/EarthTremor.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.LandsYouControlCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.hint.common.LandsYouControlHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EarthTremor extends CardImpl {
|
||||
|
||||
public EarthTremor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}");
|
||||
|
||||
// Earth Tremor deals damage to target creature or planeswalker equal to the number of lands you control.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(LandsYouControlCount.instance));
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
this.getSpellAbility().addHint(LandsYouControlHint.instance)
|
||||
}
|
||||
|
||||
private EarthTremor(final EarthTremor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EarthTremor copy() {
|
||||
return new EarthTremor(this);
|
||||
}
|
||||
}
|
|
@ -109,6 +109,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Duke Ulder Ravengard", 272, Rarity.RARE, mage.cards.d.DukeUlderRavengard.class));
|
||||
cards.add(new SetCardInfo("Dungeon Delver", 67, Rarity.UNCOMMON, mage.cards.d.DungeonDelver.class));
|
||||
cards.add(new SetCardInfo("Dungeoneer's Pack", 312, Rarity.UNCOMMON, mage.cards.d.DungeoneersPack.class));
|
||||
cards.add(new SetCardInfo("Earth Tremor", 171, Rarity.COMMON, mage.cards.e.EarthTremor.class));
|
||||
cards.add(new SetCardInfo("Earthquake Dragon", 228, Rarity.RARE, mage.cards.e.EarthquakeDragon.class));
|
||||
cards.add(new SetCardInfo("Elder Brain", 125, Rarity.RARE, mage.cards.e.ElderBrain.class));
|
||||
cards.add(new SetCardInfo("Eldritch Pact", 126, Rarity.RARE, mage.cards.e.EldritchPact.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue