mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Implemented Clash of Titans
This commit is contained in:
parent
6b03ffbf3d
commit
0424d0282a
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/c/ClashOfTitans.java
Normal file
47
Mage.Sets/src/mage/cards/c/ClashOfTitans.java
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
package mage.cards.c;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.FightTargetsEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.predicate.mageobject.AnotherTargetPredicate;
|
||||||
|
import mage.target.Target;
|
||||||
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class ClashOfTitans extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(new AnotherTargetPredicate(2));
|
||||||
|
}
|
||||||
|
|
||||||
|
public ClashOfTitans(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{R}{R}");
|
||||||
|
|
||||||
|
// Target creature fights another target creature.
|
||||||
|
this.getSpellAbility().addEffect(new FightTargetsEffect());
|
||||||
|
Target target = new TargetCreaturePermanent();
|
||||||
|
target.setTargetTag(1);
|
||||||
|
this.getSpellAbility().addTarget(target);
|
||||||
|
|
||||||
|
target = new TargetCreaturePermanent(filter);
|
||||||
|
target.setTargetTag(2);
|
||||||
|
this.getSpellAbility().addTarget(target);
|
||||||
|
}
|
||||||
|
|
||||||
|
private ClashOfTitans(final ClashOfTitans card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ClashOfTitans copy() {
|
||||||
|
return new ClashOfTitans(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -75,6 +75,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Charge of the Forever-Beast", 147, Rarity.UNCOMMON, mage.cards.c.ChargeOfTheForeverBeast.class));
|
cards.add(new SetCardInfo("Charge of the Forever-Beast", 147, Rarity.UNCOMMON, mage.cards.c.ChargeOfTheForeverBeast.class));
|
||||||
cards.add(new SetCardInfo("Chevill, Bane of Monsters", 181, Rarity.MYTHIC, mage.cards.c.ChevillBaneOfMonsters.class));
|
cards.add(new SetCardInfo("Chevill, Bane of Monsters", 181, Rarity.MYTHIC, mage.cards.c.ChevillBaneOfMonsters.class));
|
||||||
cards.add(new SetCardInfo("Chittering Harvester", 80, Rarity.UNCOMMON, mage.cards.c.ChitteringHarvester.class));
|
cards.add(new SetCardInfo("Chittering Harvester", 80, Rarity.UNCOMMON, mage.cards.c.ChitteringHarvester.class));
|
||||||
|
cards.add(new SetCardInfo("Clash of Titans", 111, Rarity.UNCOMMON, mage.cards.c.ClashOfTitans.class));
|
||||||
cards.add(new SetCardInfo("Cloudpiercer", 112, Rarity.COMMON, mage.cards.c.Cloudpiercer.class));
|
cards.add(new SetCardInfo("Cloudpiercer", 112, Rarity.COMMON, mage.cards.c.Cloudpiercer.class));
|
||||||
cards.add(new SetCardInfo("Colossification", 148, Rarity.RARE, mage.cards.c.Colossification.class));
|
cards.add(new SetCardInfo("Colossification", 148, Rarity.RARE, mage.cards.c.Colossification.class));
|
||||||
cards.add(new SetCardInfo("Crystalline Giant", 234, Rarity.RARE, mage.cards.c.CrystallineGiant.class));
|
cards.add(new SetCardInfo("Crystalline Giant", 234, Rarity.RARE, mage.cards.c.CrystallineGiant.class));
|
||||||
|
|
Loading…
Reference in a new issue