Function veloren_server::sys::agent::behavior_tree::target_if_attacked

source ·
fn target_if_attacked(bdata: &mut BehaviorData<'_, '_, '_>) -> bool
Expand description

Target an entity that’s attacking us if the attack was recent and we have a health component