NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
16 stars 12 forks source link

Less lazy way on tracking attackers HP damages #309

Closed nullsystem closed 2 months ago

nullsystem commented 3 months ago

Currently for both the assists checker and damage reporter, the values there are just simply float values given as is and added onto on each damage hit. While this is simple and works for it purpose, the accumulated overall value can look a bit off since how the health damage value is dealt differently as seen in: CBaseCombatCharacter::OnTakeDamage_Alive which separates out the fractional, only applying integeral damage, and holding tabs on the fractional as an accumulator value.