added a targetchooser for dummycards source and a method for retrieving card->storedCards variables for docs card package.

This commit is contained in:
omegablast2002@yahoo.com
2012-03-22 21:50:50 +00:00
parent 26239cdc91
commit 2a17b9c11b
5 changed files with 22 additions and 0 deletions

View File

@@ -58,6 +58,10 @@ private:
return;
MTGCardInstance * target = card->target;
intValue = 0;
if(s.find("stored") != string::npos)
{
return init(s.substr(+6),spell,card->storedCard);
}
bool halfup = false;
bool halfdown = false;
if (!target) target = card;
@@ -2898,6 +2902,7 @@ public:
setAbilityOwner();
myDummy->setObserver(abilityReciever->getObserver());
myDummy->owner = abilityReciever;
myDummy->storedCard = source;
vector<string>magictextlines = split(sabilities,'_');
if(magictextlines.size())
{