86 {
87 PlayerBase player = PlayerBase.Cast(action_data.m_Player);
88 EntityAI item_in_hands = action_data.m_MainItem;
89
90 if (item_in_hands)
91 {
92 if (item_in_hands.IsInherited(BarbedWireLocked))
93 {
94 int randNum = Math.RandomInt(0, 3);
95 player.m_BleedingManagerServer.AttemptAddBleedingSourceBySelection(PlayerBase.m_BleedingSourcesUp[randNum]);
96 }
97 player.SetRestrained(false);
98 item_in_hands.AddHealth(-GameConstants.CLEAN_UNRESTRAIN_DAMAGE);
99 MiscGameplayFunctions.TransformRestrainItem(item_in_hands, null, null, player);
100
101
102 }
103 }