Gestion des signes draconiques #455
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user