fix: correctly calculate the check target number for communicate

It receives a bonus of +1 for each known language
This commit is contained in:
Johannes Loher 2022-11-06 22:58:53 +01:00
parent e814bd24e1
commit 01fb92732b

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,