mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Implemented Regal Bloodlord
This commit is contained in:
parent
e60b207c0f
commit
7b8d1a3bc7
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/r/RegalBloodlord.java
Normal file
57
Mage.Sets/src/mage/cards/r/RegalBloodlord.java
Normal file
|
@ -0,0 +1,57 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.abilities.condition.common.YouGainedLifeCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.game.permanent.token.BatToken;
|
||||
import mage.watchers.common.PlayerGainedLifeWatcher;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RegalBloodlord extends CardImpl {
|
||||
|
||||
public RegalBloodlord(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// At the beginning of each end step, if you gained life this turn, create a 1/1 black Bat creature token with flying.
|
||||
this.addAbility(new ConditionalTriggeredAbility(
|
||||
new BeginningOfEndStepTriggeredAbility(
|
||||
new CreateTokenEffect(new BatToken()),
|
||||
TargetController.ANY, false
|
||||
),
|
||||
new YouGainedLifeCondition(ComparisonType.MORE_THAN, 0),
|
||||
"At the beginning of each end step, "
|
||||
+ "if you gained life this turn, "
|
||||
+ "create a 1/1 black Bat creature token with flying."
|
||||
), new PlayerGainedLifeWatcher());
|
||||
}
|
||||
|
||||
public RegalBloodlord(final RegalBloodlord card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RegalBloodlord copy() {
|
||||
return new RegalBloodlord(this);
|
||||
}
|
||||
}
|
|
@ -163,6 +163,7 @@ public final class CoreSet2019 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Reassembling Skeleton", 116, Rarity.UNCOMMON, mage.cards.r.ReassemblingSkeleton.class));
|
||||
cards.add(new SetCardInfo("Reclamation Sage", 196, Rarity.UNCOMMON, mage.cards.r.ReclamationSage.class));
|
||||
cards.add(new SetCardInfo("Recollect", 197, Rarity.UNCOMMON, mage.cards.r.Recollect.class));
|
||||
cards.add(new SetCardInfo("Regal Bloodlord", 222, Rarity.UNCOMMON, mage.cards.r.RegalBloodlord.class));
|
||||
cards.add(new SetCardInfo("Reliquary Tower", 254, Rarity.UNCOMMON, mage.cards.r.ReliquaryTower.class));
|
||||
cards.add(new SetCardInfo("Remorseful Cleric", 33, Rarity.RARE, mage.cards.r.RemorsefulCleric.class));
|
||||
cards.add(new SetCardInfo("Resplendent Angel", 34, Rarity.MYTHIC, mage.cards.r.ResplendentAngel.class));
|
||||
|
|
Loading…
Reference in a new issue