Commit graph

3 commits

Author SHA1 Message Date
Lukas Brübach
2342ec85bf [Game] Log transformed card revert on zone change as a single message 2026-11-02 21:26:16 +01:00
Lukas Brübach
1c6836ad9c [Game] Fix include order in transform context test
clang-format IncludeBlocks regrouping: movecard_tests/server_test_helpers.h
alphabetically before server_response_containers.h/server_room.h.
2026-11-02 21:25:56 +01:00
Lukas Brübach
5b11af585f [Game] Single chat message when a card transforms (#4764)
Transform currently logs "X destroys Y." followed by "X creates token: Z."
because the server implements it as DestroyCard + CreateToken events.

- Add Context_TransformCard (protocol extension 1010) to the transform
  event batch and a unit test asserting the server attaches it
- Suppress the destroy/create pair and the migration un-attach lines in
  the game log, printing one "X transforms Y into Z (P/T)." message
2026-11-02 21:25:56 +01:00