Fixed issue #1054 (opened by @ranger7271), fixed/added primitives with "scry" ability, improved scry ability for both Human and AI player, added a new ability to replace the scry ability with some actions (e.g. Eligeth, Crossroads Augur).

This commit is contained in:
Vittorio Alfieri
2021-02-08 17:08:20 +01:00
parent a858ed405f
commit eb8da4d4b2
13 changed files with 320 additions and 289 deletions

View File

@@ -718,6 +718,8 @@ public:
return 0;
if (!tc->canTarget(e->card)) return 0;
triggeredTurn = game->turn;
if(source)
source->scryedCards = e->card->scryedCards;
return 1;
}

View File

@@ -117,6 +117,7 @@ public:
int lastFlipResult;
int dieSide;
int lastRollResult;
int scryedCards;
int stillInUse();
int didattacked;

View File

@@ -302,7 +302,8 @@ class Constants
ANYTYPEOFMANAABILITY = 175,
BOAST = 176,
TWOBOAST = 177,
NB_BASIC_ABILITIES = 178,
REPLACESCRY = 178,
NB_BASIC_ABILITIES = 179,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics