From 779ef1e0d16d35e90f9bfc6a2c28c12649a152d1 Mon Sep 17 00:00:00 2001 From: Hanmac Date: Sun, 9 Jul 2017 12:43:56 +0000 Subject: [PATCH] fix CostAdjustment --- forge-game/src/main/java/forge/game/cost/CostAdjustment.java | 2 +- forge-gui/res/cardsfolder/w/warbringer.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-game/src/main/java/forge/game/cost/CostAdjustment.java b/forge-game/src/main/java/forge/game/cost/CostAdjustment.java index ce3599d5138..8035af08944 100644 --- a/forge-game/src/main/java/forge/game/cost/CostAdjustment.java +++ b/forge-game/src/main/java/forge/game/cost/CostAdjustment.java @@ -428,7 +428,7 @@ public class CostAdjustment { return false; } if (params.containsKey("ValidSpell")) { - if (sa.isValid(params.get("ValidSpell").split(","), controller, hostCard, sa)) { + if (!sa.isValid(params.get("ValidSpell").split(","), controller, hostCard, sa)) { return false; } } diff --git a/forge-gui/res/cardsfolder/w/warbringer.txt b/forge-gui/res/cardsfolder/w/warbringer.txt index 6877a74bf5e..90f50f7df75 100644 --- a/forge-gui/res/cardsfolder/w/warbringer.txt +++ b/forge-gui/res/cardsfolder/w/warbringer.txt @@ -2,7 +2,7 @@ Name:Warbringer ManaCost:3 R Types:Creature Orc Berserker PT:3/3 -S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Activated.Dash | Activator$ You | Amount$ 2 | Description$ Dash costs you pay cost {2} less (as long as this creature is on the battlefield). +S:Mode$ ReduceCost | ValidCard$ Card | ValidSpell$ Spell.Dash | Activator$ You | Amount$ 2 | Description$ Dash costs you pay cost {2} less (as long as this creature is on the battlefield). K:Dash:2 R DeckHints:Keyword$Dash SVar:Picture:http://www.wizards.com/global/images/magic/general/warbringer.jpg