mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
[DSK] Implement Flesh Burrower
This commit is contained in:
parent
1546e23007
commit
6e9428f373
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/f/FleshBurrower.java
Normal file
46
Mage.Sets/src/mage/cards/f/FleshBurrower.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FleshBurrower extends CardImpl {
|
||||
|
||||
public FleshBurrower(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||
|
||||
this.subtype.add(SubType.INSECT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Deathtouch
|
||||
this.addAbility(DeathtouchAbility.getInstance());
|
||||
|
||||
// Whenever Flesh Burrower attacks, another target creature you control gains deathtouch until end of turn.
|
||||
Ability ability = new AttacksTriggeredAbility(new GainAbilityTargetEffect(DeathtouchAbility.getInstance()));
|
||||
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_ANOTHER_TARGET_CREATURE_YOU_CONTROL));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private FleshBurrower(final FleshBurrower card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FleshBurrower copy() {
|
||||
return new FleshBurrower(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +65,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Fear of Surveillance", 11, Rarity.COMMON, mage.cards.f.FearOfSurveillance.class));
|
||||
cards.add(new SetCardInfo("Fear of the Dark", 98, Rarity.COMMON, mage.cards.f.FearOfTheDark.class));
|
||||
cards.add(new SetCardInfo("Final Vengeance", 99, Rarity.COMMON, mage.cards.f.FinalVengeance.class));
|
||||
cards.add(new SetCardInfo("Flesh Burrower", 178, Rarity.COMMON, mage.cards.f.FleshBurrower.class));
|
||||
cards.add(new SetCardInfo("Floodfarm Verge", 259, Rarity.RARE, mage.cards.f.FloodfarmVerge.class));
|
||||
cards.add(new SetCardInfo("Floodpits Drowner", 59, Rarity.UNCOMMON, mage.cards.f.FloodpitsDrowner.class));
|
||||
cards.add(new SetCardInfo("Forest", 276, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue