force a lure block when the players decide they want to skip the action, a lurer MUST be blocked if the defending creature can block it. this action can not be skipped.

This commit is contained in:
omegablast2002@yahoo.com
2013-01-25 14:25:26 +00:00
parent f1032c64b5
commit 0db78c0444
5 changed files with 48 additions and 14 deletions

View File

@@ -1543,14 +1543,10 @@ bool BlockableChooser::canTarget(Targetable * target,bool withoutProtections)
if(!card->isAttacker() || !source->canBlock(card))
return false;
bool lured = false;
int lureFound = 0;
MTGCardInstance * lurers = NULL;
while(!lureFound)
MTGCardInstance * lurers = observer->currentPlayer->game->inPlay->findALurer();
if(lurers)
{
lurers = card->controller()->game->inPlay->getNextLurer(lurers);
lureFound = (lurers == NULL || lurers->attacker);
if(lurers)
lured = true;
lured = true;
}
if(lured && card->controller()->inPlay()->hasAbility(Constants::LURE) && !card->has(Constants::LURE))
return false;