mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented King Kong
This commit is contained in:
parent
06f5ad8cab
commit
95d75ebf2d
3 changed files with 81 additions and 1 deletions
78
Mage.Sets/src/mage/cards/k/KoglaTheTitanApe.java
Normal file
78
Mage.Sets/src/mage/cards/k/KoglaTheTitanApe.java
Normal file
|
@ -0,0 +1,78 @@
|
|||
package mage.cards.k;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.FightTargetSourceEffect;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||
import mage.abilities.keyword.IndestructibleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterArtifactOrEnchantmentPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.DefendingPlayerControlsPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class KoglaTheTitanApe extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterCreaturePermanent("creature you don't control");
|
||||
private static final FilterPermanent filter2
|
||||
= new FilterArtifactOrEnchantmentPermanent("artifact or enchantment defending player controls");
|
||||
private static final FilterPermanent filter3
|
||||
= new FilterControlledPermanent(SubType.HUMAN);
|
||||
|
||||
static {
|
||||
filter.add(TargetController.NOT_YOU.getControllerPredicate());
|
||||
filter2.add(DefendingPlayerControlsPredicate.instance);
|
||||
}
|
||||
|
||||
public KoglaTheTitanApe(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{G}{G}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.APE);
|
||||
this.power = new MageInt(7);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// When Kogla, the Titan Ape enters the battlefield, it fights up to one target creature you don't control.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new FightTargetSourceEffect()
|
||||
.setText("it fights up to one target creature you don't control"));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Whenever Kogla attacks, destroy target artifact or enchantment defending player controls.
|
||||
ability = new AttacksTriggeredAbility(new DestroyTargetEffect(), false);
|
||||
ability.addTarget(new TargetPermanent(filter2));
|
||||
this.addAbility(ability);
|
||||
|
||||
// {1}{G}: Return target Human you control to its owner's hand. Kogla gains indestructible until end of turn.
|
||||
ability = new SimpleActivatedAbility(new ReturnToHandTargetEffect(), new ManaCostsImpl("{1}{G}"));
|
||||
ability.addEffect(new GainAbilitySourceEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetPermanent(filter3));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private KoglaTheTitanApe(final KoglaTheTitanApe card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KoglaTheTitanApe copy() {
|
||||
return new KoglaTheTitanApe(this);
|
||||
}
|
||||
}
|
||||
// it was beauty killed the beast
|
|
@ -32,6 +32,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Fully Grown", 154, Rarity.COMMON, mage.cards.f.FullyGrown.class));
|
||||
cards.add(new SetCardInfo("Gloom Pangolin", 89, Rarity.COMMON, mage.cards.g.GloomPangolin.class));
|
||||
cards.add(new SetCardInfo("Grimdancer", 90, Rarity.UNCOMMON, mage.cards.g.Grimdancer.class));
|
||||
cards.add(new SetCardInfo("Kogla, the Titan Ape", 328, Rarity.RARE, mage.cards.k.KoglaTheTitanApe.class));
|
||||
cards.add(new SetCardInfo("Mosscoat Goriak", 167, Rarity.COMMON, mage.cards.m.MosscoatGoriak.class));
|
||||
cards.add(new SetCardInfo("Pacifism", 25, Rarity.COMMON, mage.cards.p.Pacifism.class));
|
||||
cards.add(new SetCardInfo("Snapdax, Apex of the Hunt", 209, Rarity.MYTHIC, mage.cards.s.SnapdaxApexOfTheHunt.class));
|
||||
|
|
|
@ -36758,5 +36758,6 @@ Gyruda, Doom of Depths|Ikoria: Lair of Behemoths|221|R|{4}{U/B}{U/B}|Legendary C
|
|||
Lutri, the Spellchaser|Ikoria: Lair of Behemoths|227|R|{1}{U/R}{U/R}|Legendary Creature - Elemental Otter|3|2|Companion — Each nonland card in your starting deck has a different name.$Flash$When Lutri, the Spellchaser enters the battlefield, if you cast it, copy target instant or sorcery spell you control. You may choose new targets for the copy.|
|
||||
Umori, the Collector|Ikoria: Lair of Behemoths|231|R|{2}{B/G}{B/G}|Legendary Creature - Ooze|4|5|Companion — Each nonland card in your starting deck shares a card type.$As Umori, the Collector enters the battlefield, choose a card type.$Spells you cast of the chosen type cost {1} less to cast.|
|
||||
Zilortha, Strength Incarnate|Ikoria: Lair of Behemoths|275|M|{3}{R}{G}|Legendary Creature - Dinosaur|7|3|Trample$Lethal damage dealt to creatures you control is determined by their power rather than their toughness.|
|
||||
Luminous Broodmoth|Ikoria: Lair of Behemoths|316|R|{2}{W}{W}|Creature - Insect|3|4|Flying$Whenever a creature you control without flying dies, return it to the battlefield under its owner's control with a flying counter on it.|
|
||||
Luminous Broodmoth|Ikoria: Lair of Behemoths|316|M|{2}{W}{W}|Creature - Insect|3|4|Flying$Whenever a creature you control without flying dies, return it to the battlefield under its owner's control with a flying counter on it.|
|
||||
Kogla, the Titan Ape|Ikoria: Lair of Behemoths|328|R|{3}{G}{G}{G}|Legendary Creature - Ape|7|6|When Kogla, the Titan Ape enters the battlefield, it fights up to one target creature you don't control.$Whenever Kogla attacks, destroy target artifact or enchantment defending player control.${1}{G}: Return target Human you control to its owner's hand. Kogla gains indestructible until end of turn.|
|
||||
Keruga, the Macrosage|Ikoria: Lair of Behemoths|354|R|{3}{G/U}{G/U}|Legendary Creature - Dinosaur Hippo|5|4|Companion — Your starting deck contains only cards with converted mana cost 3 or greater and land cards.$When Keruga, the Macrosage enters the battlefield, draw a card for each other permanent you control with converted mana cost 3 or greater.|
|
||||
|
|
Loading…
Reference in a new issue