Added/fixed primitives, updated the "missing_cards_by_sets" folder, added missing Conspicacy cards and tokens in CNS set, added Conspicacy cards management, added new ability "isconspiracy" to identify the Conspicacy cards into the Sideboard, added "Conspiracy" type in "Subtypes.h" enum definition, added a fix in "GameObserver::Affinity()" method in order to avoid a crash when the card is a Conspiracy in the commandzone.
This commit is contained in:
@@ -1179,7 +1179,7 @@ void GameObserver::Affinity()
|
||||
for (int cc = zone->nb_cards - 1; cc >= 0; cc--)
|
||||
{//start
|
||||
MTGCardInstance * card = zone->cards[cc];
|
||||
if (!card || card->hasType(Subtypes::TYPE_DUNGEON)) // Fix to avoid crash when the card is null or if is a Dungeon in the commandzone.
|
||||
if (!card || card->hasType(Subtypes::TYPE_DUNGEON) || card->hasType(Subtypes::TYPE_CONSPIRACY)) // Fix to avoid crash when the card is null or if is a Dungeon/Conspiracy in the commandzone.
|
||||
continue;
|
||||
|
||||
bool checkAuraP = false;
|
||||
|
||||
Reference in New Issue
Block a user