Added is_illegal_attack_melee helper function for Zin edicts.