forked from public/foundryvtt-reve-de-dragon
Fix: meditation V2
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user