mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: shell range defs
This commit is contained in:
1 parent
1cf6a9e76a
commit
f2f7d8aa3d
3 files changed
+22
No files matched your search
@@ -323,6 +323,7 @@ interface GunDefinitionsList {
|
||||
[key: string]: {
|
||||
speed: number;
|
||||
piercingPower: string;
|
||||
maxDistance: number;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1276,6 +1277,7 @@ export async function definitions() {
|
||||
near: penetrationRaw[0],
|
||||
far: penetrationRaw[1],
|
||||
},
|
||||
range: gunShellEntry.maxDistance,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -1648,6 +1650,7 @@ export async function definitions() {
|
||||
};
|
||||
});
|
||||
|
||||
return;
|
||||
await commitAssets('definitions', [
|
||||
{
|
||||
content: encodePBBuffer(GameDefinitions, gameDefinitions),
|
||||
|
||||
Reference in new issue
Block a user