Class ItemConditionalModifier
Accessors
id
- get id(): string
-
Returns string
Static
defaultData
- get defaultData(): {
_id: string;
critical: string;
damageType: {
custom: string;
values: never[];
};
formula: string;
subTarget: string;
target: string;
type: string;
}
-
Returns {
_id: string;
critical: string;
damageType: {
custom: string;
values: never[];
};
formula: string;
subTarget: string;
target: string;
type: string;
}
-
_id: string
-
critical: string
-
damageType: {
custom: string;
values: never[];
}
-
custom: string
-
values: never[]
-
formula: string
-
subTarget: string
-
target: string
-
type: string
Methods
delete
- delete(): Promise<undefined | InsertKeys<{}, OmitByValue<{}, never>>>
-
Returns Promise<undefined | InsertKeys<{}, OmitByValue<{}, never>>>
prepareData
- prepareData(): void
-
Returns void
update
- update(updateData, options?): Promise<any>
-
Parameters
-
updateData: any
-
options: {} = {}
Returns Promise<any>
Static
create
- create(data, context?): Promise<any>
-
Parameters
-
data: any
-
context: {} = {}
Returns Promise<any>