mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Fixed so that advantage/disadvantage dice are properly considered when rerolling
This commit is contained in:
parent
472f876ea3
commit
e982162402
2 changed files with 4 additions and 2 deletions
|
|
@ -409,7 +409,9 @@ export default class DualityRoll extends D20Roll {
|
|||
difficulty: message.system.roll.difficulty ? Number(message.system.roll.difficulty) : null
|
||||
}
|
||||
});
|
||||
newRoll.extra = newRoll.extra.slice(2);
|
||||
|
||||
const extraIndex = newRoll.advantage ? 3 : 2;
|
||||
newRoll.extra = newRoll.extra.slice(extraIndex);
|
||||
|
||||
const tagTeamSettings = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.TagTeamRoll);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue