forked from External/mage
[LCI] Implement Huatli's Final Strike
This commit is contained in:
parent
9da2467030
commit
20d373e265
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/h/HuatlisFinalStrike.java
Normal file
37
Mage.Sets/src/mage/cards/h/HuatlisFinalStrike.java
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.abilities.effects.common.DamageWithPowerFromOneToAnotherTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class HuatlisFinalStrike extends CardImpl {
|
||||
|
||||
public HuatlisFinalStrike(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{G}");
|
||||
|
||||
// Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to target creature an opponent controls.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new DamageWithPowerFromOneToAnotherTargetEffect("it"));
|
||||
this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent());
|
||||
}
|
||||
|
||||
private HuatlisFinalStrike(final HuatlisFinalStrike card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HuatlisFinalStrike copy() {
|
||||
return new HuatlisFinalStrike(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -101,6 +101,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hidden Volcano", 277, Rarity.COMMON, mage.cards.h.HiddenVolcano.class));
|
||||
cards.add(new SetCardInfo("Hit the Mother Lode", 153, Rarity.RARE, mage.cards.h.HitTheMotherLode.class));
|
||||
cards.add(new SetCardInfo("Hoverstone Pilgrim", 254, Rarity.UNCOMMON, mage.cards.h.HoverstonePilgrim.class));
|
||||
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("Hurl into History", 59, Rarity.UNCOMMON, mage.cards.h.HurlIntoHistory.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue