Fixed issues #1049 and #1050 opened by @ranger7271, improved imprint keywords, improved boast ability, added a new "hasability" keyword to check if a card has an ability or not.

This commit is contained in:
Vittorio Alfieri
2021-01-24 15:53:49 +01:00
parent 2b7baf7fc8
commit f6199719fd
8 changed files with 54 additions and 9 deletions
+1
View File
@@ -1399,6 +1399,7 @@ public:
class AAImprint: public ActivatedAbility
{
public:
MTGAbility * andAbility;
AAImprint(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target = NULL, ManaCost * _cost = NULL);
int resolve();
const string getMenuText();
+2 -1
View File
@@ -301,7 +301,8 @@ class Constants
FORETELL = 174,
ANYTYPEOFMANAABILITY = 175,
BOAST = 176,
NB_BASIC_ABILITIES = 177,
TWOBOAST = 177,
NB_BASIC_ABILITIES = 178,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics