affectanimal
weaponmanual page 5
affectanimal
Arguments
Takes no arguments.
What it does
The weapon only affects animals.
— modding manual, page 5 (as a weapon command)
From the base game data
weapon data
affectanimal
Interacts with
affecthuman commandaffectundead commandaffectmale commandaffectfemale commandhuman commandundead commandanimal commandfemale command
A weapon with an affect… restriction only harms matching targets: affectundead requires the undead flag, affectanimal the animal flag, and affectmale / affectfemale check the being's sex (female marks a monster or item wearer as female). affecthuman is the odd one out — the manual says it keys on the res_convert attribute rather than the human flag.
— manual