Could everyone help me by just posting any mods they have used or developed that you know touch the CalculateAttackDamage formula override?
If you're unsure what object I'm speaking of, it's this routine used to calculate damage and return it to the engine.
Code: Select all
public static int CalculateAttackDamage(DaggerfallEntity attacker, DaggerfallEntity target, int enemyAnimStateRecord, int weaponAnimTime, DaggerfallUnityItem weapon)
Code: Select all
FormulaHelper.RegisterOverride(ShieldFormulaHelper.ShieldFormulaHelperInstance, "CalculateAttackDamage", (Func<DaggerfallEntity, DaggerfallEntity, int, int, DaggerfallUnityItem, int>)ShieldFormulaHelper.CalculateAttackDamage);