redsunservers / SuperZombieFortress

Custom Team Fortress 2 Gamemode, inspired from Left 4 Dead
GNU General Public License v3.0
36 stars 26 forks source link

Fix indirect damage not taking scaling into account #40

Closed woisalreadytaken closed 5 years ago

woisalreadytaken commented 5 years ago

This change makes the following ways of dealing damage adjust with Zombie Damage Scale and cap at the point they should (have it be by themselves or when a stunned survivor is attacked):

42 helped me with this, thanks 42 :spurdo: b

FortyTwoFortyTwo commented 5 years ago

10dmg backstab actually should be in #define, for easier number changing in the future when 10dmg is used in more than 1 places. Something like #define BACKSTAB_DAMAGE_STUNNED would do.