Commit graph

4 commits

Author SHA1 Message Date
DawnFire42
c4e8d01064
Hide 'increase tax' play actions on multi-card selection 2026-06-19 11:00:59 -04:00
DawnFire42
2ad18e2d8b
Prevent user counter IDs from colliding with reserved range
In non-Commander games, newCounterId() could return 8 or 9, colliding
  with reserved commander tax counter IDs. A malicious client could
  exploit this via cmd_set_counter_active. Now user counters always
  start at ID 10+.
2026-06-19 11:00:56 -04:00
DawnFire42
eddf2c3072
Restrict cmdSetCounterActive to tax counters only 2026-06-19 11:00:55 -04:00
DawnFire42
75d59e2d82
[Game] Add Command Zone support with commander tax tracking
- Add CommandZone and CommandZoneLogic for commander
  - Add CommanderTaxCounter
  - Add counter active state protocol (show/hide tax counters)
  - Add "Enable Command Zone" option in game creation dialogs
  - Add context menu actions for command zone operations

Took 9 minutes

Took 11 minutes
2026-06-19 11:00:49 -04:00