mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Loyal Subordinate
This commit is contained in:
parent
e2ebe344d1
commit
85ad68a7a6
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/l/LoyalSubordinate.java
Normal file
52
Mage.Sets/src/mage/cards/l/LoyalSubordinate.java
Normal file
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.l;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
|
||||
import mage.abilities.condition.common.CommanderInPlayCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class LoyalSubordinate extends CardImpl {
|
||||
|
||||
public LoyalSubordinate(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Lieutenant — At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life.
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
new BeginningOfCombatTriggeredAbility(
|
||||
new LoseLifeOpponentsEffect(3),
|
||||
TargetController.YOU, false
|
||||
), CommanderInPlayCondition.instance,
|
||||
"<i>Lieutenant</i> — At the beginning of combat "
|
||||
+ "on your turn, if you control your commander, "
|
||||
+ "each opponent loses 3 life."
|
||||
));
|
||||
}
|
||||
|
||||
public LoyalSubordinate(final LoyalSubordinate card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LoyalSubordinate copy() {
|
||||
return new LoyalSubordinate(this);
|
||||
}
|
||||
}
|
|
@ -29,6 +29,7 @@ public final class Commander2018 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Enchanter's Bane", 21, Rarity.RARE, mage.cards.e.EnchantersBane.class));
|
||||
cards.add(new SetCardInfo("Forge of Heroes", 58, Rarity.COMMON, mage.cards.f.ForgeOfHeroes.class));
|
||||
cards.add(new SetCardInfo("Loyal Drake", 10, Rarity.UNCOMMON, mage.cards.l.LoyalDrake.class));
|
||||
cards.add(new SetCardInfo("Loyal Subordinate", 16, Rarity.UNCOMMON, mage.cards.l.LoyalSubordinate.class));
|
||||
cards.add(new SetCardInfo("Retrofitter Foundry", 57, Rarity.RARE, mage.cards.r.RetrofitterFoundry.class));
|
||||
cards.add(new SetCardInfo("Ruinous Path", 117, Rarity.RARE, mage.cards.r.RuinousPath.class));
|
||||
cards.add(new SetCardInfo("Saheeli's Directive", 26, Rarity.RARE, mage.cards.s.SaheelisDirective.class));
|
||||
|
|
Loading…
Reference in a new issue