refactoring the dsa types, still a lot of information missing

This commit is contained in:
2025-06-21 21:00:26 +02:00
parent 7baaae9d8d
commit 09ab329c24
2 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
/dist.zip

View File

@@ -1,5 +1,5 @@
import type {DSAAttributes, DSAHealth, DSAPersonalData, DSAResistances} from "./baseCharacter.ts";
import type {DSAArmor, DSAMeleeWeapon, DSARangedWeapon} from "./equiment.ts";
import type {DSAArmor, DSAMeleeWeapon, DSARangedWeapon, DSAShield} from "./equiment.ts";
import type {DSACombatAbilitiy} from "./abilities.ts";
export interface DSASkill {
@@ -14,9 +14,10 @@ export interface DSACombatValues {
dodge: number;
unarmedAttack: number;
unarmedParry: number;
meleeWeapons: Record<string, DSAMeleeWeapon>;
rangedWeapons: Record<string, DSARangedWeapon>
armor: Record<string, DSAArmor>;
meleeWeapons: DSAMeleeWeapon[];
rangedWeapons: DSARangedWeapon[];
armor: DSAArmor[];
shield: DSAShield[];
combatAbilities: Record<string, DSACombatAbilitiy>;
}