Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
pm73rak.c
Go to the documentation of this file.
1
6{
8 {
9 }
10
12 {
13 return new PM73RakRecoil(this);
14 }
15
16 override float GetChanceToJam()
17 {
18 float chanceToJam = super.GetChanceToJam();
19 Magazine mag = GetMagazine(GetCurrentMuzzle());
20
21 if(mag)
22 {
23 chanceToJam = chanceToJam + ((1.0 - chanceToJam) * mag.GetChanceToJam());
24 }
25
26 return chanceToJam;
27 }
28
29 override bool MustBeChambered(int muzzleIndex)
30 {
31 return true;
32 }
33};
base for automatic weapons fireing from open bolt position @NOTE name copies config base class
Definition pm73rak.c:6
override bool MustBeChambered(int muzzleIndex)
Definition pm73rak.c:29
void PM73Rak_Base()
Definition pm73rak.c:7
override float GetChanceToJam()
Definition pm73rak.c:16
override RecoilBase SpawnRecoilObject()
Definition pm73rak.c:11