omniarena-types 1.24.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export type SkillDto = {
|
|
|
62
62
|
classes: string[];
|
|
63
63
|
targetingOptions: TargetingOptionsDto;
|
|
64
64
|
validTargets: string[];
|
|
65
|
+
choosables: ChoosableDto[];
|
|
65
66
|
};
|
|
66
67
|
export type EffectDto = {
|
|
67
68
|
id: string;
|
|
@@ -100,6 +101,14 @@ export type TargetingOptionsDto = {
|
|
|
100
101
|
partial: boolean;
|
|
101
102
|
random: boolean;
|
|
102
103
|
};
|
|
104
|
+
export type ChoosableType = 'skill' | 'energy' | 'number';
|
|
105
|
+
export type ChoosableDto = {
|
|
106
|
+
type: ChoosableType;
|
|
107
|
+
options: any[];
|
|
108
|
+
perTarget: boolean;
|
|
109
|
+
fromTarget: boolean;
|
|
110
|
+
picks: number;
|
|
111
|
+
};
|
|
103
112
|
export type SkillUseDto = {
|
|
104
113
|
id: string;
|
|
105
114
|
skillId: string;
|