mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Fix for CMC of split cards on the stack
This commit is contained in:
committed by
Michael Kamensky
parent
00f6445049
commit
6f85b09ee4
@@ -73,6 +73,7 @@ public class ComputerUtil {
|
|||||||
public static boolean handlePlayingSpellAbility(final Player ai, SpellAbility sa, final Game game, Runnable chooseTargets) {
|
public static boolean handlePlayingSpellAbility(final Player ai, SpellAbility sa, final Game game, Runnable chooseTargets) {
|
||||||
game.getStack().freezeStack();
|
game.getStack().freezeStack();
|
||||||
final Card source = sa.getHostCard();
|
final Card source = sa.getHostCard();
|
||||||
|
source.setSplitStateToPlayAbility(sa);
|
||||||
|
|
||||||
if (sa.isSpell() && !source.isCopiedSpell()) {
|
if (sa.isSpell() && !source.isCopiedSpell()) {
|
||||||
if (source.getType().hasStringType("Arcane")) {
|
if (source.getType().hasStringType("Arcane")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user