mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[CMR] Implemented Dawnglade Regent
This commit is contained in:
parent
7dfc7c6f5a
commit
b0472db851
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/d/DawngladeRegent.java
Normal file
51
Mage.Sets/src/mage/cards/d/DawngladeRegent.java
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MonarchIsSourceControllerCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.BecomesMonarchSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.HexproofAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DawngladeRegent extends CardImpl {
|
||||
|
||||
public DawngladeRegent(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{G}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELK);
|
||||
this.power = new MageInt(8);
|
||||
this.toughness = new MageInt(8);
|
||||
|
||||
// When Dawnglade Regent enters the battlefield, you become the monarch.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new BecomesMonarchSourceEffect()));
|
||||
|
||||
// As long as you're the monarch, permanents you control have hexproof.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new GainAbilityControlledEffect(
|
||||
HexproofAbility.getInstance(), Duration.WhileOnBattlefield
|
||||
), MonarchIsSourceControllerCondition.instance,
|
||||
"as long as you're the monarch, permanents you control have hexproof"
|
||||
)));
|
||||
}
|
||||
|
||||
private DawngladeRegent(final DawngladeRegent card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DawngladeRegent copy() {
|
||||
return new DawngladeRegent(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -78,6 +78,7 @@ public final class CommanderLegends extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Court of Grace", 16, Rarity.RARE, mage.cards.c.CourtOfGrace.class));
|
||||
cards.add(new SetCardInfo("Crow of Dark Tidings", 115, Rarity.COMMON, mage.cards.c.CrowOfDarkTidings.class));
|
||||
cards.add(new SetCardInfo("Cuombajj Witches", 116, Rarity.UNCOMMON, mage.cards.c.CuombajjWitches.class));
|
||||
cards.add(new SetCardInfo("Dawnglade Regent", 222, Rarity.RARE, mage.cards.d.DawngladeRegent.class));
|
||||
cards.add(new SetCardInfo("Demonic Lore", 118, Rarity.UNCOMMON, mage.cards.d.DemonicLore.class));
|
||||
cards.add(new SetCardInfo("Deranged Assistant", 65, Rarity.COMMON, mage.cards.d.DerangedAssistant.class));
|
||||
cards.add(new SetCardInfo("Derevi, Empyrial Tactician", 518, Rarity.MYTHIC, mage.cards.d.DereviEmpyrialTactician.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue