mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: 1+ cali
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -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: [],
|
||||
|
||||
Reference in new issue
Block a user