added this( keyword variable{ word variable } ) support

auto=this(variable{lifetotal} <10) 1/1
auto=this(variable{opponentpoisoncount} >1) infect

basically allows you to compare against a word variable.
This commit is contained in:
omegablast2002@yahoo.com
2012-01-31 19:17:51 +00:00
parent e6775c0c1a
commit 81c90f0440
2 changed files with 43 additions and 0 deletions
+8
View File
@@ -173,4 +173,12 @@ class ThisX:public ThisDescriptor{
ThisX * clone() const;
};
class ThisVariable:public ThisDescriptor{
public:
string vWord;
virtual int match(MTGCardInstance * card);
ThisVariable(int comp,string vWord = "");
ThisVariable * clone() const;
};
#endif