mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[FDN] Implement Cackling Prowler
This commit is contained in:
parent
b7a04ae89b
commit
49b574d324
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/c/CacklingProwler.java
Normal file
49
Mage.Sets/src/mage/cards/c/CacklingProwler.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.condition.common.MorbidCondition;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.hint.common.MorbidHint;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.abilities.triggers.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CacklingProwler extends CardImpl {
|
||||
|
||||
public CacklingProwler(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
||||
|
||||
this.subtype.add(SubType.HYENA);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Ward {2}
|
||||
this.addAbility(new WardAbility(new ManaCostsImpl<>("{2}")));
|
||||
|
||||
// Morbid -- At the beginning of your end step, if a creature died this turn put a +1/+1 counter on this creature.
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance())
|
||||
).withInterveningIf(MorbidCondition.instance).setAbilityWord(AbilityWord.MORBID).addHint(MorbidHint.instance));
|
||||
}
|
||||
|
||||
private CacklingProwler(final CacklingProwler card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CacklingProwler copy() {
|
||||
return new CacklingProwler(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -89,6 +89,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Burrog Befuddler", 504, Rarity.COMMON, mage.cards.b.BurrogBefuddler.class));
|
||||
cards.add(new SetCardInfo("Burst Lightning", 192, Rarity.COMMON, mage.cards.b.BurstLightning.class));
|
||||
cards.add(new SetCardInfo("Bushwhack", 215, Rarity.COMMON, mage.cards.b.Bushwhack.class));
|
||||
cards.add(new SetCardInfo("Cackling Prowler", 101, Rarity.COMMON, mage.cards.c.CacklingProwler.class));
|
||||
cards.add(new SetCardInfo("Campus Guide", 251, Rarity.COMMON, mage.cards.c.CampusGuide.class));
|
||||
cards.add(new SetCardInfo("Cancel", 505, Rarity.COMMON, mage.cards.c.Cancel.class));
|
||||
cards.add(new SetCardInfo("Carnelian Orb of Dragonkind", 534, Rarity.COMMON, mage.cards.c.CarnelianOrbOfDragonkind.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue