Reset burst counter if ReloadDelay has passed since last shot

This fixes the following issues:
- units like mammoth tanks sometimes at first only fired 1 shot on new encounter because they only depleted 1 burst before previous target was killed
- weapons that use strafing logic would not reset the offset multiplier after passing the target once, leading to wrong offsets on following attacks
This commit is contained in:
reaperrr
2017-06-24 19:37:16 +02:00
committed by abcdefg30
parent 6212b82f6d
commit 07edf2f7c6
2 changed files with 12 additions and 2 deletions

View File

@@ -23,8 +23,8 @@
ZSU-23:
Inherits: ^AACannon
Burst: 2
BurstDelay: 5
ReloadDelay: 0
BurstDelay: 0
ReloadDelay: 5
Range: 10c0
Projectile: Bullet
Speed: 3c340