AffectedAmount -> Relative

This commit is contained in:
TRT
2022-02-03 13:56:59 +01:00
parent 8a3d6823d5
commit 616a6e5ddd
4 changed files with 4 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ public class CostAdjustment {
if (StringUtils.isNumeric(amount)) {
count = Integer.parseInt(amount);
} else {
if (st.hasParam("AffectedAmount")) {
if (st.hasParam("Relative")) {
count = AbilityUtils.calculateAmount(hostCard, st.hasSVar(amount) ? st.getSVar(amount) : amount, sa);
} else {
count = AbilityUtils.calculateAmount(hostCard, amount, st);