mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fix D20 roll adv/disadv removing (#280)
This commit is contained in:
parent
51b7cdeefb
commit
8a7ff2306a
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ export default class D20Roll extends DHRoll {
|
|||
|
||||
applyAdvantage() {
|
||||
this.d20.modifiers.findSplice(m => ['kh', 'kl'].includes(m));
|
||||
if (!this.hasAdvantage && !this.hasDisadvantage) this.number = 1;
|
||||
if (!this.hasAdvantage && !this.hasDisadvantage) this.d20.number = 1;
|
||||
else {
|
||||
this.d20.number = 2;
|
||||
this.d20.modifiers.push(this.hasAdvantage ? 'kh' : 'kl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue