Merge branch 'main' into data-driven

This commit is contained in:
tresabhi committed 2026-10-04 16:33:53 -05:00
commit 6ebb2810ad
37 files changed
+1404 -350

No files matched your search

@@ -88,7 +88,7 @@ export function SpacedArmorSceneComponent({
const { customShell } = Tankopedia.state;
const shell = customShell ?? getDuel("protagonist", DuelModule.Shell);
const { equalize } = Tankopedia.state;
const { equalize } = Tankopedia.state.environment;
const protagonistEqualizer =
(equalize ? protagonist.equalizer : undefined) ?? defaultEqualizer;
const antagonistEqualizer =
@@ -382,6 +382,13 @@ export function SpacedArmorSceneComponent({
shot.damage *= antagonistEqualizer.damage;
const hasSpallLiner = Duel.state.protagonist.provisions.includes(
SPALL_LINER_PROVISION_ID,
);
if (hasSpallLiner && shell.type === ShellType.SHELL_TYPE_HE) {
shot.damage *= 1 + SPALL_LINER_HE_DAMAGE_DELTA;
}
return shot;
},
[camera],