mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[MB2] Implement Rusko, Clockmaker
This commit is contained in:
parent
be84dbaa0f
commit
20ebb7fbe8
4 changed files with 71 additions and 0 deletions
68
Mage.Sets/src/mage/cards/r/RuskoClockmaker.java
Normal file
68
Mage.Sets/src/mage/cards/r/RuskoClockmaker.java
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SpellCastControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.ConjureCardEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RuskoClockmaker extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledPermanent("permanent you control named Midnight Clock");
|
||||
|
||||
static {
|
||||
filter.add(new NamePredicate("Midnight Clock"));
|
||||
}
|
||||
|
||||
public RuskoClockmaker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}{B}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ARTIFICER);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When Rusko, Clockmaker enters, conjure a card named Midnight Clock onto the battlefield.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
new ConjureCardEffect("Midnight Clock", Zone.BATTLEFIELD, 1)
|
||||
));
|
||||
|
||||
// Whenever you cast a noncreature spell, put an hour counter on each permanent you control named Midnight Clock. Each opponent loses 1 life and you gain 1 life.
|
||||
Ability ability = new SpellCastControllerTriggeredAbility(
|
||||
new AddCountersAllEffect(CounterType.HOUR.createInstance(), filter),
|
||||
StaticFilters.FILTER_SPELL_A_NON_CREATURE, false
|
||||
);
|
||||
ability.addEffect(new LoseLifeOpponentsEffect(1));
|
||||
ability.addEffect(new GainLifeEffect(1).concatBy("and"));
|
||||
}
|
||||
|
||||
private RuskoClockmaker(final RuskoClockmaker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RuskoClockmaker copy() {
|
||||
return new RuskoClockmaker(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -196,6 +196,7 @@ public class MysteryBooster2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Rite of Flame", 59, Rarity.COMMON, mage.cards.r.RiteOfFlame.class));
|
||||
cards.add(new SetCardInfo("Rot Hulk", 128, Rarity.MYTHIC, mage.cards.r.RotHulk.class));
|
||||
cards.add(new SetCardInfo("Ruination", 199, Rarity.RARE, mage.cards.r.Ruination.class));
|
||||
cards.add(new SetCardInfo("Rusko, Clockmaker", 263, Rarity.UNCOMMON, mage.cards.r.RuskoClockmaker.class));
|
||||
cards.add(new SetCardInfo("Sakura-Tribe Elder", 72, Rarity.COMMON, mage.cards.s.SakuraTribeElder.class));
|
||||
cards.add(new SetCardInfo("Sarkhan, Fireblood", 60, Rarity.MYTHIC, mage.cards.s.SarkhanFireblood.class));
|
||||
cards.add(new SetCardInfo("Scalelord Reckoner", 151, Rarity.RARE, mage.cards.s.ScalelordReckoner.class));
|
||||
|
|
|
|||
|
|
@ -192,6 +192,7 @@ Modern Masters 2017|ModernMasters2017|
|
|||
Morningtide|Morningtide|
|
||||
Murders at Karlov Manor|MurdersAtKarlovManor|
|
||||
Murders at Karlov Manor Commander|MurdersAtKarlovManorCommander|
|
||||
Mystery Booster 2|MysteryBooster2|
|
||||
Ravnica: Clue Edition|RavnicaClueEdition|
|
||||
Nemesis|Nemesis|
|
||||
New Phyrexia|NewPhyrexia|
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ Masterpiece Series|MPS|
|
|||
Mirrodin|MRD|
|
||||
Murders at Karlov Manor|MKM|
|
||||
Murders at Karlov Manor Commander|MKC|
|
||||
Mystery Booster 2|MB2|
|
||||
Ravnica: Clue Edition|CLU|
|
||||
Nemesis|NEM|
|
||||
New Phyrexia|NPH|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue