Merge pull request #121 from tresabhi/main

This commit is contained in:
TrèsAbhi authored and GitHub committed 2024-05-23 11:46:15 -05:00
commit f23db7a02a
6 files changed
+6 -6

No files matched your search

@@ -107,7 +107,7 @@ export function Characteristics() {
? 0.05 ? 0.05
: shell.type === 'hc' : shell.type === 'hc'
? 0.13 ? 0.13
: 0.8, : 0.08,
]); ]);
const penetrationLossOverDistanceCoefficient = coefficient([ const penetrationLossOverDistanceCoefficient = coefficient([
hasSupercharger, hasSupercharger,
@@ -113,7 +113,7 @@ export function CoreArmorSceneComponent({
? 1.05 ? 1.05
: duel.antagonist!.shell.type === 'hc' : duel.antagonist!.shell.type === 'hc'
? 1.13 ? 1.13
: 1.8) : 1.08)
: penetration; : penetration;
} }
@@ -82,7 +82,7 @@ export function SpacedArmorSubExternal({
? 1.05 ? 1.05
: duel.antagonist!.shell.type === 'hc' : duel.antagonist!.shell.type === 'hc'
? 1.13 ? 1.13
: 1.8) : 1.08)
: penetration; : penetration;
} }
@@ -88,7 +88,7 @@ export function SpacedArmorSubSpaced({
? 1.05 ? 1.05
: duel.antagonist!.shell.type === 'hc' : duel.antagonist!.shell.type === 'hc'
? 1.13 ? 1.13
: 1.8) : 1.08)
: penetration; : penetration;
} }
@@ -118,7 +118,7 @@ export function SpacedArmorSceneComponent({
? 1.05 ? 1.05
: duel.antagonist!.shell.type === 'hc' : duel.antagonist!.shell.type === 'hc'
? 1.13 ? 1.13
: 1.8 : 1.08
: 1); : 1);
const shot: Shot = { const shot: Shot = {
layers: [], layers: [],
+1 -1
View File
@@ -157,7 +157,7 @@ export function tankCharacteristics(
? 0.05 ? 0.05
: shell.type === 'hc' : shell.type === 'hc'
? 0.13 ? 0.13
: 0.8, : 0.08,
]); ]);
const healthCoefficient = coefficient( const healthCoefficient = coefficient(
[hasSandbagArmor, 0.03], [hasSandbagArmor, 0.03],