DayZ
1.30
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
GorkaHelmetComplete.c
См. документацию.
1
class
GorkaHelmet
:
HelmetBase
2
{
3
override
ECachedEquipmentItemCategory
GetCachedEquipmentCategory
()
4
{
5
return
ECachedEquipmentItemCategory
.MASK;
6
}
7
8
override
float
GetProtectionLevel
(
int
type,
bool
consider_filter =
false
,
int
system = 0)
9
{
10
if
(
IsDamageDestroyed
())
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
}
IsDamageDestroyed
bool IsDamageDestroyed(ActionTarget target)
Определения
ActionBase.c:1275
ECachedEquipmentItemCategory
ECachedEquipmentItemCategory
Определения
ECachedEquipmentItemCategory.c:2
GorkaHelmet::GetCachedEquipmentCategory
override ECachedEquipmentItemCategory GetCachedEquipmentCategory()
Определения
GorkaHelmetComplete.c:3
GorkaHelmet::OnDebugSpawn
override void OnDebugSpawn()
Определения
GorkaHelmetComplete.c:23
GorkaHelmet::GetProtectionLevel
override float GetProtectionLevel(int type, bool consider_filter=false, int system=0)
Определения
GorkaHelmetComplete.c:8
GorkaHelmet
Определения
GorkaHelmetComplete.c:2
GorkaHelmetVisor::SLOT_ID
static int SLOT_ID
Определения
crafting.c:13
GorkaHelmetVisor
Определения
crafting.c:12
HelmetBase
Определения
GreatHelm.c:2
DEF_DUST_PARTICLE_EYES
const int DEF_DUST_PARTICLE_EYES
Определения
3_Game/DayZ/constants.c:550
Ishodniki
scripts
4_World
DayZ
Entities
ItemBase
Clothing
HelmetBase
GorkaHelmetComplete.c
Создано системой
1.13.2