I want to work on a personal mod that does some fiddling around based on the player's current weapon damage. I'm hoping there is a quick and easy function in the CS scripting language to retrieve the player's damage.
If not, I am prepared to calculate it myself, or something approximating it. According to the UESP wiki for weapon damage, this formula applies:
BaseWeaponDamage * 0.5 *
( 0.75 + Strength * 0.005 ) *
( 0.2 + ModifiedSkill * 0.015 ) *
( WeaponHealth/MaxWeaponHealth + 1 )/2
(where ModifiedSkill is a value based on the weapon skill modified by the Luck stat)
I am hopeful that if the player's current damage isn't trivially/easily obtainable by function or global variable, then hopefully all the components of this formula are. I just havent researched it yet. That is my project for tomorrow night.
Thanks!