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
514e7caf
Commit
514e7caf
authored
Apr 16, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small
parent
225fc3f3
Pipeline
#21258
passed with stages
in 46 minutes and 50 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
20 deletions
+6
-20
src/reducers/duel/magicSlice.ts
src/reducers/duel/magicSlice.ts
+0
-6
src/reducers/duel/monstersSlice.ts
src/reducers/duel/monstersSlice.ts
+0
-7
src/ui/Duel/Message/CardModal.tsx
src/ui/Duel/Message/CardModal.tsx
+2
-2
src/ui/Duel/Message/Phase.tsx
src/ui/Duel/Message/Phase.tsx
+4
-5
No files found.
src/reducers/duel/magicSlice.ts
View file @
514e7caf
...
...
@@ -36,7 +36,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
0
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -45,7 +44,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
1
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -54,7 +52,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
2
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -63,7 +60,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
3
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -72,7 +68,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
4
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -82,7 +77,6 @@ export const initMagicsImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
SZONE
,
sequence
:
5
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
src/reducers/duel/monstersSlice.ts
View file @
514e7caf
...
...
@@ -42,7 +42,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
0
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -51,7 +50,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
1
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -60,7 +58,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
2
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -69,7 +66,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
3
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -78,7 +74,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
4
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -87,7 +82,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
5
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
@@ -96,7 +90,6 @@ export const initMonstersImpl: CaseReducer<DuelState, PayloadAction<number>> = (
location
:
{
controler
:
player
,
location
:
ygopro
.
CardZone
.
MZONE
,
sequence
:
6
,
},
idleInteractivities
:
[],
counters
:
{},
...
...
src/ui/Duel/Message/CardModal.tsx
View file @
514e7caf
import
Icon
,
{
StarOutlined
}
from
"
@ant-design/icons
"
;
import
{
Button
,
Card
,
Col
,
Modal
,
Row
}
from
"
antd
"
;
import
{
ReactComponent
as
BattleSvg
}
from
"
neos-assets/battle-axe.svg
"
;
import
{
ReactComponent
as
DefenceSvg
}
from
"
neos-assets/checked-shield.svg
"
;
import
React
from
"
react
"
;
import
{
sendSelectIdleCmdResponse
}
from
"
@/api/ocgcore/ocgHelper
"
;
...
...
@@ -18,8 +20,6 @@ import {
}
from
"
@/reducers/duel/modal/mod
"
;
import
{
store
}
from
"
@/store
"
;
import
{
ReactComponent
as
BattleSvg
}
from
"
neos-assets/battle-axe.svg
"
;
import
{
ReactComponent
as
DefenceSvg
}
from
"
neos-assets/checked-shield.svg
"
;
import
{
Attribute2StringCodeMap
,
extraCardTypes
,
...
...
src/ui/Duel/Message/Phase.tsx
View file @
514e7caf
import
Icon
from
"
@ant-design/icons
"
;
import
{
Button
,
Modal
,
Space
}
from
"
antd
"
;
import
{
ReactComponent
as
BattleSvg
}
from
"
neos-assets/crossed-swords.svg
"
;
import
{
ReactComponent
as
EpSvg
}
from
"
neos-assets/power-button.svg
"
;
import
{
ReactComponent
as
Main2Svg
}
from
"
neos-assets/sword-in-stone.svg
"
;
import
{
ReactComponent
as
SurrenderSvg
}
from
"
neos-assets/truce.svg
"
;
import
React
,
{
useState
}
from
"
react
"
;
import
{
...
...
@@ -22,11 +26,6 @@ import {
}
from
"
@/reducers/duel/phaseSlice
"
;
import
{
store
}
from
"
@/store
"
;
import
{
ReactComponent
as
BattleSvg
}
from
"
neos-assets/crossed-swords.svg
"
;
import
{
ReactComponent
as
EpSvg
}
from
"
neos-assets/power-button.svg
"
;
import
{
ReactComponent
as
Main2Svg
}
from
"
neos-assets/sword-in-stone.svg
"
;
import
{
ReactComponent
as
SurrenderSvg
}
from
"
neos-assets/truce.svg
"
;
const
IconSize
=
"
150%
"
;
const
SpaceSize
=
16
;
...
...
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