mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: spall liner
This commit is contained in:
1 parent
ab26b346e6
commit
d6e96e17ad
4 files changed
+38
-1
No files matched your search
@@ -17,3 +17,5 @@ export interface ProvisionDefinitions {
|
||||
export const provisionDefinitions = fetchCdonLz4<ProvisionDefinitions>(
|
||||
asset('definitions/provisions.cdon.lz4'),
|
||||
);
|
||||
|
||||
provisionDefinitions.then(console.log);
|
||||
@@ -40,6 +40,7 @@ export function tankCharacteristics(
|
||||
stockGun,
|
||||
applyReactive,
|
||||
applyDynamicArmor,
|
||||
applySpallLiner,
|
||||
}: {
|
||||
tank: TankDefinition;
|
||||
turret: TurretDefinition;
|
||||
@@ -59,6 +60,7 @@ export function tankCharacteristics(
|
||||
camouflage: boolean;
|
||||
applyReactive: boolean;
|
||||
applyDynamicArmor: boolean;
|
||||
applySpallLiner: boolean;
|
||||
},
|
||||
{
|
||||
modelDefinitions,
|
||||
@@ -138,7 +140,11 @@ export function tankCharacteristics(
|
||||
const intraClipCoefficient = coefficient([hasShellReloadBoost, -0.3]);
|
||||
const damageCoefficient =
|
||||
coefficient([hasTungsten, 0.15]) *
|
||||
coefficient([applyReactive, -0.2], [applyDynamicArmor, -0.1]);
|
||||
coefficient(
|
||||
[applyReactive, -0.2],
|
||||
[applyDynamicArmor, -0.1],
|
||||
[applySpallLiner && shell.type === 'he', -0.2],
|
||||
);
|
||||
const reloadCoefficient =
|
||||
(coefficient([hasRammer, -0.07]) *
|
||||
coefficient([true, degressiveStat(crewMemberMastery)])) /
|
||||
|
||||
Reference in new issue
Block a user