fix: 1+ cali

This commit is contained in:
TrèsAbhi committed 2024-05-22 13:30:39 -05:00
1 parent 8b9a13a58e
commit 72a90e7d1f
4 files changed
+16 -16

No files matched your search

@@ -108,12 +108,12 @@ export function CoreArmorSceneComponent({
material.uniforms.penetration.value = hasCalibratedShells
? penetration *
(duel.antagonist!.shell.type === 'ap'
? 0.08
? 1.08
: duel.antagonist!.shell.type === 'ap_cr'
? 0.05
? 1.05
: duel.antagonist!.shell.type === 'hc'
? 0.13
: 0.8)
? 1.13
: 1.8)
: penetration;
}
@@ -77,12 +77,12 @@ export function SpacedArmorSubExternal({
material.uniforms.penetration.value = hasCalibratedShells
? penetration *
(duel.antagonist!.shell.type === 'ap'
? 0.08
? 1.08
: duel.antagonist!.shell.type === 'ap_cr'
? 0.05
? 1.05
: duel.antagonist!.shell.type === 'hc'
? 0.13
: 0.8)
? 1.13
: 1.8)
: penetration;
}
@@ -83,12 +83,12 @@ export function SpacedArmorSubSpaced({
material.uniforms.penetration.value = hasCalibratedShells
? penetration *
(duel.antagonist!.shell.type === 'ap'
? 0.08
? 1.08
: duel.antagonist!.shell.type === 'ap_cr'
? 0.05
? 1.05
: duel.antagonist!.shell.type === 'hc'
? 0.13
: 0.8)
? 1.13
: 1.8)
: penetration;
}
@@ -113,12 +113,12 @@ export function SpacedArmorSceneComponent({
resolveNearPenetration(shell.penetration) *
(hasCalibratedShells
? duel.antagonist!.shell.type === 'ap'
? 0.08
? 1.08
: duel.antagonist!.shell.type === 'ap_cr'
? 0.05
? 1.05
: duel.antagonist!.shell.type === 'hc'
? 0.13
: 0.8
? 1.13
: 1.8
: 1);
const shot: Shot = {
layers: [],