add some cards

also added countb() - countedbamount..
This commit is contained in:
Anthony Calosa
2017-03-19 21:57:59 +08:00
parent fa69686f0a
commit eb8370b86b
9 changed files with 91 additions and 23 deletions

View File

@@ -771,6 +771,10 @@ private:
{
intValue = target->CountedObjects;
}
else if (s == "countedbamount")
{
intValue = target->CountedObjectsB;
}
else if (s == "kicked")
{
intValue = target->kicked;
@@ -4744,6 +4748,16 @@ public:
int resolve();
AACountObject * clone() const;
};
//counts a targetchooser for use later by other effects
class AACountObjectB : public ActivatedAbility
{
public:
string value;
AACountObjectB(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * source, ManaCost * _cost = NULL, string value ="");
int resolve();
AACountObjectB * clone() const;
};
/* Can prevent a card from untapping next untap */
class AAFrozen: public ActivatedAbility
{

View File

@@ -116,6 +116,7 @@ public:
int fresh;
int MaxLevelUp;
int CountedObjects;
int CountedObjectsB;
int kicked;
int dredge;
int zpos;