Addes some new primitives from BRO set, fixes BRO and BRC dat files, updated image list url for BRO and BRS sets, imrpoved an AI deck, improved meld ability with "and" option, added new ability to allow a planeswalker to activate its loyalty abilities twice in a turn, improved Android downloader.

This commit is contained in:
Vittorio Alfieri
2023-05-28 23:17:21 +02:00
parent 066b30b1b7
commit 99f08276c6
12 changed files with 560 additions and 16 deletions

View File

@@ -2782,7 +2782,7 @@ public:
int addToGame()
{
if(!ability)
return 1; //Fix a possible crash on mutate cards
return 1; //Fix a possible crash on mutate cards.
ability->forceDestroy = -1;
ability->target = target; //Might have changed since initialization
ability->addToGame();
@@ -4713,12 +4713,14 @@ public:
class AAMeld : public ActivatedAbility
{
public:
MTGAbility * andAbility;
string _MeldedName;
AAMeld(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string MeldedName = "");
int resolve();
const string getMenuText();
AAMeld * clone() const;
~AAMeld();
};
/* doubleside */

View File

@@ -354,7 +354,8 @@ class Constants
AFFINITYGRAVECREATURES = 226,
AFFINITYATTACKINGCREATURES = 227,
AFFINITYGRAVEINSTSORC = 228,
NB_BASIC_ABILITIES = 229,
CANLOYALTYTWICE = 229,
NB_BASIC_ABILITIES = 230,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics