DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
GorkaHelmetComplete.c
См. документацию.
2{
7
8 override float GetProtectionLevel(int type, bool consider_filter = false, int system = 0)
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 }
21
22 //Debug menu Spawn Ground Special
23 override void OnDebugSpawn()
24 {
25 GetInventory().CreateInInventory("GorkaHelmetVisor");
26 }
27}
bool IsDamageDestroyed(ActionTarget target)
Определения ActionBase.c:1275
ECachedEquipmentItemCategory
Определения ECachedEquipmentItemCategory.c:2
override ECachedEquipmentItemCategory GetCachedEquipmentCategory()
Определения GorkaHelmetComplete.c:3
override void OnDebugSpawn()
Определения GorkaHelmetComplete.c:23
override float GetProtectionLevel(int type, bool consider_filter=false, int system=0)
Определения GorkaHelmetComplete.c:8
Определения GorkaHelmetComplete.c:2
static int SLOT_ID
Определения crafting.c:13
Определения crafting.c:12
Определения GreatHelm.c:2
const int DEF_DUST_PARTICLE_EYES
Определения 3_Game/DayZ/constants.c:550