Mark Greene 0bdb66742b Feature: Add Spall Liner toggle to Tankopedia model viewer
## Summary
- Add a Spall Liner toggle button to the Tankopedia model viewer, placed alongside the existing Calibrated Shells / Enhanced Armor buttons. It's only shown for tanks that can actually equip Spall Liner.
- The toggle reads/writes the same `Duel.protagonist.provisions` array as the Provisions tab, so both stay in sync automatically.
- If a provision slot is free, clicking equips Spall Liner immediately. If all slots are full, a popover shows icons with a shuffle arrow so you can pick which active provision to swap out in one step.
- Buttons use the same medium rounding as the consumable buttons on the tank page.
- When Spall Liner is equipped, the Dynamic Armor 3D viewer's click-damage tooltip now applies the same 20% HE damage reduction Spall Liner grants in-game.
- Refactored the hardcoded `-0.2` HE damage coefficient in `tankCharacteristics.ts` into a shared constant so the Compare tool and the 3D viewer use a single source of truth.

## Scope
This only affects the single-tank Tankopedia page. The Firepower stats table (the viewed tank's own outgoing gun damage) is intentionally untouched, since a defensive damage reduction would be semantically backwards there. The Dynamic Armor viewer's click tooltip is the only place a "damage taken by this tank" number exists, so that's where the reduction is wired in.
2026-10-04 13:27:34 +13:00
2026-09-30 15:49:19 -05:00
2026-07-31 13:43:53 -05:00
2026-10-02 17:37:42 -05:00
2026-08-12 11:46:45 -05:00
2026-08-06 19:37:07 -05:00
2024-08-27 16:19:59 -05:00
2026-08-11 09:45:17 -05:00
2025-01-16 20:48:29 -06:00
2026-08-04 19:45:20 -05:00
2026-10-03 14:18:59 -05:00
2026-09-30 15:41:08 -05:00
2026-09-30 15:44:51 -05:00
2025-10-22 18:42:51 -05:00

BlitzKit

Tools for everything and anything, World of Tanks Blitz.

This GitHub repository contains the code for BlitzKit and all its services. If you are here, looking to use BlitzKit, go to https://blitzkit.app/.

If you intend to contribute to the code, note that you may need to check out sensitive, closed-source submodules to locally develop certain aspects of BlitzKit. Communicate with @tresabhi on Discord to get started or discuss sensitive content, such as environment variables or submodules.

Languages
TypeScript 96.2%
Astro 3.2%
GLSL 0.4%
CSS 0.2%