mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Add hints to All That Glitters and Ethereal Armor
This commit is contained in:
parent
5dba61244c
commit
c36e5c4a1c
2 changed files with 5 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ import mage.abilities.dynamicvalue.DynamicValue;
|
|||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.AttachEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEnchantedEffect;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.abilities.keyword.EnchantAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
|
@ -45,7 +46,8 @@ public final class AllThatGlitters extends CardImpl {
|
|||
// Enchanted creature gets +1/+1 for each artifact and/or enchantment you control.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostEnchantedEffect(
|
||||
xValue, xValue, Duration.WhileOnBattlefield
|
||||
).setText("enchanted creature gets +1/+1 for each artifact and/or enchantment you control")));
|
||||
).setText("enchanted creature gets +1/+1 for each artifact and/or enchantment you control")
|
||||
).addHint(new ValueHint("Artifacts and/or enchantments you control", xValue)));
|
||||
}
|
||||
|
||||
private AllThatGlitters(final AllThatGlitters card) {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
|||
import mage.abilities.effects.common.AttachEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEnchantedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
import mage.abilities.hint.ValueHint;
|
||||
import mage.abilities.keyword.EnchantAbility;
|
||||
import mage.abilities.keyword.FirstStrikeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
|
@ -47,7 +48,7 @@ public final class EtherealArmor extends CardImpl {
|
|||
ability.addEffect(new GainAbilityAttachedEffect(
|
||||
FirstStrikeAbility.getInstance(), AttachmentType.AURA
|
||||
).setText("and has first strike"));
|
||||
this.addAbility(ability);
|
||||
this.addAbility(ability.addHint(new ValueHint("Enchantments you control", xValue)));
|
||||
}
|
||||
|
||||
private EtherealArmor(final EtherealArmor card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue