forked from External/mage
41 lines
1.2 KiB
Java
41 lines
1.2 KiB
Java
|
|
package mage.cards.s;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
|
|
import mage.abilities.effects.common.discard.DiscardEachPlayerEffect;
|
|
import mage.abilities.keyword.ShadowAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
|
|
/**
|
|
*
|
|
* @author LevelX2
|
|
*/
|
|
public final class StrongholdRats extends CardImpl {
|
|
|
|
public StrongholdRats(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
|
|
this.subtype.add(SubType.RAT);
|
|
|
|
this.power = new MageInt(2);
|
|
this.toughness = new MageInt(1);
|
|
|
|
// Shadow
|
|
this.addAbility(ShadowAbility.getInstance());
|
|
// Whenever Stronghold Rats deals combat damage to a player, each player discards a card.
|
|
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new DiscardEachPlayerEffect(), false));
|
|
}
|
|
|
|
public StrongholdRats(final StrongholdRats card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public StrongholdRats copy() {
|
|
return new StrongholdRats(this);
|
|
}
|
|
}
|