mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: correct shell count
This commit is contained in:
1 parent
74756ab7bf
commit
030ca744e9
1 file changed
+1
-1
@@ -310,7 +310,7 @@ export function tankCharacteristics(
|
||||
intraClipCoefficient) +
|
||||
damageCoefficient * shell.damage.armor * gun.reload.slice(1).length
|
||||
: undefined;
|
||||
const shells = gun.type === 'regular' ? 1 : gun.shells.length;
|
||||
const shells = gun.type === 'regular' ? 1 : gun.count;
|
||||
const mostOptimalShellIndex =
|
||||
gun.type === 'autoReloader'
|
||||
? gun.reload.at(-1)! < gun.reload.at(-2)!
|
||||
|
||||
Reference in new issue
Block a user