mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fix to make Cosmo happy (#318)
This commit is contained in:
parent
70239ec06a
commit
e6126d8104
1 changed files with 2 additions and 2 deletions
|
|
@ -180,8 +180,8 @@ export default class DHBaseAction extends foundry.abstract.DataModel {
|
|||
const actorData = this.actor.getRollData(false);
|
||||
|
||||
// Remove when included directly in Actor getRollData
|
||||
actorData.prof = actorData.proficiency?.value ?? 1;
|
||||
actorData.cast = actorData.spellcast?.value ?? 1;
|
||||
actorData.prof = actorData.proficiency?.total ?? 1;
|
||||
actorData.cast = actorData.spellcast?.total ?? 1;
|
||||
actorData.result = data.roll?.total ?? 1;
|
||||
/* actorData.scale = data.costs?.length
|
||||
? data.costs.reduce((a, c) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue