mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Merge branch 'fixescape' into 'master'
Fix Escape not paying additional costs See merge request core-developers/forge!4092
This commit is contained in:
@@ -165,7 +165,7 @@ public final class GameActionUtil {
|
|||||||
final String[] k = keyword.split(":");
|
final String[] k = keyword.split(":");
|
||||||
final Cost escapeCost = new Cost(k[1], true);
|
final Cost escapeCost = new Cost(k[1], true);
|
||||||
|
|
||||||
final SpellAbility newSA = sa.copyWithDefinedCost(escapeCost);
|
final SpellAbility newSA = sa.copyWithManaCostReplaced(activator, escapeCost);
|
||||||
newSA.setActivatingPlayer(activator);
|
newSA.setActivatingPlayer(activator);
|
||||||
|
|
||||||
newSA.putParam("PrecostDesc", "Escape—");
|
newSA.putParam("PrecostDesc", "Escape—");
|
||||||
|
|||||||
Reference in New Issue
Block a user