mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Split cards correctly transform back to their full face form when exiled (not sure if they can be exiled while on stack, so this is more of a fail-safe mechanism - feel free to revert if this is overkill).
This commit is contained in:
@@ -710,6 +710,12 @@ public class GameAction {
|
|||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
final PlayerZone removed = c.getOwner().getZone(ZoneType.Exile);
|
final PlayerZone removed = c.getOwner().getZone(ZoneType.Exile);
|
||||||
|
|
||||||
|
// if a split card, convert back to its full face form before going to graveyard
|
||||||
|
if (c.getRules().getSplitType() == CardSplitType.Split) {
|
||||||
|
c.setState(CardCharacteristicName.Original);
|
||||||
|
}
|
||||||
|
|
||||||
return moveTo(removed, c);
|
return moveTo(removed, c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user