259 {
262 for (int i = 0; i < GetInventory().AttachmentCount(); i++)
263 {
264 entity = GetInventory().GetAttachmentFromIndex(i);
265 if ( Class.CastTo(attachment,entity) )
266 {
267 attachment.SetHealth01("","Health",GetHealth01());
268 }
269 }
270 }
class GP5GasMask extends MaskBase ItemBase