Fix Rebel Salvo. Closes
package mage.cards.r;
import mage.abilities.common.SimpleStaticAbility;
+import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
import mage.abilities.effects.common.AffinityEffect;
import mage.abilities.effects.common.DamageTargetEffect;
import mage.abilities.effects.common.continuous.LoseAbilityTargetEffect;
+import mage.abilities.hint.Hint;
+import mage.abilities.hint.ValueHint;
import mage.abilities.keyword.IndestructibleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
+import mage.constants.Zone;
import mage.filter.common.FilterControlledPermanent;
import mage.target.common.TargetCreatureOrPlaneswalker;
@@ -22,11 +26,15 @@ public final class RebelSalvo extends CardImpl {
private static final FilterControlledPermanent filter
= new FilterControlledPermanent(SubType.EQUIPMENT, "Equipment");
+ private static final Hint hint = new ValueHint(
+ "Equipment you control", new PermanentsOnBattlefieldCount(filter)
+ );
+
public RebelSalvo(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
// Affinity for Equipment
- this.addAbility(new SimpleStaticAbility(new AffinityEffect(filter)));
+ this.addAbility(new SimpleStaticAbility(Zone.ALL, new AffinityEffect(filter)).addHint(hint));
// Rebel Salvo deals 5 damage to target creature or planeswalker. That permanent loses indestructible unil end of turn.
this.getSpellAbility().addEffect(new DamageTargetEffect(5));
