mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[ONE] Implement Infectious Inquiry
This commit is contained in:
parent
f5bbc5c33d
commit
ed21b2c37f
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/i/InfectiousInquiry.java
Normal file
38
Mage.Sets/src/mage/cards/i/InfectiousInquiry.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersPlayersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class InfectiousInquiry extends CardImpl {
|
||||
|
||||
public InfectiousInquiry(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
||||
// You draw two cards and you lose 2 life. Each opponent gets a poison counter.
|
||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1, "you"));
|
||||
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2).concatBy("and"));
|
||||
this.getSpellAbility().addEffect(new AddCountersPlayersEffect(
|
||||
CounterType.POISON.createInstance(), TargetController.OPPONENT
|
||||
));
|
||||
}
|
||||
|
||||
private InfectiousInquiry(final InfectiousInquiry card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InfectiousInquiry copy() {
|
||||
return new InfectiousInquiry(this);
|
||||
}
|
||||
}
|
|
@ -84,6 +84,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ichorspit Basilisk", 170, Rarity.COMMON, mage.cards.i.IchorspitBasilisk.class));
|
||||
cards.add(new SetCardInfo("Incisor Glider", 15, Rarity.COMMON, mage.cards.i.IncisorGlider.class));
|
||||
cards.add(new SetCardInfo("Infectious Bite", 172, Rarity.UNCOMMON, mage.cards.i.InfectiousBite.class));
|
||||
cards.add(new SetCardInfo("Infectious Inquiry", 97, Rarity.COMMON, mage.cards.i.InfectiousInquiry.class));
|
||||
cards.add(new SetCardInfo("Infested Fleshcutter", 17, Rarity.UNCOMMON, mage.cards.i.InfestedFleshcutter.class));
|
||||
cards.add(new SetCardInfo("Island", 273, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Jawbone Duelist", 18, Rarity.UNCOMMON, mage.cards.j.JawboneDuelist.class));
|
||||
|
|
Loading…
Reference in a new issue