mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Fix Henzie removing additional costs
This commit is contained in:
@@ -2680,7 +2680,7 @@ public class CardFactoryUtil {
|
|||||||
final String[] k = keyword.split(":");
|
final String[] k = keyword.split(":");
|
||||||
final Cost blitzCost = new Cost(k[1], false);
|
final Cost blitzCost = new Cost(k[1], false);
|
||||||
|
|
||||||
final SpellAbility newSA = card.getFirstSpellAbility().copyWithDefinedCost(blitzCost);
|
final SpellAbility newSA = card.getFirstSpellAbility().copyWithManaCostReplaced(host.getController(), blitzCost);
|
||||||
|
|
||||||
if (k.length > 2) {
|
if (k.length > 2) {
|
||||||
newSA.getMapParams().put("ValidAfterStack", k[2]);
|
newSA.getMapParams().put("ValidAfterStack", k[2]);
|
||||||
|
|||||||
Reference in New Issue
Block a user