Added trigger to require discard
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
d01ab17e13
commit
abf4eaf2a8
@ -397,9 +397,12 @@ const processRoll = (game, session, dice) => {
|
||||
game.turn.limits.pips.push(i);
|
||||
}
|
||||
} else {
|
||||
mustDiscard.forEach(player =>
|
||||
addChatMessage(game, null, `The robber was rolled and ${player.name} must discard ${player.mustDiscard} resource cards!`)
|
||||
);
|
||||
mustDiscard.forEach(player => {
|
||||
addChatMessage(game, null, `The robber was rolled and ${player.name} must discard ${player.mustDiscard} resource cards!`);
|
||||
sendUpdateToPlayer(game, {
|
||||
private: game.player
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
sendUpdateToPlayers(game, {
|
||||
@ -2778,10 +2781,7 @@ const asdf = () => {
|
||||
game.turn.limits.pips.push(i);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user