forked from External/mage
[STX] Implemented Reckless Amplimancer
This commit is contained in:
parent
fc7b5ef8f9
commit
3be4b9e5d1
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/r/RecklessAmplimancer.java
Normal file
47
Mage.Sets/src/mage/cards/r/RecklessAmplimancer.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.SourcePermanentPowerCount;
|
||||
import mage.abilities.dynamicvalue.common.SourcePermanentToughnessValue;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
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 RecklessAmplimancer extends CardImpl {
|
||||
|
||||
private static final DynamicValue sourcePower = new SourcePermanentPowerCount();
|
||||
|
||||
public RecklessAmplimancer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELF);
|
||||
this.subtype.add(SubType.DRUID);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// {4}{G}: Double Reckless Amplimancer's power and toughness until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new BoostSourceEffect(
|
||||
sourcePower, SourcePermanentToughnessValue.getInstance(), Duration.EndOfTurn, true
|
||||
).setText("double {this}'s power and toughness until end of turn"), new ManaCostsImpl("{4}{G}")));
|
||||
}
|
||||
|
||||
private RecklessAmplimancer(final RecklessAmplimancer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecklessAmplimancer copy() {
|
||||
return new RecklessAmplimancer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -167,6 +167,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Quandrix Cultivator", 218, Rarity.UNCOMMON, mage.cards.q.QuandrixCultivator.class));
|
||||
cards.add(new SetCardInfo("Quandrix Pledgemage", 219, Rarity.COMMON, mage.cards.q.QuandrixPledgemage.class));
|
||||
cards.add(new SetCardInfo("Quintorius, Field Historian", 220, Rarity.UNCOMMON, mage.cards.q.QuintoriusFieldHistorian.class));
|
||||
cards.add(new SetCardInfo("Reckless Amplimancer", 141, Rarity.COMMON, mage.cards.r.RecklessAmplimancer.class));
|
||||
cards.add(new SetCardInfo("Reconstruct History", 222, Rarity.UNCOMMON, mage.cards.r.ReconstructHistory.class));
|
||||
cards.add(new SetCardInfo("Reduce to Memory", 25, Rarity.UNCOMMON, mage.cards.r.ReduceToMemory.class));
|
||||
cards.add(new SetCardInfo("Relic Sloth", 223, Rarity.COMMON, mage.cards.r.RelicSloth.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue