mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: use gun list for dispersion fallback
This commit is contained in:
1 parent
e0c0ec6fc3
commit
0e57c37296
1 file changed
+4
-1
@@ -214,6 +214,7 @@ interface GunDefinitionsList {
|
||||
whileGunDamaged: number;
|
||||
};
|
||||
aimingTime: number;
|
||||
shotDispersionRadius: number;
|
||||
userString: string;
|
||||
tags: string;
|
||||
level: number;
|
||||
@@ -700,7 +701,9 @@ export async function definitions(production: boolean) {
|
||||
: turretGunEntry.invisibilityFactorAtShot.at(-1)!,
|
||||
aimTime: turretGunEntry.aimingTime ?? gunListEntry.aimingTime,
|
||||
dispersion: {
|
||||
base: turretGunEntry.shotDispersionRadius,
|
||||
base:
|
||||
turretGunEntry.shotDispersionRadius ??
|
||||
gunListEntry.shotDispersionRadius,
|
||||
damaged: shotDispersionFactors.whileGunDamaged,
|
||||
shot: shotDispersionFactors.afterShot,
|
||||
traverse: shotDispersionFactors.turretRotation,
|
||||
|
||||
Reference in new issue
Block a user