fn has_primary_resource( view: &CombatView<'_>, candidate: CastCandidate, ) -> Result<(), CastReject>