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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
love_飞影
Neos
Commits
309c35d7
Commit
309c35d7
authored
May 21, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix deck
parent
81ae8d96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/service/duel/start.ts
src/service/duel/start.ts
+4
-4
No files found.
src/service/duel/start.ts
View file @
309c35d7
...
...
@@ -28,7 +28,7 @@ export default (start: ygopro.StocGameMessage.MsgStart) => {
matStore
.
magics
.
of
(
1
).
forEach
((
x
)
=>
(
x
.
location
.
controler
=
1
));
for
(
let
i
=
0
;
i
<
start
.
deckSize1
;
i
++
)
{
matStore
.
decks
.
me
.
push
({
matStore
.
decks
.
of
(
0
)
.
push
({
uuid
:
v4uuid
(),
occupant
:
{
id
:
0
,
...
...
@@ -36,7 +36,7 @@ export default (start: ygopro.StocGameMessage.MsgStart) => {
text
:
{},
},
location
:
{
controler
:
1
-
opponent
,
controler
:
0
,
zone
:
ygopro
.
CardZone
.
DECK
,
},
focus
:
false
,
...
...
@@ -47,7 +47,7 @@ export default (start: ygopro.StocGameMessage.MsgStart) => {
});
}
for
(
let
i
=
0
;
i
<
start
.
deckSize2
;
i
++
)
{
matStore
.
decks
.
o
p
.
push
({
matStore
.
decks
.
o
f
(
1
)
.
push
({
uuid
:
v4uuid
(),
occupant
:
{
id
:
0
,
...
...
@@ -55,7 +55,7 @@ export default (start: ygopro.StocGameMessage.MsgStart) => {
text
:
{},
},
location
:
{
controler
:
opponent
,
controler
:
1
,
zone
:
ygopro
.
CardZone
.
DECK
,
},
focus
:
false
,
...
...
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