My grandfather served in KMAG with a colonel who’d been in the Philippines during the Moro Campaigns and was nearly killed in just such a situation. The Moros would get hopped up on drugs (to make themselves fiercer and to deaden the pain), wrap several layers of jungle vine around their torsos to help absorb bullets, and charge American troops with machetes swinging. Colonel (then Lt) Fuller hit his attacker five times in the chest and the guy still managed to reach him and lay him open from right shoulder to left hip. As Fuller was going down, he fired his last round, which caught his attacker under the jaw, killing him.