Mikusch / deathrun

A highly customizable Deathrun plugin for Team Fortress 2
GNU General Public License v3.0
20 stars 9 forks source link

Scale activator(s) health with variying number of players, accounting for respawns #24

Open worMatty opened 1 year ago

worMatty commented 1 year ago

A lot of maps now are using the game respawn entity to respawn the dead runners in things like endings and minigames. Unfortunately, in DRN, the activator's health and/or max health goes down with the number of reds as they die, but it seems like it doesn't work the same when they respawn. As far as I can see, their max health increases but not the previously scaled-down health. This means that as the reds die off during the deathrun course and the activator's health declines, when it comes time for an arena match, their health is too low for them to survive.