first part of a series of commits, this one adds "and((" support to the various card removel abilities, tweaks targetedplayer targetchooser, and adds the following number word variables...
counter{}
so you can get a count of a certain counter on a card
the next consist of parts using the same targetchooser method as type:
power:
toughness:
convertedcost:
followed by ---
highest:
lowest:
followed by targetchooser
blah:mybattlefield
so if i want highest converted cost of creatures i control..
convertedcost:highest:creature:mybattlefield
also added an internal ability to reuse and display flying text with a string passed to it.
This commit is contained in:
@@ -54,6 +54,7 @@ public:
|
||||
MTGGameZone * currentZone;
|
||||
Pos* view;
|
||||
int X;
|
||||
int castX;
|
||||
int alternateCostPaid[ManaCost::MANA_PAID_WITH_RETRACE + 1];
|
||||
int paymenttype;
|
||||
int castMethod; /* Tells if the card reached its current zone by being cast or not (brought into the zone by an effect). non 0 == cast, 0 == not cast */
|
||||
@@ -118,6 +119,7 @@ public:
|
||||
Counters * counters;
|
||||
const string getDisplayName() const;
|
||||
MTGCardInstance * target;
|
||||
Player * playerTarget;
|
||||
vector<Targetable *> backupTargets;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user