Fix jet récupération #446

Merged
vincent.vandeme merged 1 commits from master-fix into master 2021-05-08 07:41:14 +02:00
Showing only changes of commit 8090d0280d - Show all commits

View File

@ -542,7 +542,8 @@ export class RdDActor extends Actor {
message.content += `Vous avez suffisament rêvé, au delà de votre seuil. `; message.content += `Vous avez suffisament rêvé, au delà de votre seuil. `;
} }
else { else {
let deRecuperation = new Roll("1dr + 7").evaluate().total; const roll = new Roll("1dr").evaluate();
let deRecuperation = roll.total;
console.log("recuperationReve", deRecuperation); console.log("recuperationReve", deRecuperation);
if (deRecuperation >= 7) { if (deRecuperation >= 7) {
// Rêve de Dragon ! // Rêve de Dragon !