mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
[KHM] Implemented Kaya's Onslaught
This commit is contained in:
parent
bb9a7ccc40
commit
63c2f1493a
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/k/KayasOnslaught.java
Normal file
44
Mage.Sets/src/mage/cards/k/KayasOnslaught.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.DoubleStrikeAbility;
|
||||
import mage.abilities.keyword.ForetellAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class KayasOnslaught extends CardImpl {
|
||||
|
||||
public KayasOnslaught(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{W}");
|
||||
|
||||
// Target creature gets +1/+1 and gains double strike until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(
|
||||
1, 1, Duration.EndOfTurn
|
||||
).setText("target creature gets +1/+1"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
|
||||
DoubleStrikeAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("and gains double strike until end of turn"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Foretell {W}
|
||||
this.addAbility(new ForetellAbility(this, "{W}"));
|
||||
}
|
||||
|
||||
private KayasOnslaught(final KayasOnslaught card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KayasOnslaught copy() {
|
||||
return new KayasOnslaught(this);
|
||||
}
|
||||
}
|
|
@ -90,6 +90,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Inga Rune-Eyes", 64, Rarity.UNCOMMON, mage.cards.i.IngaRuneEyes.class));
|
||||
cards.add(new SetCardInfo("Invasion of the Giants", 215, Rarity.UNCOMMON, mage.cards.i.InvasionOfTheGiants.class));
|
||||
cards.add(new SetCardInfo("Kaya the Inexorable", 218, Rarity.MYTHIC, mage.cards.k.KayaTheInexorable.class));
|
||||
cards.add(new SetCardInfo("Kaya's Onslaught", 18, Rarity.UNCOMMON, mage.cards.k.KayasOnslaught.class));
|
||||
cards.add(new SetCardInfo("Koll, the Forgemaster", 220, Rarity.UNCOMMON, mage.cards.k.KollTheForgemaster.class));
|
||||
cards.add(new SetCardInfo("Koma's Faithful", 102, Rarity.COMMON, mage.cards.k.KomasFaithful.class));
|
||||
cards.add(new SetCardInfo("Magda, Brazen Outlaw", 142, Rarity.RARE, mage.cards.m.MagdaBrazenOutlaw.class));
|
||||
|
|
Loading…
Reference in a new issue