Skip to content

GetReactionForDamage

Realm: SERVER (supported usage).

actor:GetReactionForDamage(enemy)

Chooses a damage reaction through the brain or weighted at_damage; wanted actors retreat instead of defense.

Source: lua/background_npcs_core/actor/components/sh_state.lua.

Realm reference.