- Fix lifeTotal Condition not using CalculateAmount (makes Timely Reinforcement first ability work properly)

This commit is contained in:
Sol
2014-03-30 19:26:37 +00:00
parent 54f573bcbd
commit bb1c853f10

View File

@@ -307,7 +307,7 @@ public class SpellAbilityCondition extends SpellAbilityVariables {
int right = 1;
final String rightString = this.getLifeAmount().substring(2);
if (rightString.equals("X")) {
right = CardFactoryUtil.xCount(sa.getHostCard(), sa.getHostCard().getSVar("X"));
right = AbilityUtils.calculateAmount(sa.getHostCard(), sa.getHostCard().getSVar("X"), sa);
} else {
right = Integer.parseInt(this.getLifeAmount().substring(2));
}