shell params

This commit is contained in:
tresabhi committed 2026-10-11 13:42:20 -05:00
1 parent 53eebc7a43
commit 1f0392681a
4 files changed
+30 -16

No files matched your search

+12 -6
View File
@@ -316,7 +316,17 @@ export const characteristics = {
},
},
// penetration_loss_after_ricochet: unavailable,
penetration_loss_after_ricochet: {
type: CharacteristicType.Number,
should_render({ shell }) {
return !isExplosive(shell.type);
},
compute() {
return 25;
},
},
shell_velocity: {
type: CharacteristicType.Number,
@@ -458,11 +468,7 @@ export const characteristics = {
coefficient *= effect.shotDispersionAngleFactor;
});
return (
gun.dispersion_base *
degressive("gunner") *
coefficient
);
return gun.dispersion_base * degressive("gunner") * coefficient;
},
},