mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
[WOE] Implement Tattered Ratter (#10891)
This commit is contained in:
parent
20bc155e91
commit
be2fb824fc
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/t/TatteredRatter.java
Normal file
45
Mage.Sets/src/mage/cards/t/TatteredRatter.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BecomesBlockedAllTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class TatteredRatter extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent(SubType.RAT, "Rat you control");
|
||||
|
||||
public TatteredRatter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.PEASANT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever a Rat you control becomes blocked, it gets +2/+0 until end of turn.
|
||||
this.addAbility(new BecomesBlockedAllTriggeredAbility(
|
||||
new BoostTargetEffect(2, 0, Duration.EndOfTurn),
|
||||
false, filter, true
|
||||
));
|
||||
}
|
||||
|
||||
private TatteredRatter(final TatteredRatter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TatteredRatter copy() {
|
||||
return new TatteredRatter(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -110,6 +110,7 @@ public final class WildsOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Talion's Messenger", 73, Rarity.RARE, mage.cards.t.TalionsMessenger.class));
|
||||
cards.add(new SetCardInfo("Talion, the Kindly Lord", 215, Rarity.MYTHIC, mage.cards.t.TalionTheKindlyLord.class));
|
||||
cards.add(new SetCardInfo("Tanglespan Lookout", 188, Rarity.UNCOMMON, mage.cards.t.TanglespanLookout.class));
|
||||
cards.add(new SetCardInfo("Tattered Ratter", 152, Rarity.UNCOMMON, mage.cards.t.TatteredRatter.class));
|
||||
cards.add(new SetCardInfo("The Goose Mother", 204, Rarity.RARE, mage.cards.t.TheGooseMother.class));
|
||||
cards.add(new SetCardInfo("The Huntsman's Redemption", 176, Rarity.RARE, mage.cards.t.TheHuntsmansRedemption.class));
|
||||
cards.add(new SetCardInfo("Threadbind Clique", 239, Rarity.UNCOMMON, mage.cards.t.ThreadbindClique.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue