64 {
67
68 bool added = false;
69
71 {
72
73 feather = action_data.m_MainItem;
75 }
76 else
77 {
78
80 feather =
ItemBase.Cast(action_data.m_Target.GetObject());
81 }
82
83 if (!bolt || !feather)
84 return;
85
86 float dmg;
87 string type;
88
89 bolt.ServerAcquireCartridge(dmg, type);
90
92 {
95 {
97 added = true;
98 }
99 }
100
101 if (!added)
102 {
108 }
109
110 feather.AddQuantity(-1);
111 }
Bolt_Base Ammunition_Base
class GP5GasMask extends MaskBase ItemBase
Ammunition_Base m_ResultEntity