mirror of
https://github.com/correl/mage.git
synced 2024-12-29 11:09:17 +00:00
[MOC] Implement Kasla, the Broken Halo
This commit is contained in:
parent
5e47ebcab1
commit
b68c0c712a
2 changed files with 71 additions and 0 deletions
70
Mage.Sets/src/mage/cards/k/KaslaTheBrokenHalo.java
Normal file
70
Mage.Sets/src/mage/cards/k/KaslaTheBrokenHalo.java
Normal file
|
@ -0,0 +1,70 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.abilities.keyword.ConvokeAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.VigilanceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.predicate.mageobject.AbilityPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class KaslaTheBrokenHalo extends CardImpl {
|
||||
|
||||
private static final FilterSpell filter = new FilterSpell("another spell that has convoke");
|
||||
|
||||
static {
|
||||
filter.add(new AbilityPredicate(ConvokeAbility.class));
|
||||
}
|
||||
|
||||
public KaslaTheBrokenHalo(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{R}{W}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ANGEL);
|
||||
this.subtype.add(SubType.ALLY);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Convoke
|
||||
this.addAbility(new ConvokeAbility());
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Vigilance
|
||||
this.addAbility(VigilanceAbility.getInstance());
|
||||
|
||||
// Haste
|
||||
this.addAbility(HasteAbility.getInstance());
|
||||
|
||||
// Whenever you cast another spell that has convoke, scry 2, then draw a card.
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(
|
||||
new ScryEffect(2, false), filter, false
|
||||
);
|
||||
ability.addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private KaslaTheBrokenHalo(final KaslaTheBrokenHalo card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KaslaTheBrokenHalo copy() {
|
||||
return new KaslaTheBrokenHalo(this);
|
||||
}
|
||||
}
|
|
@ -152,6 +152,7 @@ public final class MarchOfTheMachineCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Junk Winder", 225, Rarity.UNCOMMON, mage.cards.j.JunkWinder.class));
|
||||
cards.add(new SetCardInfo("Kalonian Hydra", 305, Rarity.MYTHIC, mage.cards.k.KalonianHydra.class));
|
||||
cards.add(new SetCardInfo("Karn's Bastion", 409, Rarity.RARE, mage.cards.k.KarnsBastion.class));
|
||||
cards.add(new SetCardInfo("Kasla, the Broken Halo", 4, Rarity.MYTHIC, mage.cards.k.KaslaTheBrokenHalo.class));
|
||||
cards.add(new SetCardInfo("Keeper of the Accord", 191, Rarity.RARE, mage.cards.k.KeeperOfTheAccord.class));
|
||||
cards.add(new SetCardInfo("Keskit, the Flesh Sculptor", 254, Rarity.UNCOMMON, mage.cards.k.KeskitTheFleshSculptor.class));
|
||||
cards.add(new SetCardInfo("Kessig Wolf Run", 410, Rarity.RARE, mage.cards.k.KessigWolfRun.class));
|
||||
|
|
Loading…
Reference in a new issue