zpos and zone display
added zone position (adjust dynamically), also inverts the display of the zone so we always get the top/recent one... the library zpos is inverted so if we choose to target the top 5 zpos like target(*[zpos>=5|mylibrary), it will do from top to bottom... this is only for AI so we can add alternate code for them since they cant use reveal atm, we can make them target within allowed range... Also this commit disabled the new legend and planeswalker rule since it conflicts with reveal ability, unless I/We figure it out, I recommend to use the old one...
This commit is contained in:
@@ -39,6 +39,8 @@ class CardDescriptor: public MTGCardInstance
|
||||
int manacostComparisonMode;
|
||||
int counterComparisonMode;
|
||||
int convertedManacost; // might fit better into MTGCardInstance?
|
||||
int zposComparisonMode;
|
||||
int zposition;
|
||||
int anyCounter;
|
||||
int init();
|
||||
CardDescriptor();
|
||||
@@ -68,12 +70,12 @@ class CardDescriptor: public MTGCardInstance
|
||||
int CDdamager;
|
||||
int CDgeared;
|
||||
int CDblocked;
|
||||
int CDcanProduceC;
|
||||
/*int CDcanProduceC;
|
||||
int CDcanProduceG;
|
||||
int CDcanProduceU;
|
||||
int CDcanProduceR;
|
||||
int CDcanProduceB;
|
||||
int CDcanProduceW;
|
||||
int CDcanProduceW;*/
|
||||
int CDnocolor;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user