Nouveau roll-dialog: mode attaque / defense
This commit is contained in:
@@ -50,6 +50,12 @@ export class RollPartDiff extends RollPart {
|
||||
)
|
||||
}
|
||||
|
||||
setDiff(rollData, diffDefense) {
|
||||
const current = this.getCurrent(rollData)
|
||||
current.value = diffDefense.diff
|
||||
current.mode = diffDefense.mode
|
||||
}
|
||||
|
||||
getAjustements(rollData) {
|
||||
const current = this.getCurrent(rollData)
|
||||
return [{
|
||||
@@ -67,4 +73,5 @@ export class RollPartDiff extends RollPart {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user