I think a mantid knows what it can handle. If the locust starts hurting it, it will drop the locust. I can't speak for all locations, but I know that in this area the wild mantises eat practically nothing except locusts, and in the wild the locusts all have legs.