mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
[SNC] Implemented Swooping Protector
This commit is contained in:
parent
2938328e2e
commit
9919a6624e
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/s/SwoopingProtector.java
Normal file
51
Mage.Sets/src/mage/cards/s/SwoopingProtector.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.counters.CounterType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SwoopingProtector extends CardImpl {
|
||||
|
||||
public SwoopingProtector(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.BIRD);
|
||||
this.subtype.add(SubType.CITIZEN);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Swooping Protector enters the battlefield with a shield counter on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(
|
||||
new AddCountersSourceEffect(CounterType.SHIELD.createInstance(1)),
|
||||
"with a shield counter on it. <i>(If it would be dealt damage " +
|
||||
"or destroyed, remove a shield counter from it instead.)</i>"
|
||||
));
|
||||
}
|
||||
|
||||
private SwoopingProtector(final SwoopingProtector card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SwoopingProtector copy() {
|
||||
return new SwoopingProtector(this);
|
||||
}
|
||||
}
|
|
@ -172,6 +172,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Strangle", 125, Rarity.COMMON, mage.cards.s.Strangle.class));
|
||||
cards.add(new SetCardInfo("Suspicious Bookcase", 245, Rarity.UNCOMMON, mage.cards.s.SuspiciousBookcase.class));
|
||||
cards.add(new SetCardInfo("Swamp", 266, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swooping Protector", 33, Rarity.UNCOMMON, mage.cards.s.SwoopingProtector.class));
|
||||
cards.add(new SetCardInfo("Syndicate Infiltrator", 226, Rarity.UNCOMMON, mage.cards.s.SyndicateInfiltrator.class));
|
||||
cards.add(new SetCardInfo("Tainted Indulgence", 227, Rarity.UNCOMMON, mage.cards.t.TaintedIndulgence.class));
|
||||
cards.add(new SetCardInfo("Take to the Streets", 158, Rarity.UNCOMMON, mage.cards.t.TakeToTheStreets.class));
|
||||
|
|
Loading…
Reference in a new issue