
GTFO
You are viewing a potentially older version of this package. View Latest Version

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
v0.0.6
v0.0.5
v0.0.4
SNet_ChannelType.GameReceiveCritical (Thanks to Dex for suggesting this!)v0.0.3
v0.0.2
v0.0.1