Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Neos
Commits
77d657a3
Commit
77d657a3
authored
Oct 02, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix menu
parent
6f7de7c1
Pipeline
#23655
passed with stages
in 14 minutes and 57 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/ui/Duel/PlayMat/Menu/index.tsx
src/ui/Duel/PlayMat/Menu/index.tsx
+8
-6
No files found.
src/ui/Duel/PlayMat/Menu/index.tsx
View file @
77d657a3
...
@@ -50,13 +50,13 @@ const initialPhaseBind: [
...
@@ -50,13 +50,13 @@ const initialPhaseBind: [
[
PhaseType
.
DRAW
,
"
抽卡阶段
"
,
-
1
,
true
,
true
],
[
PhaseType
.
DRAW
,
"
抽卡阶段
"
,
-
1
,
true
,
true
],
[
PhaseType
.
STANDBY
,
"
准备阶段
"
,
-
1
,
true
,
true
],
[
PhaseType
.
STANDBY
,
"
准备阶段
"
,
-
1
,
true
,
true
],
[
PhaseType
.
MAIN1
,
"
主要阶段 1
"
,
-
1
,
true
,
true
],
[
PhaseType
.
MAIN1
,
"
主要阶段 1
"
,
-
1
,
true
,
true
],
[
PhaseType
.
BATTLE
,
"
战斗阶段
"
,
6
,
true
,
tru
e
],
[
PhaseType
.
BATTLE
,
"
战斗阶段
"
,
6
,
true
,
fals
e
],
[
PhaseType
.
BATTLE_START
,
"
战斗开始
"
,
3
,
false
,
true
],
[
PhaseType
.
BATTLE_START
,
"
战斗开始
"
,
3
,
false
,
true
],
[
PhaseType
.
BATTLE_STEP
,
"
战斗步骤
"
,
3
,
false
,
true
],
[
PhaseType
.
BATTLE_STEP
,
"
战斗步骤
"
,
3
,
false
,
true
],
[
PhaseType
.
DAMAGE
,
"
伤害步骤
"
,
3
,
false
,
true
],
[
PhaseType
.
DAMAGE
,
"
伤害步骤
"
,
3
,
false
,
true
],
[
PhaseType
.
DAMAGE_GAL
,
"
伤害步骤(伤害计算)
"
,
3
,
false
,
true
],
[
PhaseType
.
DAMAGE_GAL
,
"
伤害步骤(伤害计算)
"
,
3
,
false
,
true
],
[
PhaseType
.
MAIN2
,
"
主要阶段 2
"
,
2
,
true
,
tru
e
],
[
PhaseType
.
MAIN2
,
"
主要阶段 2
"
,
2
,
true
,
fals
e
],
[
PhaseType
.
END
,
"
结束阶段
"
,
7
,
true
,
tru
e
],
[
PhaseType
.
END
,
"
结束阶段
"
,
7
,
true
,
fals
e
],
[
PhaseType
.
UNKNOWN
,
"
未知阶段
"
,
-
1
,
false
,
true
],
[
PhaseType
.
UNKNOWN
,
"
未知阶段
"
,
-
1
,
false
,
true
],
];
];
...
@@ -82,14 +82,16 @@ export const Menu = () => {
...
@@ -82,14 +82,16 @@ export const Menu = () => {
setPhaseBind
((
prev
)
=>
{
setPhaseBind
((
prev
)
=>
{
const
newItems
=
[...
prev
];
const
newItems
=
[...
prev
];
// FIXME: 由于不断有玩家反馈说进不了战阶和主2,修改几次实现都解决不了问题,
// 因此这里不进行限制。当存在无法进入战阶的自肃时,由后端(srvpro)判断
for
(
const
item
of
newItems
)
{
for
(
const
item
of
newItems
)
{
const
[
phase
,
,
,
,]
=
item
;
const
[
phase
,
,
,
,]
=
item
;
if
(
phase
===
PhaseType
.
BATTLE
)
{
if
(
phase
===
PhaseType
.
BATTLE
)
{
item
[
4
]
=
!
enableBp
;
//
item[4] = !enableBp;
}
else
if
(
phase
===
PhaseType
.
MAIN2
)
{
}
else
if
(
phase
===
PhaseType
.
MAIN2
)
{
item
[
4
]
=
!
enableM2
;
//
item[4] = !enableM2;
}
else
if
(
phase
===
PhaseType
.
END
)
{
}
else
if
(
phase
===
PhaseType
.
END
)
{
item
[
4
]
=
!
enableEp
;
//
item[4] = !enableEp;
item
[
2
]
=
endResponse
;
item
[
2
]
=
endResponse
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment