I have a script that damages stamina (instead of health) when the player blocks a hit. The script works very well against opponents wielding weapons because I can get the weapon's damage, weight etc. See fragment of the script:
If (akSource as Weapon && abHitBlocked == 1 && abPowerAttack == 0) AWW = akSource.GetWeight()*(1- Caster.GetActorValue("Block")*0.007) Caster.DamageAV("Stamina", AWW)
My problem is with unarmed opponents. A dwarven centurion for example does 100 of unarmed damage according to the CK. Is there a way to obtain this value via scripts so I can use it to drain stamina when appropiate?
Thanks in advance.