From 4b913c85d2f7152afb9d34c2dabbde1729c2740c Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 10:06:21 +0000 Subject: [PATCH] - Fixed a bug with xcount used by stPump. --- src/forge/GameActionUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 6b7377d5b03..84c4bc6d2ca 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -11953,7 +11953,7 @@ public class GameActionUtil { int x = 0; if (k[2].contains("X")) - x = CardFactoryUtil.xCount(cardWithKeyword, cardWithKeyword.getSVar("X")); + x = CardFactoryUtil.xCount(cardWithKeyword, cardWithKeyword.getSVar("X").split("\\$")[1]); se.setXValue(x); addStaticEffects(affectedCards,k[2],x); //give the boni to the affected cards