feat: skill definitions

This commit is contained in:
TrèsAbhi committed 2024-03-31 18:24:19 -05:00
1 parent b363c76639
commit d79129df91
4 files changed
+30 -17

No files matched your search

@@ -2,10 +2,10 @@ import { TankClass } from '../../components/Tanks';
import { asset } from './asset';
import { fetchCdonLz4 } from './fetchCdonLz4';
export interface CrewSkillDefinitions {
classes: Record<TankClass, [string, string, string, string]>;
export interface SkillDefinitions {
classes: Record<TankClass, string[]>;
}
export const crewSkillDefinitions = fetchCdonLz4<CrewSkillDefinitions>(
export const skillDefinitions = fetchCdonLz4<SkillDefinitions>(
asset('definitions/equipment.cdon.lz4'),
);