Fix for issue 646 (Tidal Warrior)

This commit is contained in:
wagic.the.homebrew
2011-05-06 02:27:49 +00:00
parent 691a1e1b91
commit 1e2ed785eb
5 changed files with 48 additions and 7 deletions

View File

@@ -922,6 +922,7 @@ public:
MultiAbility(int _id, MTGCardInstance * card, Targetable * _target, ManaCost * _cost);
int Add(MTGAbility * ability);
int resolve();
int addToGame();
const char * getMenuText();
MultiAbility * clone() const;
~MultiAbility();
@@ -1747,6 +1748,7 @@ public:
int addToGame()
{
ability->forceDestroy = -1;
ability->target = target; //Might have changed since initialization
ability->addToGame();
return InstantAbility::addToGame();
}