added conditions
This commit is contained in:
@@ -12,7 +12,6 @@ export interface DSAAttributes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface DSAPersonalData {
|
export interface DSAPersonalData {
|
||||||
id: string;
|
|
||||||
name: string;
|
name: string;
|
||||||
species: string;
|
species: string;
|
||||||
culture: string;
|
culture: string;
|
||||||
|
@@ -55,6 +55,7 @@ export interface DSASpell {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface DSACharacter {
|
export interface DSACharacter {
|
||||||
|
id: string;
|
||||||
personalData: DSAPersonalData;
|
personalData: DSAPersonalData;
|
||||||
experienceLevel: string;
|
experienceLevel: string;
|
||||||
attributes: DSAAttributes;
|
attributes: DSAAttributes;
|
||||||
|
15
src/types/condition.ts
Normal file
15
src/types/condition.ts
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
export enum DSAConditionType {
|
||||||
|
confusion = "confusion",
|
||||||
|
encumbrance = "encumbrance",
|
||||||
|
fear = "fear",
|
||||||
|
pain = "pain",
|
||||||
|
paralysis = "paralysis",
|
||||||
|
sleep = "sleep",
|
||||||
|
rapture = "rapture",
|
||||||
|
stupor = "stupor",
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface DSACondition {
|
||||||
|
condition: DSAConditionType;
|
||||||
|
level: number;
|
||||||
|
}
|
@@ -17,7 +17,7 @@
|
|||||||
"strict": true,
|
"strict": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"erasableSyntaxOnly": true,
|
"erasableSyntaxOnly": false,
|
||||||
"noFallthroughCasesInSwitch": true,
|
"noFallthroughCasesInSwitch": true,
|
||||||
"noUncheckedSideEffectImports": true
|
"noUncheckedSideEffectImports": true
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user