mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[OTJ] Implement Ornery Tumblewagg
This commit is contained in:
parent
906e1c2d3a
commit
18a05acd81
2 changed files with 63 additions and 0 deletions
62
Mage.Sets/src/mage/cards/o/OrneryTumblewagg.java
Normal file
62
Mage.Sets/src/mage/cards/o/OrneryTumblewagg.java
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksWhileSaddledTriggeredAbility;
|
||||
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
||||
import mage.abilities.effects.common.DoubleCountersTargetEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.keyword.SaddleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.counters.CounterType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class OrneryTumblewagg extends CardImpl {
|
||||
|
||||
public OrneryTumblewagg(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.BRUSHWAGG);
|
||||
this.subtype.add(SubType.MOUNT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// At the beginning of combat on your turn, put a +1/+1 counter on target creature.
|
||||
Ability ability = new BeginningOfCombatTriggeredAbility(
|
||||
new AddCountersTargetEffect(CounterType.P1P1.createInstance()),
|
||||
TargetController.YOU, false
|
||||
);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// Whenever Ornery Tumblewagg attacks while saddled, double the number of +1/+1 counters on target creature.
|
||||
ability = new AttacksWhileSaddledTriggeredAbility(
|
||||
new DoubleCountersTargetEffect(CounterType.P1P1)
|
||||
.setText("double the number of +1/+1 counters on target creature")
|
||||
);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// Saddle 2
|
||||
this.addAbility(new SaddleAbility(2));
|
||||
|
||||
}
|
||||
|
||||
private OrneryTumblewagg(final OrneryTumblewagg card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrneryTumblewagg copy() {
|
||||
return new OrneryTumblewagg(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -109,6 +109,7 @@ public final class OutlawsOfThunderJunction extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Oasis Gardener", 246, Rarity.COMMON, mage.cards.o.OasisGardener.class));
|
||||
cards.add(new SetCardInfo("Oko, the Ringleader", 223, Rarity.MYTHIC, mage.cards.o.OkoTheRingleader.class));
|
||||
cards.add(new SetCardInfo("Omenport Vigilante", 21, Rarity.UNCOMMON, mage.cards.o.OmenportVigilante.class));
|
||||
cards.add(new SetCardInfo("Ornery Tumblewagg", 171, Rarity.RARE, mage.cards.o.OrneryTumblewagg.class));
|
||||
cards.add(new SetCardInfo("Outcaster Trailblazer", 173, Rarity.RARE, mage.cards.o.OutcasterTrailblazer.class));
|
||||
cards.add(new SetCardInfo("Outlaw Stitcher", 59, Rarity.UNCOMMON, mage.cards.o.OutlawStitcher.class));
|
||||
cards.add(new SetCardInfo("Peerless Ropemaster", 60, Rarity.COMMON, mage.cards.p.PeerlessRopemaster.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue