Merge branch 'master-fix' into 'master'
Fix jet récupération See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!229
This commit is contained in:
commit
9b8ea03067
@ -542,7 +542,8 @@ export class RdDActor extends Actor {
|
||||
message.content += `Vous avez suffisament rêvé, au delà de votre seuil. `;
|
||||
}
|
||||
else {
|
||||
let deRecuperation = new Roll("1dr + 7").evaluate().total;
|
||||
const roll = new Roll("1dr").evaluate();
|
||||
let deRecuperation = roll.total;
|
||||
console.log("recuperationReve", deRecuperation);
|
||||
if (deRecuperation >= 7) {
|
||||
// Rêve de Dragon !
|
||||
|
Loading…
Reference in New Issue
Block a user