Fix dice default

This commit is contained in:
2023-03-29 23:04:02 +02:00
parent 75d562f922
commit e7f3851daa
4 changed files with 13 additions and 16 deletions

View File

@ -31,7 +31,7 @@ export class BoLUtility {
hint: "Sélectionne la formule de dés (par défaut 2d6)",
scope: "world",
config: true,
default: "2d6",
default: "6",
type: String,
choices: { "6": "2d6", "8":"2d8", "10":"2d10", "12":"2d12", "20":"2d20"},
onChange: value => {
@ -149,7 +149,7 @@ export class BoLUtility {
df = "6"
}
return {
diceFormula: this.diceFormula,
diceFormula: df,
successValue : this.successValue,
criticalSuccessValue: this.criticalSuccessValue,
criticalFailureValue: this.criticalFailureValue