fixes calculation for weapon ini from non-existing ranged weapon statistic.

main 0.10.0
macniel 2026-03-14 11:06:14 +01:00
parent 1dd43451c2
commit e79dad89a0
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ class CharacterSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
isRanged: true, isRanged: true,
at: `${this.document.system.fk.aktuell + skill.system.at}`, at: `${this.document.system.fk.aktuell + skill.system.at}`,
tp: `${fernkampf.system.rangedAttackDamage}`, tp: `${fernkampf.system.rangedAttackDamage}`,
ini: `${context.inidice}w6 + ${context.inivalue + fernkampf.system.iniModifier ?? 0}`, ini: `${context.inidice}w6 + ${context.inivalue ?? 0}`,
}) })
} }
}) })