File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,12 @@ export const EditorActionAdd = ({
153
153
{ ( type === 'Deploy' ||
154
154
type === 'Skill' ||
155
155
type === 'Retreat' ||
156
- type === 'SkillUsage' ) && (
156
+ type === 'SkillUsage' ||
157
+ type === 'BulletTime' ) && (
157
158
< div className = "flex" >
158
159
< FormField2 <
159
- CopilotDocV1 . ActionDeploy | CopilotDocV1 . ActionSkillOrRetreat
160
+ | CopilotDocV1 . ActionDeploy
161
+ | CopilotDocV1 . ActionSkillOrRetreatOrBulletTime
160
162
>
161
163
label = "干员或干员组名"
162
164
description = "选择干员、使用干员名、或使用干员组名引用"
@@ -165,7 +167,7 @@ export const EditorActionAdd = ({
165
167
(
166
168
errors as FieldErrors <
167
169
| CopilotDocV1 . ActionDeploy
168
- | CopilotDocV1 . ActionSkillOrRetreat
170
+ | CopilotDocV1 . ActionSkillOrRetreatOrBulletTime
169
171
>
170
172
) . name
171
173
}
@@ -194,7 +196,10 @@ export const EditorActionAdd = ({
194
196
</ div >
195
197
) }
196
198
197
- { ( type === 'Deploy' || type === 'Skill' || type === 'Retreat' ) && (
199
+ { ( type === 'Deploy' ||
200
+ type === 'Skill' ||
201
+ type === 'Retreat' ||
202
+ type === 'BulletTime' ) && (
198
203
< div className = "flex" >
199
204
< EditorActionOperatorLocation
200
205
shouldUnregister
Original file line number Diff line number Diff line change @@ -43,21 +43,21 @@ export namespace CopilotDocV1 {
43
43
type : Type . Deploy
44
44
}
45
45
46
- export type ActionSkillOrRetreat = ActionBase &
46
+ export type ActionSkillOrRetreatOrBulletTime = ActionBase &
47
47
(
48
48
| {
49
49
// location: any[]
50
50
// should be
51
51
location : [ number , number ]
52
52
name ?: string
53
- type : Type . Skill | Type . Retreat
53
+ type : Type . Skill | Type . Retreat | Type . BulletTime
54
54
}
55
55
| {
56
56
// location?: any[]
57
57
// should be
58
58
location ?: [ number , number ]
59
59
name : string
60
- type : Type . Skill | Type . Retreat
60
+ type : Type . Skill | Type . Retreat | Type . BulletTime
61
61
}
62
62
)
63
63
@@ -77,7 +77,7 @@ export namespace CopilotDocV1 {
77
77
78
78
export type Action =
79
79
| ActionDeploy
80
- | ActionSkillOrRetreat
80
+ | ActionSkillOrRetreatOrBulletTime
81
81
| ActionSkillUsage
82
82
| ActionUtil
83
83
| ActionMoveCamera
You can’t perform that action at this time.
0 commit comments