A question about the weapon data: the strength bonus is the increase towards a character's strength stat once the weapon is bought, right? That's what pretty much all websites list as the weapon's attack power. However, here seems to be an additional attack power byte which is the same for every single weapon (just looked in the kernel, and all weapons have a value of 20 for their attack power). What is this byte used for? Is it an additional but invisible strength increase? Or does it serve a different purpose in damage calculation? I'm just confused because all guides around the web always refer to the strength bonus when talking about a weapon's attack power.
str_bonus is the value that is added to the strength stat when you buy the weapon.
attack_power is an additional byte that's use in damage calculation, so it would also give a damage increase if higher than the previous weapon.
See section 4.1 of
this guide in step 3:
Step 3: Base Damage Calculation
Damage = AttackerStr^2 / 16 + AttackerStr
Damage = Damage * (265 - TargetVit) / 256
Damage = Damage * Power / 16
Note: A normal attack has a Power value of 20
EDIT: I haven't actually tested changing the byte but I made an educated guess as to what it is.