forked from External/mage
Implemented Quakefoot Cyclops
This commit is contained in:
parent
e029989174
commit
cc8150bb84
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/q/QuakefootCyclops.java
Normal file
53
Mage.Sets/src/mage/cards/q/QuakefootCyclops.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.q;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.CycleTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.combat.CantBlockTargetEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class QuakefootCyclops extends CardImpl {
|
||||
|
||||
public QuakefootCyclops(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}");
|
||||
|
||||
this.subtype.add(SubType.CYCLOPS);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Quakefoot Cyclops enters the battlefield, up to two target creatures can't block this turn.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Cycling {1}{R}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}{R}")));
|
||||
|
||||
// When you cycle Quakefoot Cyclops, target creature can't block this turn.
|
||||
ability = new CycleTriggeredAbility(new CantBlockTargetEffect(Duration.EndOfTurn));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private QuakefootCyclops(final QuakefootCyclops card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public QuakefootCyclops copy() {
|
||||
return new QuakefootCyclops(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -166,6 +166,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Prohibit", 64, Rarity.COMMON, mage.cards.p.Prohibit.class));
|
||||
cards.add(new SetCardInfo("Putrid Goblin", 101, Rarity.COMMON, mage.cards.p.PutridGoblin.class));
|
||||
cards.add(new SetCardInfo("Pyrophobia", 141, Rarity.COMMON, mage.cards.p.Pyrophobia.class));
|
||||
cards.add(new SetCardInfo("Quakefoot Cyclops", 142, Rarity.COMMON, mage.cards.q.QuakefootCyclops.class));
|
||||
cards.add(new SetCardInfo("Rain of Revelation", 65, Rarity.COMMON, mage.cards.r.RainOfRevelation.class));
|
||||
cards.add(new SetCardInfo("Ranger-Captain of Eos", 21, Rarity.MYTHIC, mage.cards.r.RangerCaptainOfEos.class));
|
||||
cards.add(new SetCardInfo("Rank Officer", 102, Rarity.COMMON, mage.cards.r.RankOfficer.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue