* Shalai, Voice of Plenty - Fixed that it also gave wrongly hexproof to itself.
@@ -47,10 +47,10 @@ import mage.constants.SubType;
import mage.constants.SuperType;
import mage.constants.Zone;
import mage.counters.CounterType;
+import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.CardTypePredicate;
-import mage.filter.predicate.permanent.AnotherPredicate;
/**
*
@@ -59,12 +59,9 @@ import mage.filter.predicate.permanent.AnotherPredicate;
public class ShalaiVoiceOfPlenty extends CardImpl {
private static final FilterControlledPermanent filter1 = new FilterControlledPermanent("planeswalkers you control");
- private static final FilterControlledPermanent filter2 = new FilterControlledPermanent();
static {
filter1.add(new CardTypePredicate(CardType.PLANESWALKER));
- filter2.add(new CardTypePredicate(CardType.CREATURE));
- filter2.add(new AnotherPredicate());
}
public ShalaiVoiceOfPlenty(UUID ownerId, CardSetInfo setInfo) {
@@ -85,7 +82,7 @@ public class ShalaiVoiceOfPlenty extends CardImpl {
effect = new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter1);
effect.setText(", planeswalkers you control");
ability.addEffect(effect);
- effect = new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, filter2);
+ effect = new GainAbilityControlledEffect(HexproofAbility.getInstance(), Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURES, true);
effect.setText(", and other creatures you control have hexproof");
ability.addEffect(effect);
this.addAbility(ability);
