attempt to fix an issue with prevent:1 on instants and sorceries. thanks for the tip wololo! :)

This commit is contained in:
omegablast2002@yahoo.com
2010-09-27 02:07:11 +00:00
parent 81cdfb8c9b
commit aba3f784c5

View File

@@ -885,7 +885,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
}
Targetable * t = NULL;
if (spell) t = spell->getNextPlayerTarget();
if (spell) t = spell->getNextDamageableTarget();
MTGAbility * a = NEW AADamagePrevent (id, card, t,preventing,NULL,0,who);
a->oneShot = 1;
return a;