protected function filterNumericAbilities(array $abilities) { return array_filter($abilities, 'is_int'); }