mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 07:36:26 +01:00
Actor getRollData
This commit is contained in:
parent
9d0b9183ee
commit
59ff38bd4f
1 changed files with 4 additions and 1 deletions
|
|
@ -370,7 +370,10 @@ export default class DhpActor extends Actor {
|
|||
}
|
||||
|
||||
getRollData() {
|
||||
return this.system;
|
||||
const rollData = super.getRollData();
|
||||
rollData.prof = this.system.proficiency?.total ?? 1;
|
||||
rollData.cast = this.system.spellcast?.total ?? 1;
|
||||
return rollData;
|
||||
}
|
||||
|
||||
formatRollModifier(roll) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue