mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 05:31:07 +01:00
Switching to using clone in getRollData rather than an Object to avoid errors
This commit is contained in:
parent
3f87004849
commit
6e3ad66bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ export default class DhpActor extends Actor {
|
||||||
|
|
||||||
/**@inheritdoc */
|
/**@inheritdoc */
|
||||||
getRollData() {
|
getRollData() {
|
||||||
const rollData = { ...super.getRollData() };
|
const rollData = super.getRollData().clone();
|
||||||
rollData.name = this.name;
|
rollData.name = this.name;
|
||||||
rollData.system = this.system.getRollData();
|
rollData.system = this.system.getRollData();
|
||||||
rollData.prof = this.system.proficiency ?? 1;
|
rollData.prof = this.system.proficiency ?? 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue