mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
CostAdjustment: use RaiseCost already but check for Cost parameter
This commit is contained in:
@@ -54,7 +54,7 @@ public class CostAdjustment {
|
||||
// Sort abilities to apply them in proper order
|
||||
for (Card c : cardsOnBattlefield) {
|
||||
for (final StaticAbility stAb : c.getStaticAbilities()) {
|
||||
if (stAb.getMapParams().get("Mode").equals("RaiseCost2")) {
|
||||
if (stAb.getMapParams().get("Mode").equals("RaiseCost") && stAb.getMapParams().containsKey("Cost")) {
|
||||
raiseAbilities.add(stAb);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user