fix: effective dom

This commit is contained in:
TrèsAbhi committed 2024-08-12 21:14:05 -05:00
1 parent 7f796c5ec1
commit d43391e625
1 file changed
+1 -1
+1 -1
View File
@@ -323,7 +323,7 @@ export function tankCharacteristics(
const damage = shell.damage.armor * damageCoefficient;
const dpmEffective =
gun.type === 'autoReloader'
? gun.reload.at(-1)! < gun.reload.at(-2)!
? gun.reload[0] > gun.reload[1] + gun.intraClip
? ((damageCoefficient * shell.damage.armor) /
(gun.reload.at(-1)! * reloadCoefficient +
gun.intraClip * intraClipCoefficient)) *