mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[ONC] Implement Skyhunter Strike Force
This commit is contained in:
parent
b2b0a1df63
commit
9bbf7149e3
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/s/SkyhunterStrikeForce.java
Normal file
57
Mage.Sets/src/mage/cards/s/SkyhunterStrikeForce.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.CommanderInPlayCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.MeleeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SkyhunterStrikeForce extends CardImpl {
|
||||
|
||||
public SkyhunterStrikeForce(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
|
||||
|
||||
this.subtype.add(SubType.CAT);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Melee
|
||||
this.addAbility(new MeleeAbility());
|
||||
|
||||
// Lieutenant -- As long as you control your commander, other creatures you control have melee.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new GainAbilityControlledEffect(
|
||||
new MeleeAbility(), Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_CONTROLLED_CREATURES, true
|
||||
), CommanderInPlayCondition.instance, "as long as you control your commander, " +
|
||||
"other creatures you control have melee"
|
||||
)).setAbilityWord(AbilityWord.LIEUTENANT));
|
||||
}
|
||||
|
||||
private SkyhunterStrikeForce(final SkyhunterStrikeForce card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SkyhunterStrikeForce copy() {
|
||||
return new SkyhunterStrikeForce(this);
|
||||
}
|
||||
}
|
|
@ -119,6 +119,7 @@ public final class PhyrexiaAllWillBeOneCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Shineshadow Snarl", 164, Rarity.RARE, mage.cards.s.ShineshadowSnarl.class));
|
||||
cards.add(new SetCardInfo("Siege-Gang Commander", 103, Rarity.RARE, mage.cards.s.SiegeGangCommander.class));
|
||||
cards.add(new SetCardInfo("Silverwing Squadron", 88, Rarity.RARE, mage.cards.s.SilverwingSquadron.class));
|
||||
cards.add(new SetCardInfo("Skyhunter Strike Force", 21, Rarity.RARE, mage.cards.s.SkyhunterStrikeForce.class));
|
||||
cards.add(new SetCardInfo("Slayers' Stronghold", 165, Rarity.RARE, mage.cards.s.SlayersStronghold.class));
|
||||
cards.add(new SetCardInfo("Sol Ring", 140, Rarity.UNCOMMON, mage.cards.s.SolRing.class));
|
||||
cards.add(new SetCardInfo("Solemn Simulacrum", 141, Rarity.RARE, mage.cards.s.SolemnSimulacrum.class));
|
||||
|
|
Loading…
Reference in a new issue