omniarena-types 1.23.0 → 1.25.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,13 @@ 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
|
+
};
|
|
103
111
|
export type SkillUseDto = {
|
|
104
112
|
id: string;
|
|
105
113
|
skillId: string;
|
|
@@ -138,5 +146,6 @@ export type GameSkill = {
|
|
|
138
146
|
baseTags: Tag[];
|
|
139
147
|
};
|
|
140
148
|
export type GameCharacter = CharacterSkin & {
|
|
149
|
+
playable: boolean;
|
|
141
150
|
skills: GameSkill[];
|
|
142
151
|
};
|