 
        DamageSync
A host only mod that syncs enemy HP with clients.
| Last updated | 3 months ago | 
| Total downloads | 46334 | 
| Total rating | 7 | 
| Categories | Client Mods Libraries | 
| Dependency string | randomuserhi-DamageSync-0.0.7 | 
| Dependants | 49 other packages depend on this package | 
This mod requires the following mods to function
 
                        BepInEx-BepInExPack_GTFO
BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.
Preferred version: 3.1.0README
A host only mod that syncs enemy HP with clients.
Requires Bepinex, but is not dependent on GTFO-API plugin, so you can remove GTFO-API.dll from plugins folder to keep vanilla rundown and progression.
Big thanks to mankool for figuring out the bulk of this!
============ API ============
namespace DamSync;
DamageSync.Sync(EnemyAgent agent, int limbID = -1);
DamageSync.Sync(Dam_EnemyDamageBase agent, int limbID = -1);
Calling Sync from host with limbID < 0 will sync the given enemy's hp with clients (but no limbs get synced).
Calling Sync from host with limbID >= 0 will sync the given enemy's limb hp with clients (but not its actual enemy HP).
============ Change Log ============
v0.0.7
- Added API for plugin devs to sync custom damage.
v0.0.6
- Fixed limbID of 0 being ignored.
v0.0.5
- If host has the mod, syncs limb health values with clients that also have the mod.
v0.0.4
- Changed the channel type so health updates are SNet_ChannelType.GameReceiveCritical(Thanks toDexfor suggesting this!)
v0.0.3
- Added config to enable debug info
v0.0.2
- Removed Debug clutter
v0.0.1
- Initial Release