added meld(cardname)

added meldfrom(cardname|cardname) helper class.

auto={0}:target(arbor colossus|mybattlefield) meld(Arc Runner)
auto=meldfrom(arbor elf|Arbor Colossus)
This commit is contained in:
zethfoxster
2016-07-21 20:46:53 -04:00
parent 9f8ead5e4e
commit ca395492d5
7 changed files with 190 additions and 2 deletions
+23
View File
@@ -4456,6 +4456,29 @@ public:
const string getMenuText();
AAMorph * clone() const;
};
class AAMeldFrom : public ActivatedAbility
{
public:
string _MeldedName;
AAMeldFrom(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target, string MeldedName = "");
int resolve();
const string getMenuText();
AAMeldFrom * clone() const;
};
/* meld*/
class AAMeld : public ActivatedAbility
{
public:
string _MeldedName;
AAMeld(GameObserver* observer, int id, MTGCardInstance * card, MTGCardInstance * _target,string MeldedName = "");
int resolve();
const string getMenuText();
AAMeld * clone() const;
};
/* flip*/
class AAFlip: public InstantAbility
{