mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Merge pull request #2470 from Card-Forge/henzieBlitzReplacementFix
ReplacementHandler: fix adding CastSA Keyword again
This commit is contained in:
@@ -173,6 +173,10 @@ public class ReplacementHandler {
|
||||
}
|
||||
// need to copy stored keywords from lki into real object to prevent the replacement effect from making new ones
|
||||
affectedCard.setStoredKeywords(affectedLKI.getStoredKeywords(), true);
|
||||
if (affectedCard.getCastSA() != null && affectedCard.getCastSA().getKeyword() != null) {
|
||||
// need to readd the CastSA Keyword into the Card
|
||||
affectedCard.addKeywordForStaticAbility(affectedCard.getCastSA().getKeyword());
|
||||
}
|
||||
runParams.put(AbilityKey.Affected, affectedCard);
|
||||
runParams.put(AbilityKey.NewCard, CardUtil.getLKICopy(affectedLKI));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user