mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +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) +
|
intraClipCoefficient) +
|
||||||
damageCoefficient * shell.damage.armor * gun.reload.slice(1).length
|
damageCoefficient * shell.damage.armor * gun.reload.slice(1).length
|
||||||
: undefined;
|
: undefined;
|
||||||
const shells = gun.type === 'regular' ? 1 : gun.shells.length;
|
const shells = gun.type === 'regular' ? 1 : gun.count;
|
||||||
const mostOptimalShellIndex =
|
const mostOptimalShellIndex =
|
||||||
gun.type === 'autoReloader'
|
gun.type === 'autoReloader'
|
||||||
? gun.reload.at(-1)! < gun.reload.at(-2)!
|
? gun.reload.at(-1)! < gun.reload.at(-2)!
|
||||||
|
|||||||
Reference in new issue
Block a user