tapahob / BG2RadarOverlay

An overlay program for Baldurs Gate EE (1, 2) showing nearest enemies, their resistances, buffs and its durations
MIT License
25 stars 3 forks source link

Unmodified Thac0 and APR #8

Closed gatperdut closed 2 years ago

gatperdut commented 2 years ago

The Thac0 and APR values seem off. For example, screenshot from Eldarin, one of the thugs in the first Random City Encounter (Area AR0041):

eldarin_unmodified_attacks_and_thac0

His APR displays as 2 in the card because he's using a bow, however Ctrl-Q'ing him shows it's actually 3 (2 + 1/2 from 8th Lvl Fighter + 1/2 from 4 pips in bow proficiency). The Thac0 displays as 13 (correct for his level) but in reality, once modified, it's 7.

Could the modified values be the ones displayed?

tapahob commented 2 years ago

I've updated the calculations in the latest release, please check if its fixed

gatperdut commented 2 years ago

It's been somewhat hard to test because crashes have been common since the latest release 1.2.1, but more on that on a different issue.

However I checked with the Jailkeep Golem and Eldarin again, and also with some Drow and Beholders in AR2101.

"Correct" or "incorrect" below is in relation to what is seen in the character sheet with Ctrl+Q.

In any case I think the Thac0 is more important than the APR - you always know when they strike, but it's harder to know the Thac0 they are attacking with.

tapahob commented 2 years ago

I've reuploaded the latest release, should calc APR properly now

gatperdut commented 2 years ago

That definitely looks correct! Will open a different issue once I check what happens with dual-wielding enemies.

tapahob commented 2 years ago

Okki