mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: max dpm on double shot auto reloaders
This commit is contained in:
1 parent
7aa0b65d1d
commit
2b27954a3b
1 file changed
+5
-1
@@ -291,7 +291,11 @@ export function tankCharacteristics(
|
||||
);
|
||||
const dpmMaximum =
|
||||
gun.type === 'autoReloader'
|
||||
? gun.reload.at(-1)! < gun.reload.at(-2)!
|
||||
? (
|
||||
gun.count > 2
|
||||
? gun.reload.at(-1)! < gun.reload.at(-2)!
|
||||
: gun.reload.at(-1)! + gun.intraClip < gun.reload.at(-2)!
|
||||
)
|
||||
? ((damageCoefficient * shell.damage.armor) /
|
||||
(gun.reload.at(-1)! * reloadCoefficient +
|
||||
gun.intraClip * intraClipCoefficient)) *
|
||||
|
||||
Reference in new issue
Block a user