Cockatrice/tests/carddatabase
Basile Clement 2fcdb52157
fix: Use isRebalanced to detect Arena cards (#5778)
* fix: Use isRebalanced to detect Arena cards

In #5759 we introduced a setting (off by default) to disable the use of
Arena cards. This was done by checking the `isOnlineOnly` property of
the card, which accidentally also disabled online *printings* of cards
that otherwise exist in paper (e.g. Vintage Masters).

This PR does the same thing but uses the `isRebalanced` property
instead, which is `true` for Arena cards only and should have been used
from the start. This setting does not impact online-only printings such
as Vintage Masters. The settings is still on by default.

* Update setting to mention Alchemy rather than Arena
2025-04-03 00:16:38 -04:00
..
data Update test card database to v4 (#4064) 2020-08-21 18:18:53 -04:00
carddatabase_test.cpp add password hash test (#4528) 2022-01-16 16:32:11 -05:00
CMakeLists.txt Refactor: split card_database into two files (#5715) 2025-03-14 00:02:10 +00:00
filter_string_test.cpp Refactor CardDatabase *db global variable to singleton CardDatabaseManager. (#5159) 2024-11-05 19:32:59 +01:00
mocks.cpp fix: Use isRebalanced to detect Arena cards (#5778) 2025-04-03 00:16:38 -04:00
mocks.h New printing selector (#5182) 2024-12-19 02:40:34 +00:00