DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetProtectionLevel()

override float DirtBikeHelmet_ColorBase::GetProtectionLevel ( int type,
bool consider_filter = false,
int system = 0 )
inlineprivate

См. определение в файле DirtBikeHelmet_ColorBase.c строка 8

9 {
11 return 0.0;
12
13 if (GetInventory().FindAttachment(DirtBikeHelmet_Mouthguard.SLOT_ID))
14 {
15 if (type == DEF_DUST_PARTICLE_BREATH)
16 return 0.65;
17 }
18
19 return super.GetProtectionLevel(type, consider_filter, system);
20 }
bool IsDamageDestroyed(ActionTarget target)
Определения ActionBase.c:1275
const int DEF_DUST_PARTICLE_BREATH
Определения 3_Game/DayZ/constants.c:549

Перекрестные ссылки DEF_DUST_PARTICLE_BREATH, IsDamageDestroyed() и DirtBikeHelmet_Mouthguard::SLOT_ID.