Compare commits

...

1 Commits

Author SHA1 Message Date
a7e4aea52d Fix: meditation V2 2025-10-24 01:22:20 +02:00

View File

@@ -74,7 +74,7 @@ export class RollPartMeditation extends RollPartSelect {
getAjustements(rollData) {
const malus = this.getMalusEchecs(rollData)
const malusEchecs = malusEchecs == 0 ? [] : [{ label: "Méditation", value: malus }]
const malusEchecs = malus == 0 ? [] : [{ label: "Méditation", value: malus }]
const malusConditions = { label: "Conditions", value: this.getMalusConditions(rollData) }
return [malusConditions, ...malusEchecs]
}