Added/fixed primitives, Added keywords "showopponenthand" and "showcontrollerhand" to allow controller and opponent to play with their hand revealed, added "mytarg" prefix to check values for a card target as like we do for "storedcard" prefix (e.g. "Redirect"), fixed "undocpy" keyoword for all cards (e.g. "Renegade Doppelganger") that have to be back from a previous copy.

This commit is contained in:
Vittorio Alfieri
2021-08-27 00:29:47 +02:00
parent bbc25e2727
commit 1ce0facf21
11 changed files with 305 additions and 216 deletions

View File

@@ -226,6 +226,8 @@ const char* Constants::MTGBasicAbilities[] = {
"noncombatvigor", //instead of taking non-combat damage the source gains +1/+1 counters (e.g. Stormwild Capridor)
"nomovetrigger", //no trigger when playing these cards (e.g. fake ability cards such as Davriel Conditions, Davriel Offers, Annihilation Rooms)
"wascommander", //It was the current commander (e.g. after it flipped or morphed)
"showopponenthand", //opponent plays with his hand revealed.
"showcontrollerhand" //controller plays with his hand revealed.
};
map<string,int> Constants::MTGBasicAbilitiesMap;