
Risk of Rain 2
You are viewing a potentially older version of this package. View Latest Version

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: