This commit is contained in:
@@ -222,7 +222,15 @@ export class TurnController {
|
||||
HttpStatus.FORBIDDEN,
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
targetPlayer.fuckUMarkers + targetPlayer.discardMarkers >=
|
||||
targetPlayer.hand.cards.length
|
||||
) {
|
||||
throw new HttpException(
|
||||
'You cannot add more discard markers to this player',
|
||||
HttpStatus.BAD_REQUEST,
|
||||
);
|
||||
}
|
||||
const targetToken = game.currentTurn.tokens.find(
|
||||
(t) => t.effect == CardEffects.MAKE_DISCARD,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user