Called when an entity takes damage. You can modify all parts of the damage info in this hook. See GM:PostEntityTakeDamage if you wish to hook the final damage event. Applying damage from this hook to the entity taking damage will lead to infinite loop/crash.
wiki.facepunch.com