Gestion des signes draconiques #455

Closed
vincent.vandeme wants to merge 233 commits from v1.4-signes-draconiques into master
Showing only changes of commit 3fe8e834c8 - Show all commits

View File

@ -15,8 +15,7 @@ export class DeDraconique extends Roll{
evaluate() { evaluate() {
super.evaluate(); super.evaluate();
const rerolls = Math.ceil(this.total / 8); const rerolls = Math.ceil(this.total / 8);
this.terms[this.terms.length - 1] = rerolls; this.terms[this.terms.length - 1].number = rerolls;
this.results[this.results.length - 1] = rerolls;
this._total -= rerolls; this._total -= rerolls;
return this; return this;
} }