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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,6 +117,7 @@ public:
|
||||
int lastFlipResult;
|
||||
int dieSide;
|
||||
int lastRollResult;
|
||||
int scryedCards;
|
||||
|
||||
int stillInUse();
|
||||
int didattacked;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user