Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
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
srvpro
Commits
2a1054e5
Commit
2a1054e5
authored
9 years ago
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update texts
parent
31cc3a10
master
athletic-check
auth
chall
cloud-replay-test-2
database
dependabot/npm_and_yarn/ws-3.3.1
dockernew
extime
github/fork/Helicosaurus/patch-1
hide_name
hook
improves
info
kick_reconnect
libevent21
mycard-deprecated
mycard-improve
neos
neos_dev
patch-mdpro3-deck
replay_delay
server-merge-1353
sharp
stand
support_version
travis
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ygopro-pre.js
ygopro-pre.js
+3
-3
No files found.
ygopro-pre.js
View file @
2a1054e5
...
...
@@ -77,7 +77,7 @@ var loadDb = function(db_file) {
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_COUNTER
)
{
cardTypes
.
push
(
"
反击
"
);}
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_FLIP
)
{
cardTypes
.
push
(
"
反转
"
);}
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_TOON
)
{
cardTypes
.
push
(
"
卡通
"
);}
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_XYZ
)
{
cardTypes
.
push
(
"
超
维
"
);}
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_XYZ
)
{
cardTypes
.
push
(
"
超
量
"
);}
if
(
result
.
type
&
constants
.
TYPES
.
TYPE_PENDULUM
)
{
cardTypes
.
push
(
"
灵摆
"
);}
cardText
+=
"
[
"
+
cardTypes
.
join
(
'
|
'
)
+
"
]
"
;
...
...
@@ -131,9 +131,9 @@ var loadDb = function(db_file) {
cardLScale
=
parseInt
(
levelHex
.
slice
(
-
8
,
-
6
),
16
);
cardRScale
=
parseInt
(
levelHex
.
slice
(
-
6
,
-
4
),
16
);
}
cardText
+=
"
[
"
+
(
new
Array
(
cardLevel
+
1
)).
join
(
"
★
"
)
+
"
]
"
;
cardText
+=
"
[
"
+
(
(
result
.
type
&
constants
.
TYPES
.
TYPE_XYZ
)
?
"
☆
"
:
"
★
"
)
+
cardLevel
+
"
]
"
;
cardText
+=
"
"
+
result
.
atk
+
"
/
"
+
result
.
def
;
cardText
+=
"
"
+
(
result
.
atk
<
0
?
"
?
"
:
result
.
atk
)
+
"
/
"
+
(
result
.
def
<
0
?
"
?
"
:
result
.
def
)
;
if
(
cardLScale
)
{
cardText
+=
"
"
+
cardLScale
+
"
/
"
+
cardRScale
;
...
...
This diff is collapsed.
Click to expand it.
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