mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[MH2] Implemented Search the Premises
This commit is contained in:
parent
f653ba91fc
commit
8a5b9a6018
2 changed files with 34 additions and 0 deletions
33
Mage.Sets/src/mage/cards/s/SearchThePremises.java
Normal file
33
Mage.Sets/src/mage/cards/s/SearchThePremises.java
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
package mage.cards.s;
|
||||||
|
|
||||||
|
import mage.abilities.common.AttacksAllTriggeredAbility;
|
||||||
|
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class SearchThePremises extends CardImpl {
|
||||||
|
|
||||||
|
public SearchThePremises(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{W}");
|
||||||
|
|
||||||
|
// Whenever a creature attacks you or a planeswalker you control, investigate.
|
||||||
|
this.addAbility(new AttacksAllTriggeredAbility(
|
||||||
|
new InvestigateEffect(), false, true
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
private SearchThePremises(final SearchThePremises card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public SearchThePremises copy() {
|
||||||
|
return new SearchThePremises(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -180,6 +180,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Sea Drake", 268, Rarity.UNCOMMON, mage.cards.s.SeaDrake.class));
|
cards.add(new SetCardInfo("Sea Drake", 268, Rarity.UNCOMMON, mage.cards.s.SeaDrake.class));
|
||||||
cards.add(new SetCardInfo("Seal of Cleansing", 264, Rarity.UNCOMMON, mage.cards.s.SealOfCleansing.class));
|
cards.add(new SetCardInfo("Seal of Cleansing", 264, Rarity.UNCOMMON, mage.cards.s.SealOfCleansing.class));
|
||||||
cards.add(new SetCardInfo("Seal of Removal", 269, Rarity.UNCOMMON, mage.cards.s.SealOfRemoval.class));
|
cards.add(new SetCardInfo("Seal of Removal", 269, Rarity.UNCOMMON, mage.cards.s.SealOfRemoval.class));
|
||||||
|
cards.add(new SetCardInfo("Search the Premises", 29, Rarity.RARE, mage.cards.s.SearchThePremises.class));
|
||||||
cards.add(new SetCardInfo("Shardless Agent", 292, Rarity.RARE, mage.cards.s.ShardlessAgent.class));
|
cards.add(new SetCardInfo("Shardless Agent", 292, Rarity.RARE, mage.cards.s.ShardlessAgent.class));
|
||||||
cards.add(new SetCardInfo("Shattered Ego", 62, Rarity.COMMON, mage.cards.s.ShatteredEgo.class));
|
cards.add(new SetCardInfo("Shattered Ego", 62, Rarity.COMMON, mage.cards.s.ShatteredEgo.class));
|
||||||
cards.add(new SetCardInfo("Silverbluff Bridge", 255, Rarity.COMMON, mage.cards.s.SilverbluffBridge.class));
|
cards.add(new SetCardInfo("Silverbluff Bridge", 255, Rarity.COMMON, mage.cards.s.SilverbluffBridge.class));
|
||||||
|
|
Loading…
Reference in a new issue