StatNamePatch
A class in TavernLib, TavernLib.Patches.
Prefixes StatManager.Awake to rename the stat definition with hash 44538 from damageprotection to crippledamageprotection, whose name clashes with another stat. Runs once.
- Listed in TavernLib.Patches
- Attributes
HarmonyPatch
Constructors
| Member | What it is |
|---|---|
StatNamePatch() | Created by TavernLib; mods don't make one. |
Fields
2 private and internal fields
Methods
| Member | What it is |
|---|---|
static void RenameCrippleDamageProtection() | Sets that stat definition's private statName the first time it's found, if it's still damageprotection. |