code/datums/ai/basic_mobs/basic_subtrees/target_retaliate.dm

/datum/ai_planning_subtree/target_retaliate | Sets the BB target to a mob which you can see and who has recently attacked you |
---|---|
/datum/ai_behavior/target_from_retaliate_list | Picks a target from a provided list of atoms who have been pissing you off You will probably need /datum/element/ai_retaliate to take advantage of this unless you're populating the blackboard yourself |