forked from External/mage
[LCI] Implement Hunter's Blowgun
This commit is contained in:
parent
6e3293e154
commit
36fe0f1103
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/h/HuntersBlowgun.java
Normal file
51
Mage.Sets/src/mage/cards/h/HuntersBlowgun.java
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MyTurnCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEquippedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.keyword.DeathtouchAbility;
|
||||
import mage.abilities.keyword.EquipAbility;
|
||||
import mage.abilities.keyword.ReachAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AttachmentType;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class HuntersBlowgun extends CardImpl {
|
||||
|
||||
public HuntersBlowgun(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{1}");
|
||||
|
||||
this.subtype.add(SubType.EQUIPMENT);
|
||||
|
||||
// Equipped creature gets +1/+1.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEquippedEffect(1, 1)));
|
||||
|
||||
// Equipped creature has deathtouch as long as it's your turn. Otherwise, it has reach.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new GainAbilityAttachedEffect(DeathtouchAbility.getInstance(), AttachmentType.EQUIPMENT),
|
||||
new GainAbilityAttachedEffect(ReachAbility.getInstance(), AttachmentType.EQUIPMENT),
|
||||
MyTurnCondition.instance, "equipped creature has deathtouch as long as it's your turn. Otherwise, it has reach"
|
||||
)));
|
||||
|
||||
// Equip {2}
|
||||
this.addAbility(new EquipAbility(2));
|
||||
}
|
||||
|
||||
private HuntersBlowgun(final HuntersBlowgun card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HuntersBlowgun copy() {
|
||||
return new HuntersBlowgun(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -133,6 +133,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Huatli's Final Strike", 190, Rarity.COMMON, mage.cards.h.HuatlisFinalStrike.class));
|
||||
cards.add(new SetCardInfo("Huatli, Poet of Unity", 189, Rarity.MYTHIC, mage.cards.h.HuatliPoetOfUnity.class));
|
||||
cards.add(new SetCardInfo("Hulking Raptor", 191, Rarity.RARE, mage.cards.h.HulkingRaptor.class));
|
||||
cards.add(new SetCardInfo("Hunter's Blowgun", 255, Rarity.COMMON, mage.cards.h.HuntersBlowgun.class));
|
||||
cards.add(new SetCardInfo("Hurl into History", 59, Rarity.UNCOMMON, mage.cards.h.HurlIntoHistory.class));
|
||||
cards.add(new SetCardInfo("Idol of the Deep King", 155, Rarity.COMMON, mage.cards.i.IdolOfTheDeepKing.class));
|
||||
cards.add(new SetCardInfo("Inti, Seneschal of the Sun", 156, Rarity.RARE, mage.cards.i.IntiSeneschalOfTheSun.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue