refactoring the dsa types, still a lot of information missing
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,3 +22,4 @@ dist-ssr
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
/dist.zip
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import type {DSAAttributes, DSAHealth, DSAPersonalData, DSAResistances} from "./baseCharacter.ts";
|
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";
|
import type {DSACombatAbilitiy} from "./abilities.ts";
|
||||||
|
|
||||||
export interface DSASkill {
|
export interface DSASkill {
|
||||||
@@ -14,9 +14,10 @@ export interface DSACombatValues {
|
|||||||
dodge: number;
|
dodge: number;
|
||||||
unarmedAttack: number;
|
unarmedAttack: number;
|
||||||
unarmedParry: number;
|
unarmedParry: number;
|
||||||
meleeWeapons: Record<string, DSAMeleeWeapon>;
|
meleeWeapons: DSAMeleeWeapon[];
|
||||||
rangedWeapons: Record<string, DSARangedWeapon>
|
rangedWeapons: DSARangedWeapon[];
|
||||||
armor: Record<string, DSAArmor>;
|
armor: DSAArmor[];
|
||||||
|
shield: DSAShield[];
|
||||||
combatAbilities: Record<string, DSACombatAbilitiy>;
|
combatAbilities: Record<string, DSACombatAbilitiy>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user