Merge remote-tracking branch 'refs/remotes/WagicProject/master'
This commit is contained in:
@@ -773,6 +773,18 @@ bool MTGScryCards::CheckUserInput(JButton key)
|
|||||||
initDisplay(revealTopAmount);
|
initDisplay(revealTopAmount);
|
||||||
abilitySecond = contructAbility(abilityTwo);
|
abilitySecond = contructAbility(abilityTwo);
|
||||||
game->addObserver(abilitySecond);
|
game->addObserver(abilitySecond);
|
||||||
|
if(revealTopAmount == 0 && dontRevealAfter && delayed)
|
||||||
|
{
|
||||||
|
MTGAbility * delayedA = contructAbility(delayedAbilityString);
|
||||||
|
if (delayedA->oneShot)
|
||||||
|
{
|
||||||
|
delayedA->resolve();
|
||||||
|
SAFE_DELETE(delayedA);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
delayedA->addToGame();
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user