Added new primitives from LTC set, improved "_GOAD_" macro, updated missing card by set list, added new keyword "permanent" to target permanents and nonpermanents, added "flashback" option to "castcard" ability, added new ability "unsacrificable" to forbid a player to sacrifice a card.

This commit is contained in:
Vittorio Alfieri
2023-07-07 18:22:58 +02:00
parent deec348fea
commit b791da0786
13 changed files with 787 additions and 26 deletions

View File

@@ -7143,7 +7143,8 @@ public:
int kicked;
int costx;
bool flipped;
AACastCard(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target, bool restricted, bool copied, bool _asNormal, string nameCard, string abilityName, bool _noEvent, bool putinplay, bool asNormalMadness = false, bool alternative = false, int kicked = 0, int costx = 0, bool flipped = false);
bool flashback;
AACastCard(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target, bool restricted, bool copied, bool _asNormal, string nameCard, string abilityName, bool _noEvent, bool putinplay, bool asNormalMadness = false, bool alternative = false, int kicked = 0, int costx = 0, bool flipped = false, bool flashback = false);
int testDestroy(){return 0;};
void Update(float dt);

View File

@@ -54,6 +54,7 @@ class CardDescriptor: public MTGCardInstance
int modified;
int toxicity;
int hasPartner;
int isPermanent;
int hasXCost;
int anyCounter;
int init();
@@ -66,6 +67,7 @@ class CardDescriptor: public MTGCardInstance
void unsecureSetModified(int k);
void unsecureSetHasToxic(int k);
void unsecureSetHasPartner(int k);
void unsecureSetIsPermanent(int k);
void unsecureSetTapped(int i);
void unsecuresetfresh(int k);
void unsecuresetrecent(int j);

View File

@@ -361,7 +361,8 @@ class Constants
POISONNINETOXIC = 233,
POISONTENTOXIC = 234,
EQPASINST = 235,
NB_BASIC_ABILITIES = 236,
UNSACRIFICABLE = 236,
NB_BASIC_ABILITIES = 237,
RARITY_S = 'S', //Special Rarity
RARITY_M = 'M', //Mythics