Injured enemy NPC randomization?

How would it go about to randomize an enemy going into a theoretical “Last stand, injured mode” when shot in the body?

so for example

NORMAL NPC BEHAVIOR> If shot in body> 1/15 chance of entering> INJURED NPC BEHAVIOR