Improved implementation for isCommander and RingBearer card status (now they are no longer basic abilities but inner card properties in order to avoid conflicts with abilitiy modificators), added a white border on commanders to highlight them during match in the various game zones.
This commit is contained in:
@@ -2750,7 +2750,7 @@ MTGCardInstance * AIPlayerBaka::FindCardToPlay(ManaCost * pMana, const char * ty
|
||||
CardDescriptor cd;
|
||||
cd.init();
|
||||
if(!strcmp(type,"commander")) //Added to allow the casting priority for commanders
|
||||
cd.basicAbilities[Constants::ISCOMMANDER] = 1;
|
||||
cd.isCommander = 1;
|
||||
else if(strcmp(type,"*")) //Added to allow the wildcard in casting priority
|
||||
cd.setType(type);
|
||||
card = NULL;
|
||||
|
||||
Reference in New Issue
Block a user