ConfoglTeam / PrO-MoD

http://l4dpromod.com
GNU General Public License v2.0
6 stars 2 forks source link

Added spit interpolation to l4d2_uniform_spit #4

Open ProdigySim opened 10 years ago

ProdigySim commented 10 years ago

Spit interpolation lets us add additional damage points based on the current tick count.

If l4d2_spit_interpolation_factor is set to 2, we'll add an extra 1 damage every other tick--per player.

Basically, we take the current tick count for that victim modulo interpolation factor and add that to the damage.