Fix in creature+actor sheet

This commit is contained in:
2026-06-25 22:08:42 +02:00
parent f3c9a531e1
commit 393f059d17
8 changed files with 184 additions and 16 deletions
+2 -2
View File
@@ -84,8 +84,8 @@ export default class AwERoll extends Roll {
Object.entries(CONFIG.Dice.rollModes).map(([k, v]) => [k, game.i18n.localize(v.label ?? v)])
)
// Bonus choices: -5 to +5
const bonusChoices = Array.from({length: 11}, (_, i) => i - 5)
// Bonus choices: -10 to +10
const bonusChoices = Array.from({length: 21}, (_, i) => i - 10)
.map(v => ({ value: v, label: v > 0 ? `+${v}` : String(v), selected: v === 0 }))
// DC choices: blank + 10..30