This line is fine, since no idea why it was a number instead of miss_modifier. Just remove that switch above, since it's already inside rof get_zone_with_miss_chance