mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-23 07:53:39 +02:00
Merged with main
This commit is contained in:
commit
1bbebd2f32
5 changed files with 22 additions and 12 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