- Fixed a bug with xcount used by stPump.

This commit is contained in:
jendave
2011-08-06 10:06:21 +00:00
parent c331a166d2
commit 4b913c85d2

View File

@@ -11953,7 +11953,7 @@ public class GameActionUtil {
int x = 0; int x = 0;
if (k[2].contains("X")) if (k[2].contains("X"))
x = CardFactoryUtil.xCount(cardWithKeyword, cardWithKeyword.getSVar("X")); x = CardFactoryUtil.xCount(cardWithKeyword, cardWithKeyword.getSVar("X").split("\\$")[1]);
se.setXValue(x); se.setXValue(x);
addStaticEffects(affectedCards,k[2],x); //give the boni to the affected cards addStaticEffects(affectedCards,k[2],x); //give the boni to the affected cards