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
2db915cc
Commit
2db915cc
authored
Jul 29, 2024
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'optimize/agent' into 'main'
impl negated See merge request
!403
parents
28b814f7
ed33ad0a
Pipeline
#28790
passed with stages
in 13 minutes and 58 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/api/ygoAgent/transaction.ts
src/api/ygoAgent/transaction.ts
+2
-3
No files found.
src/api/ygoAgent/transaction.ts
View file @
2db915cc
...
...
@@ -63,7 +63,7 @@ import {
TYPE_XYZ
,
}
from
"
@/common
"
;
import
{
extraCardTypes
}
from
"
@/common
"
;
import
{
CardType
}
from
"
@/stores/cardStore
"
;
import
{
CardType
,
isCardDisabled
}
from
"
@/stores/cardStore
"
;
import
{
ActionMsg
,
...
...
@@ -352,8 +352,7 @@ export function convertCard(card: CardType, player: number): Card {
race
:
numberToRace
(
meta
.
data
.
race
??
0
),
level
:
meta
.
data
.
level
??
0
,
counter
:
getCounter
(
counters
),
// TODO (ygo-agent): add negated
negated
:
false
,
negated
:
isCardDisabled
(
card
),
attack
:
meta
.
data
.
atk
??
0
,
defense
:
meta
.
data
.
def
??
0
,
types
:
extraCardTypes
(
meta
.
data
.
type
??
0
).
map
(
numberToType
),
...
...
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