Update README.md

This commit is contained in:
2025-05-03 08:26:22 +02:00
parent bd8b098b35
commit b7f13500a6
36 changed files with 124 additions and 73 deletions

View File

@ -292,7 +292,10 @@ export default class LethalFantasyRoll extends Roll {
hasModifier = false
}
console.log("Roll mode", CONFIG.Dice.rollModes)
const rollModes = Object.fromEntries(Object.entries(CONFIG.Dice.rollModes).map(([key, value]) => [key, game.i18n.localize(value)]))
console.log("Roll mode", rollModes)
const fieldRollMode = new foundry.data.fields.StringField({
choices: rollModes,
blank: false,