23 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
26 Blowtorch bt = Blowtorch.Cast(item);
31 if (!boat || boat.EngineIsOn())
34 if (
GetGame().IsDedicatedServer())
37 string damageZone =
"";
39 boat.GetActionComponentNameList(target.GetComponentIndex(), selections,
LOD.
NAME_VIEW);
41 foreach (
string selection : selections)
43 if (boat && DamageSystem.GetDamageZoneFromComponentName(boat, selection, damageZone))
45 if (damageZone ==
"Engine")
47 int zoneHP = boat.GetHealthLevel(damageZone);
50 m_CurrentDamageZone = damageZone;