

R2API.RecalculateStats is a submodule assembly for R2API that allows mod creators to finely tune stat changes for Characters ingame
It is intended to be a global solution for mods in general.
R2API.RecalculateStats works via the GetStatCoefficients event, which allows a mod creator to run logic and modify the incoming stat changes for a Character.
These stat changes are represented in the StatHookEventArgs, which includes arguments for modifying a variety of stats, these include:
1.6.61.6.51.6.4SkillSlotStatModifiers:
primarySkill/secondarySkill/utilitySkill/specialSkill/allSkills for stat manipulation to apply to specific slots or all slots simultaneously.cooldownReductionMultAdd, and cooldownMultiplier stats for better modification of skill cooldowns.bonusStockAdd for adding charges to skills.1.6.31.6.2luckAdd stat for increasing and decreasing luckshouldFreezeBarrier, barrierDecayAdd, and barrierDecayMult stats for modifying barrier decay rate1.6.1jumpCountAdd and jumpCountMult.1.6.0healthTotalMult, shieldTotalMult, regenTotalMult, moveSpeedTotalMult, jumpPowerTotalMult, damageTotalMult attackSpeedTotalMult, critMult, bleedChanceMult, armorMult, and curseTotalMult.bleedChanceAdd.levelHealthAdd, levelShieldAdd, levelRegenAdd, levelMoveSpeedAdd, levelJumpPowerAdd, levelDamageAdd, levelAttackSpeedAdd, levelCritAdd, and levelArmorAdd to scale stat bonuses with character level.levelFlatAdd stat for changing effective level additively.sprintSpeedAdd stat for changing sprint speed multiplier.attackSpeedReductionMultAdd stat for reducing attack speed.