Added/fixed primitives, improved "anytypeofmana" ability for both player and AI and implemented "anytypeofmanaability" keyword to allow the user and the AI to spend mana of any color to activate abilities.

This commit is contained in:
Vittorio Alfieri
2021-01-15 18:25:38 +01:00
parent 77c48dc1d5
commit 2ff2d4ac79
17 changed files with 199 additions and 175 deletions

View File

@@ -205,7 +205,8 @@ const char* Constants::MTGBasicAbilities[] = {
"gainedexiledeath", //It goes to exile after death (use just to give add ability to instants and sorceries which originally have not, e.g. with transforms keyword)
"gainedhanddeath", //It goes to hand after death (use just to give add ability to instants and sorceries which originally have not, e.g. with transforms keyword)
"cycling", //It has cycling ability
"foretell" //It has foretell cost
"foretell", //It has foretell cost
"anytypeofmanaability" //It allows to spend mana as it were of any color to activate abilities.
};
map<string,int> Constants::MTGBasicAbilitiesMap;