Hi all, this is something quick for those of you running VSH2.
VSH2 uses SDKHooks_GetMaxHealth to provide a max health for its bosses and lets the game handle boss damage/health, but this allows Medic bosses to regen over time, Medic teammates/minions to heal bosses, and friendly dispensers to heal bosses.This plugin works to prevent these instances.
There are 3 cvars
Code:
"sm_noregen_enable", "1.0", "Enable the VSH2 No-Regen plugin?"
"sm_noregen_medics", "0", "Should Medics on a Boss' team be able to heal a boss?"
"sm_noregen_dispensers", "0", "Should Dispensers on a Boss' team be able to heal a boss?"
Nergal doesn't like taking care of gamedata so I doubt this will be a part of the main VSH2 repo, so snag it here
Requires
DHooks with Detours and SM 1.10+