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

◆ GetProtectionLevel()

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

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

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

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