added conditions
This commit is contained in:
@@ -12,7 +12,6 @@ export interface DSAAttributes {
|
||||
}
|
||||
|
||||
export interface DSAPersonalData {
|
||||
id: string;
|
||||
name: string;
|
||||
species: string;
|
||||
culture: string;
|
||||
|
@@ -55,6 +55,7 @@ export interface DSASpell {
|
||||
}
|
||||
|
||||
export interface DSACharacter {
|
||||
id: string;
|
||||
personalData: DSAPersonalData;
|
||||
experienceLevel: string;
|
||||
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,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"erasableSyntaxOnly": true,
|
||||
"erasableSyntaxOnly": false,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
|
Reference in New Issue
Block a user