orffen / basicfantasyrpg

The Basic Fantasy RPG system for FoundryVTT!
Other
10 stars 8 forks source link

Attack stat bonuses on character sheet not working #41

Closed totallybanjaxed closed 1 year ago

totallybanjaxed commented 1 year ago

Reported by nic77 on foundry discord.

When performing a melee or ranged attack, the PCs relevant stat bonus (str/dex) is always returning as zero.

image

checking the code, it seems it's using @str.bonus or @dex.bonus, instead of @abilities.str.bonus and @abilities.dex.bonus

Will raise a PR to address