mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[VOC] Implemented Drogskol Reinforcements
This commit is contained in:
parent
9c5f63403a
commit
8fd2ed476e
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/d/DrogskolReinforcements.java
Normal file
57
Mage.Sets/src/mage/cards/d/DrogskolReinforcements.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.PreventAllNonCombatDamageToAllEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
|
||||
import mage.abilities.keyword.MeleeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DrogskolReinforcements extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledPermanent(SubType.SPIRIT, "Spirits you control");
|
||||
|
||||
public DrogskolReinforcements(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}");
|
||||
|
||||
this.subtype.add(SubType.SPIRIT);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Melee
|
||||
this.addAbility(new MeleeAbility());
|
||||
|
||||
// Other Spirits you control have melee.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilityAllEffect(
|
||||
new MeleeAbility(), Duration.WhileOnBattlefield, filter, true
|
||||
)));
|
||||
|
||||
// Prevent all noncombat damage that would be dealt to Spirits you control.
|
||||
this.addAbility(new SimpleStaticAbility(new PreventAllNonCombatDamageToAllEffect(
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_CONTROLLED_CREATURES
|
||||
)));
|
||||
}
|
||||
|
||||
private DrogskolReinforcements(final DrogskolReinforcements card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DrogskolReinforcements copy() {
|
||||
return new DrogskolReinforcements(this);
|
||||
}
|
||||
}
|
|
@ -57,6 +57,7 @@ public final class CrimsonVowCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Doom Weaver", 34, Rarity.RARE, mage.cards.d.DoomWeaver.class));
|
||||
cards.add(new SetCardInfo("Dovin, Grand Arbiter", 153, Rarity.MYTHIC, mage.cards.d.DovinGrandArbiter.class));
|
||||
cards.add(new SetCardInfo("Drogskol Captain", 154, Rarity.UNCOMMON, mage.cards.d.DrogskolCaptain.class));
|
||||
cards.add(new SetCardInfo("Drogskol Reinforcements", 5, Rarity.RARE, mage.cards.d.DrogskolReinforcements.class));
|
||||
cards.add(new SetCardInfo("Ethereal Investigator", 12, Rarity.RARE, mage.cards.e.EtherealInvestigator.class));
|
||||
cards.add(new SetCardInfo("Exotic Orchard", 173, Rarity.RARE, mage.cards.e.ExoticOrchard.class));
|
||||
cards.add(new SetCardInfo("Falkenrath Gorger", 146, Rarity.RARE, mage.cards.f.FalkenrathGorger.class));
|
||||
|
|
Loading…
Reference in a new issue