mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
AffectedAmount -> Relative
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user