mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
fixed an error
This commit is contained in:
parent
199fc37c32
commit
5fdf1a8ddd
1 changed files with 5 additions and 2 deletions
|
@ -52,17 +52,20 @@ public final class LavabrinkVenturer extends CardImpl {
|
||||||
|
|
||||||
class LavabrinkVenturerEffect extends GainAbilitySourceEffect {
|
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 oddFilter = new FilterObject("odd converted mana costs");
|
||||||
private static final FilterObject evenFilter = new FilterObject("even converted mana costs");
|
private static final FilterObject evenFilter = new FilterObject("even converted mana costs");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
nullFilter.add(ConvertedManaCostParityPredicate.ODD);
|
||||||
|
nullFilter.add(ConvertedManaCostParityPredicate.EVEN);
|
||||||
oddFilter.add(ConvertedManaCostParityPredicate.ODD);
|
oddFilter.add(ConvertedManaCostParityPredicate.ODD);
|
||||||
evenFilter.add(ConvertedManaCostParityPredicate.EVEN);
|
evenFilter.add(ConvertedManaCostParityPredicate.EVEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
LavabrinkVenturerEffect() {
|
LavabrinkVenturerEffect() {
|
||||||
super((Ability) null);
|
super(new ProtectionAbility(nullFilter));
|
||||||
this.addDependedToType(DependencyType.AddingAbility);
|
this.ability.setRuleVisible(false);
|
||||||
staticText = "{this} has protection from each converted mana cost of the chosen value.";
|
staticText = "{this} has protection from each converted mana cost of the chosen value.";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue