- Fixed an issue with maxCast targeting opponent
This commit is contained in:
wagic.the.homebrew@gmail.com
2011-02-16 14:35:49 +00:00
parent 88218a9822
commit db0c55b4dd
5 changed files with 68 additions and 14 deletions

View File

@@ -1491,7 +1491,7 @@ int ACastRestriction::addToGame()
else
{
TargetChooser * _tc = restrictionsScope->clone();
existingRestriction = NEW MaxPerTurnRestriction(_tc, value->getValue(), MTGGameZone::intToZone(zoneId, source->controller(), targetPlayer));
existingRestriction = NEW MaxPerTurnRestriction(_tc, value->getValue(), MTGGameZone::intToZone(zoneId, targetPlayer));
targetPlayer->game->playRestrictions->addRestriction(existingRestriction);
}