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
aaf22ab7
Commit
aaf22ab7
authored
Jul 03, 2023
by
chechunchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
6fd15a9a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
+1
-1
src/service/duel/gameMsg.ts
src/service/duel/gameMsg.ts
+1
-1
src/service/duel/swapGraveDeck.ts
src/service/duel/swapGraveDeck.ts
+2
-2
src/ui/Duel/PlayMat/LifeBar/index.scss
src/ui/Duel/PlayMat/LifeBar/index.scss
+0
-1
No files found.
src/api/ocgcore/ocgAdapter/stoc/stocGameMsg/penetrate.ts
View file @
aaf22ab7
...
...
@@ -36,7 +36,7 @@ const MsgConstructorMap: Map<string, Constructor> = new Map([
[
"
become_target
"
,
ygopro
.
StocGameMessage
.
MsgBecomeTarget
],
[
"
shuffle_deck
"
,
ygopro
.
StocGameMessage
.
MsgShuffleDeck
],
[
"
rock_paper_scissors
"
,
ygopro
.
StocGameMessage
.
MsgRockPaperScissors
],
[
"
swap_grave_deck
"
,
ygopro
.
StocGameMessage
.
MsgSwapGraveDeck
]
[
"
swap_grave_deck
"
,
ygopro
.
StocGameMessage
.
MsgSwapGraveDeck
]
,
]);
export
interface
penetrateType
{
...
...
src/service/duel/gameMsg.ts
View file @
aaf22ab7
...
...
@@ -47,6 +47,7 @@ import onMsgStart from "./start";
import
onMsgSummoned
from
"
./summoned
"
;
import
onMsgSummoning
from
"
./summoning
"
;
import
onMsgSwap
from
"
./swap
"
;
import
onMsgSwapGraveDeck
from
"
./swapGraveDeck
"
;
import
onMsgToss
from
"
./toss
"
;
import
onUnimplemented
from
"
./unimplemented
"
;
import
onMsgUpdateCounter
from
"
./updateCounter
"
;
...
...
@@ -54,7 +55,6 @@ import onMsgUpdateData from "./updateData";
import
onMsgUpdateHp
from
"
./updateHp
"
;
import
onMsgWait
from
"
./wait
"
;
import
onMsgWin
from
"
./win
"
;
import
onMsgSwapGraveDeck
from
"
./swapGraveDeck
"
;
const
ActiveList
=
[
"
select_idle_cmd
"
,
...
...
src/service/duel/swapGraveDeck.ts
View file @
aaf22ab7
...
...
@@ -2,11 +2,11 @@ import { ygopro } from "@/api";
import
{
eventbus
,
Task
}
from
"
@/infra
"
;
import
{
cardStore
}
from
"
@/stores
"
;
import
MsgSwapGraveDeck
=
ygopro
.
StocGameMessage
.
MsgSwapGraveDeck
;
const
{
DECK
,
GRAVE
}
=
ygopro
.
CardZone
;
const
{
DECK
,
GRAVE
}
=
ygopro
.
CardZone
;
export
default
async
(
swapGraveDeck
:
MsgSwapGraveDeck
)
=>
{
const
player
=
swapGraveDeck
.
player
;
const
deck
=
cardStore
.
at
(
DECK
,
player
);
const
grave
=
cardStore
.
at
(
GRAVE
,
player
);
...
...
src/ui/Duel/PlayMat/LifeBar/index.scss
View file @
aaf22ab7
...
...
@@ -4,7 +4,6 @@
top
:
0
;
left
:
0
;
height
:
100vh
;
// FIXME: 100% on safari
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
padding
:
20px
35px
;
...
...
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