forked from External/mage
[MKM] Implement Chalk Outline
This commit is contained in:
parent
0d313b6182
commit
79dd303e37
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/c/ChalkOutline.java
Normal file
39
Mage.Sets/src/mage/cards/c/ChalkOutline.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.CardsLeaveGraveyardTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.DetectiveToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ChalkOutline extends CardImpl {
|
||||
|
||||
public ChalkOutline(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{G}");
|
||||
|
||||
// Whenever one or more creature cards leave your graveyard, create a 2/2 white and blue Detective creature token, then investigate.
|
||||
Ability ability = new CardsLeaveGraveyardTriggeredAbility(
|
||||
new CreateTokenEffect(new DetectiveToken()), StaticFilters.FILTER_CARD_CREATURES
|
||||
);
|
||||
ability.addEffect(new InvestigateEffect().concatBy(", then"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private ChalkOutline(final ChalkOutline card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChalkOutline copy() {
|
||||
return new ChalkOutline(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -38,6 +38,7 @@ public final class MurdersAtKarlovManor extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Branch of Vitu-Ghazi", 258, Rarity.UNCOMMON, mage.cards.b.BranchOfVituGhazi.class));
|
||||
cards.add(new SetCardInfo("Burden of Proof", 42, Rarity.UNCOMMON, mage.cards.b.BurdenOfProof.class));
|
||||
cards.add(new SetCardInfo("Cerebral Confiscation", 81, Rarity.COMMON, mage.cards.c.CerebralConfiscation.class));
|
||||
cards.add(new SetCardInfo("Chalk Outline", 157, Rarity.UNCOMMON, mage.cards.c.ChalkOutline.class));
|
||||
cards.add(new SetCardInfo("Cold Case Cracker", 46, Rarity.COMMON, mage.cards.c.ColdCaseCracker.class));
|
||||
cards.add(new SetCardInfo("Commercial District", 259, Rarity.RARE, mage.cards.c.CommercialDistrict.class));
|
||||
cards.add(new SetCardInfo("Concealed Weapon", 117, Rarity.UNCOMMON, mage.cards.c.ConcealedWeapon.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue