attempt to fix "notatarget"

notatarget must be allowed to target untargettable cards.
This commit is contained in:
Anthony Calosa
2015-09-23 12:14:47 +08:00
parent df659f648e
commit 7db5345f9a
4 changed files with 11 additions and 4 deletions
+5
View File
@@ -1330,7 +1330,12 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
tcString = splitTarget[1];
if (!isTarget)
{
tc->targetter->bypassTC = true;
tc->targetter = NULL;
}
else
tc->targetter->bypassTC = false;
sWithoutTc = splitTarget[0];
sWithoutTc.append(splitTarget[2]);
}