Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
pm73rak.c
Go to the documentation of this file.
1
5class PM73Rak_Base extends OpenBolt_Base
6{
7 void PM73Rak_Base()
8 {
9 }
10
11 override RecoilBase SpawnRecoilObject()
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