mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[ONE] Implement Bonepicker Skirge
This commit is contained in:
parent
5e7514ae4f
commit
309a563a25
2 changed files with 56 additions and 0 deletions
55
Mage.Sets/src/mage/cards/b/BonepickerSkirge.java
Normal file
55
Mage.Sets/src/mage/cards/b/BonepickerSkirge.java
Normal file
|
@ -0,0 +1,55 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.CorruptedCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BonepickerSkirge extends CardImpl {
|
||||
|
||||
public BonepickerSkirge(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.IMP);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Corrupted -- As long as an opponent has three or more poison counters, Bonepicker Skirge has deathtouch and lifelink.
|
||||
Ability ability = new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new GainAbilitySourceEffect(DeathtouchAbility.getInstance()), CorruptedCondition.instance,
|
||||
"as long as an opponent has three or more poison counters, {this} has deathtouch"
|
||||
));
|
||||
ability.addEffect(new ConditionalContinuousEffect(
|
||||
new GainAbilitySourceEffect(DeathtouchAbility.getInstance()),
|
||||
CorruptedCondition.instance, "and lifelink"
|
||||
));
|
||||
this.addAbility(ability.setAbilityWord(AbilityWord.CORRUPTED).addHint(CorruptedCondition.getHint()));
|
||||
}
|
||||
|
||||
private BonepickerSkirge(final BonepickerSkirge card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BonepickerSkirge copy() {
|
||||
return new BonepickerSkirge(this);
|
||||
}
|
||||
}
|
|
@ -30,6 +30,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Blightbelly Rat", 85, Rarity.COMMON, mage.cards.b.BlightbellyRat.class));
|
||||
cards.add(new SetCardInfo("Bloated Contaminator", 159, Rarity.RARE, mage.cards.b.BloatedContaminator.class));
|
||||
cards.add(new SetCardInfo("Blue Sun's Twilight", 43, Rarity.RARE, mage.cards.b.BlueSunsTwilight.class));
|
||||
cards.add(new SetCardInfo("Bonepicker Skirge", 86, Rarity.COMMON, mage.cards.b.BonepickerSkirge.class));
|
||||
cards.add(new SetCardInfo("Copperline Gorge", 249, Rarity.RARE, mage.cards.c.CopperlineGorge.class));
|
||||
cards.add(new SetCardInfo("Darkslick Shores", 372, Rarity.RARE, mage.cards.d.DarkslickShores.class));
|
||||
cards.add(new SetCardInfo("Dragonwing Glider", 126, Rarity.RARE, mage.cards.d.DragonwingGlider.class));
|
||||
|
|
Loading…
Reference in a new issue