mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Implemented Burglar Rat
This commit is contained in:
parent
23a376ef42
commit
2925c1e70c
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/b/BurglarRat.java
Normal file
44
Mage.Sets/src/mage/cards/b/BurglarRat.java
Normal file
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.discard.DiscardEachPlayerEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BurglarRat extends CardImpl {
|
||||
|
||||
public BurglarRat(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.RAT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Burglar Rat enters the battlefield, each opponent discards a card.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(
|
||||
new DiscardEachPlayerEffect(
|
||||
new StaticValue(1), false,
|
||||
TargetController.OPPONENT
|
||||
)
|
||||
));
|
||||
}
|
||||
|
||||
public BurglarRat(final BurglarRat card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BurglarRat copy() {
|
||||
return new BurglarRat(this);
|
||||
}
|
||||
}
|
|
@ -43,6 +43,7 @@ public final class GuildsOfRavnica extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Boros Guildgate", 244, Rarity.COMMON, mage.cards.b.BorosGuildgate.class));
|
||||
cards.add(new SetCardInfo("Boros Locket", 231, Rarity.COMMON, mage.cards.b.BorosLocket.class));
|
||||
cards.add(new SetCardInfo("Bounty Agent", 2, Rarity.RARE, mage.cards.b.BountyAgent.class));
|
||||
cards.add(new SetCardInfo("Burglar Rat", 64, Rarity.COMMON, mage.cards.b.BurglarRat.class));
|
||||
cards.add(new SetCardInfo("Camaraderie", 157, Rarity.RARE, mage.cards.c.Camaraderie.class));
|
||||
cards.add(new SetCardInfo("Centaur Peacemaker", 158, Rarity.COMMON, mage.cards.c.CentaurPeacemaker.class));
|
||||
cards.add(new SetCardInfo("Chance for Glory", 159, Rarity.MYTHIC, mage.cards.c.ChanceForGlory.class));
|
||||
|
|
Loading…
Reference in a new issue