removed a unused variable and correct a bug with [share] spells tc's are deleted as they resolve so these effects couldnt take adventage of this type of targeting when the effect ability was a fizzle.

This commit is contained in:
omegablast2002@yahoo.com
2011-01-23 17:29:26 +00:00
parent 12bdaffac1
commit ee29fbc237
5 changed files with 16 additions and 3 deletions

View File

@@ -209,6 +209,11 @@ Interruptible(id), tc(tc), cost(_cost), payResult(payResult)
mHeight = 40;
type = ACTION_SPELL;
from = _source->getCurrentZone();
for(int i = 0;i < MAX_TARGETS;i++)
{
if(tc && tc->targets[i] != NULL)
_source->backupTargets[i] = tc->targets[i];
}
}
int Spell::computeX(MTGCardInstance * card)