Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
handdrillkit.c
Go to the documentation of this file.
1class HandDrillKit extends ItemBase
2{
4 override bool CanIgniteItem( EntityAI ignite_target = NULL )
5 {
6 return true;
7 }
8
9 override void OnIgnitedTarget( EntityAI target_item )
10 {
11 if ( g_Game.IsServer() )
12 {
13 DecreaseHealth( 20 );
14 }
15 }
16
17 override void OnIgnitedTargetFailed( EntityAI target_item )
18 {
19 if ( g_Game.IsServer() )
20 {
21 DecreaseHealth( 20 );
22 }
23 }
24
25 override void SetActions()
26 {
27 super.SetActions();
28
30 }
31
32 /*
33 override bool IsTargetIgnitionSuccessful( EntityAI item_target = NULL )
34 {
35 }
36 */
37}
class LogManager EntityAI
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
void AddAction(typename actionName)
override void SetActions()
Definition barbedwire.c:402
DayZGame g_Game
Definition dayzgame.c:3942