mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed a bug with xcount used by stPump.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user