Merge branch 'fix-communicate-check-value-calculation' into 'main'

fix: correctly calculate the check target number for communicate

See merge request dungeonslayers/ds4!218
This commit is contained in:
Johannes Loher 2022-11-06 22:05:16 +00:00
commit faefc9045b

View file

@ -302,7 +302,7 @@ export class DS4Actor extends Actor {
appraise: data.attributes.mind.total + data.traits.intellect.total,
changeSpell: data.attributes.mind.total + data.traits.intellect.total,
climb: data.attributes.mobility.total + data.traits.strength.total,
communicate: data.attributes.mind.total + data.traits.dexterity.total,
communicate: data.attributes.mind.total + data.traits.dexterity.total + this.itemTypes.language.length,
decipherScript: data.attributes.mind.total + data.traits.intellect.total,
defend: 0, // assigned in prepareFinalDerivedData as it must always match data.combatValues.defense.total and is not changeable by effects
defyPoison: data.attributes.body.total + data.traits.constitution.total,