mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
Minor formatting and text changes.
This commit is contained in:
parent
815c20fa68
commit
aedcccc269
6 changed files with 22 additions and 85 deletions
|
|
@ -35,20 +35,20 @@ import mage.constants.Duration;
|
|||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MetalcraftCondition;
|
||||
import mage.abilities.decorator.ConditionalContinousEffect;
|
||||
import mage.abilities.effects.ContinuousEffect;
|
||||
import mage.abilities.effects.common.continious.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.AbilityWord;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
*/
|
||||
public class ArdentRecruit extends CardImpl<ArdentRecruit> {
|
||||
|
||||
private final String myText = "Metalcraft - Ardent Recruit gets +2/+2 as long as you control three or more artifacts";
|
||||
|
||||
public ArdentRecruit(UUID ownerId) {
|
||||
super(ownerId, 2, "Ardent Recruit", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{W}");
|
||||
this.expansionSetCode = "MBS";
|
||||
|
|
@ -58,8 +58,10 @@ public class ArdentRecruit extends CardImpl<ArdentRecruit> {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
ContinuousEffect boostSource = new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield);
|
||||
ConditionalContinousEffect effect = new ConditionalContinousEffect(boostSource, MetalcraftCondition.getInstance(), myText);
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
|
||||
ConditionalContinousEffect effect = new ConditionalContinousEffect(boostSource, MetalcraftCondition.getInstance(), "Ardent Recruit gets +2/+2 as long as you control three or more artifacts");
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
|
||||
ability.setAbilityWord(AbilityWord.METALCRAFT);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public ArdentRecruit(final ArdentRecruit card) {
|
||||
|
|
|
|||
|
|
@ -73,8 +73,8 @@ class MoltenPsycheEffect extends OneShotEffect<MoltenPsycheEffect> {
|
|||
|
||||
public MoltenPsycheEffect() {
|
||||
super(Outcome.Neutral);
|
||||
staticText = "Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.\\n" +
|
||||
"Metalcraft - If you control three or more artifacts, {this} deals damage to each opponent equal to the number of cards that player has drawn this turn.";
|
||||
staticText = "Each player shuffles the cards from his or her hand into his or her library, then draws that many cards.\n" +
|
||||
"<i>Metalcraft<i/> - If you control three or more artifacts, {this} deals damage to each opponent equal to the number of cards that player has drawn this turn.";
|
||||
}
|
||||
|
||||
public MoltenPsycheEffect(final MoltenPsycheEffect effect) {
|
||||
|
|
|
|||
|
|
@ -34,10 +34,12 @@ import mage.constants.Rarity;
|
|||
import mage.constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.MetalcraftActivatedAbility;
|
||||
import mage.abilities.common.ActivateIfConditionActivatedAbility;
|
||||
import mage.abilities.condition.common.MetalcraftCondition;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.TapTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
|
|
@ -68,8 +70,9 @@ public class VedalkenCertarch extends CardImpl<VedalkenCertarch> {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// Metalcraft - {T}: Tap target artifact, creature, or land. Activate this ability only if you control three or more artifacts.
|
||||
Ability ability = new MetalcraftActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost());
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost(), MetalcraftCondition.getInstance());
|
||||
ability.setAbilityWord(AbilityWord.METALCRAFT);
|
||||
ability.addTarget(new TargetPermanent(filter, true));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue