Added/fixed primitives, updated the "missing_cards_by_sets" folder, fixed several crash on Commander Format, fixed a possible crash using "and!()!" with "imprint", added a new macros "_REBOUND_" and "_GOAD_" related to rebound and goad abilities and refactored all cards using them, implemented a new keywords "haunt", "hasprey", "preyname" and "isprey" related the haunting ability and improved all cards using it, Added "commander" and "\*" to HINT castpriority for AI decks in order to allow the user to give a cast priority to commanders.
This commit is contained in:
@@ -1546,6 +1546,17 @@ public:
|
||||
AAImprint * clone() const;
|
||||
~AAImprint();
|
||||
};
|
||||
//AAHaunt
|
||||
class AAHaunt: public ActivatedAbility
|
||||
{
|
||||
public:
|
||||
MTGAbility * andAbility;
|
||||
AAHaunt(GameObserver* observer, int _id, MTGCardInstance * _source, MTGCardInstance * _target = NULL, ManaCost * _cost = NULL);
|
||||
int resolve();
|
||||
const string getMenuText();
|
||||
AAHaunt * clone() const;
|
||||
~AAHaunt();
|
||||
};
|
||||
//AAConjure
|
||||
class AAConjure: public ActivatedAbility
|
||||
{
|
||||
|
||||
@@ -297,7 +297,8 @@ public:
|
||||
ManaCost * computeNewCost(MTGCardInstance * card,ManaCost * oldCost, ManaCost * refCost,bool noTrinisphere = false, bool bestow = false);
|
||||
int countTrini;
|
||||
bool anymanareplacement;
|
||||
vector<MTGCardInstance*>imprintedCards;
|
||||
vector<MTGCardInstance*> imprintedCards;
|
||||
MTGCardInstance* hauntedCard;
|
||||
int attackCost;
|
||||
int attackCostBackup;
|
||||
int attackPlaneswalkerCost;
|
||||
|
||||
@@ -322,7 +322,8 @@ class Constants
|
||||
SHOWOPPONENTHAND = 195,
|
||||
SHOWCONTROLLERHAND = 196,
|
||||
HASREPLICATE = 197,
|
||||
NB_BASIC_ABILITIES = 198,
|
||||
ISPREY = 198,
|
||||
NB_BASIC_ABILITIES = 199,
|
||||
|
||||
RARITY_S = 'S', //Special Rarity
|
||||
RARITY_M = 'M', //Mythics
|
||||
|
||||
Reference in New Issue
Block a user