mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[STX] Implemented Accomplished Alchemist
This commit is contained in:
parent
561a2df2d5
commit
610c286710
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/AccomplishedAlchemist.java
Normal file
49
Mage.Sets/src/mage/cards/a/AccomplishedAlchemist.java
Normal file
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.Mana;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.dynamicvalue.common.ControllerGotLifeCount;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.abilities.mana.DynamicManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.watchers.common.PlayerGainedLifeWatcher;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AccomplishedAlchemist extends CardImpl {
|
||||
|
||||
public AccomplishedAlchemist(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELF);
|
||||
this.subtype.add(SubType.DRUID);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// {T}: Add one mana of any color.
|
||||
this.addAbility(new AnyColorManaAbility());
|
||||
|
||||
// {T}: Add X mana of any one color, where X is the amount of life you gained this turn.
|
||||
this.addAbility(new DynamicManaAbility(
|
||||
new Mana(0, 0, 0, 0, 0, 0, 1, 0),
|
||||
ControllerGotLifeCount.instance, new TapSourceCost(), "Add X mana " +
|
||||
"of any one color, where X is the amount of life you gained this turn", true
|
||||
).addHint(ControllerGotLifeCount.getHint()), new PlayerGainedLifeWatcher());
|
||||
}
|
||||
|
||||
private AccomplishedAlchemist(final AccomplishedAlchemist card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccomplishedAlchemist copy() {
|
||||
return new AccomplishedAlchemist(this);
|
||||
}
|
||||
}
|
|
@ -32,6 +32,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
this.ratioBoosterMythic = 7.4;
|
||||
this.maxCardNumberInBooster = 275;
|
||||
|
||||
cards.add(new SetCardInfo("Accomplished Alchemist", 119, Rarity.RARE, mage.cards.a.AccomplishedAlchemist.class));
|
||||
cards.add(new SetCardInfo("Aether Helix", 162, Rarity.UNCOMMON, mage.cards.a.AetherHelix.class));
|
||||
cards.add(new SetCardInfo("Ageless Guardian", 8, Rarity.COMMON, mage.cards.a.AgelessGuardian.class));
|
||||
cards.add(new SetCardInfo("Archmage Emeritus", 37, Rarity.RARE, mage.cards.a.ArchmageEmeritus.class));
|
||||
|
|
Loading…
Reference in a new issue