From 5fdf1a8ddd22825260934cbff88c2136db0fb6f1 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sun, 12 Apr 2020 13:00:02 -0400 Subject: [PATCH] fixed an error --- Mage.Sets/src/mage/cards/l/LavabrinkVenturer.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/l/LavabrinkVenturer.java b/Mage.Sets/src/mage/cards/l/LavabrinkVenturer.java index 09d6fc01dd..182d8cf395 100644 --- a/Mage.Sets/src/mage/cards/l/LavabrinkVenturer.java +++ b/Mage.Sets/src/mage/cards/l/LavabrinkVenturer.java @@ -52,17 +52,20 @@ public final class LavabrinkVenturer extends CardImpl { class LavabrinkVenturerEffect extends GainAbilitySourceEffect { + private static final FilterObject nullFilter = new FilterObject("nothing"); private static final FilterObject oddFilter = new FilterObject("odd converted mana costs"); private static final FilterObject evenFilter = new FilterObject("even converted mana costs"); static { + nullFilter.add(ConvertedManaCostParityPredicate.ODD); + nullFilter.add(ConvertedManaCostParityPredicate.EVEN); oddFilter.add(ConvertedManaCostParityPredicate.ODD); evenFilter.add(ConvertedManaCostParityPredicate.EVEN); } LavabrinkVenturerEffect() { - super((Ability) null); - this.addDependedToType(DependencyType.AddingAbility); + super(new ProtectionAbility(nullFilter)); + this.ability.setRuleVisible(false); staticText = "{this} has protection from each converted mana cost of the chosen value."; }