mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1551cfe2b9 |
No files matched your search
@@ -1,3 +0,0 @@
|
|||||||
# BlitzKit 1.31.2
|
|
||||||
|
|
||||||
This update fixes an issue that occurred with Wargaming chose to declare the class of a tank in the game code with a tag that isn't the first in the list.
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"version": "1.31.2",
|
"version": "1.31.1",
|
||||||
"license": "BlitzKit License",
|
"license": "BlitzKit License",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -339,17 +339,6 @@ export abstract class ServerBlitzKitAPI1 extends ServerBlitzKitAPI0 {
|
|||||||
equalizer = { health, penetration, module_health, damage, armor };
|
equalizer = { health, penetration, module_health, damage, armor };
|
||||||
}
|
}
|
||||||
|
|
||||||
const blitzTankClass = tankTags.find(
|
|
||||||
(tag) => tag in this.blitzTankClassToBlitzkit,
|
|
||||||
);
|
|
||||||
|
|
||||||
if (blitzTankClass === undefined) {
|
|
||||||
throw new Error(`Unknown tank class for ${nation}:${tankKey}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
const tankClass =
|
|
||||||
this.blitzTankClassToBlitzkit[blitzTankClass as BlitzTankClass];
|
|
||||||
|
|
||||||
tankDefinitions.tanks[tankId] = {
|
tankDefinitions.tanks[tankId] = {
|
||||||
ancestors: [],
|
ancestors: [],
|
||||||
successors: [],
|
successors: [],
|
||||||
@@ -379,7 +368,7 @@ export abstract class ServerBlitzKitAPI1 extends ServerBlitzKitAPI0 {
|
|||||||
? TankType.TANK_TYPE_PREMIUM
|
? TankType.TANK_TYPE_PREMIUM
|
||||||
: TankType.TANK_TYPE_RESEARCHABLE,
|
: TankType.TANK_TYPE_RESEARCHABLE,
|
||||||
tier: tank.level,
|
tier: tank.level,
|
||||||
class: tankClass,
|
class: this.blitzTankClassToBlitzkit[tankTags[0] as BlitzTankClass],
|
||||||
testing: tankTags.includes("testTank"),
|
testing: tankTags.includes("testTank"),
|
||||||
deprecated: tankTags.includes("deprecated"),
|
deprecated: tankTags.includes("deprecated"),
|
||||||
price: tankPrice,
|
price: tankPrice,
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 113 KiB |
+5
-5
@@ -74,13 +74,13 @@ export function Lighting({ hasPbr }: Props) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ContactShadows
|
<ContactShadows
|
||||||
|
near={0}
|
||||||
|
far={2 ** 6}
|
||||||
width={1.5}
|
width={1.5}
|
||||||
height={1.5}
|
height={1.5}
|
||||||
near={0}
|
blur={2 ** 0.5}
|
||||||
far={1}
|
opacity={2 ** -0.4}
|
||||||
opacity={2 ** 1}
|
resolution={2 ** 7}
|
||||||
blur={2 ** 1}
|
|
||||||
resolution={2 ** 9}
|
|
||||||
depthWrite={false}
|
depthWrite={false}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -74,4 +74,8 @@ export const tools: Record<string, Tool> = {
|
|||||||
href: "https://discord.gg/nDt7AjGJQH",
|
href: "https://discord.gg/nDt7AjGJQH",
|
||||||
button: "plum",
|
button: "plum",
|
||||||
},
|
},
|
||||||
|
studio: {
|
||||||
|
id: "studio",
|
||||||
|
button: "indigo",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user