From 01fb92732b189c5d56dab1f3b332b75e87a91b50 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sun, 6 Nov 2022 22:58:53 +0100 Subject: [PATCH] fix: correctly calculate the check target number for communicate It receives a bonus of +1 for each known language --- src/documents/actor/actor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/actor/actor.ts b/src/documents/actor/actor.ts index 08af79f1..16b6506a 100644 --- a/src/documents/actor/actor.ts +++ b/src/documents/actor/actor.ts @@ -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,