mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
HumanPlaySpellAbility: set CastSA and LastStateBattlefield when casting a spell
This commit is contained in:
@@ -98,6 +98,8 @@ public class HumanPlaySpellAbility {
|
||||
if (ability instanceof Spell && !((Spell) ability).isCastFaceDown() && fromState == CardStateName.FaceDown) {
|
||||
c.turnFaceUp();
|
||||
}
|
||||
c.setCastSA(ability);
|
||||
ability.setLastStateBattlefield(game.getLastStateBattlefield());
|
||||
ability.setHostCard(game.getAction().moveToStack(c));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user