Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
beabab1e
Commit
beabab1e
authored
Apr 30, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix hint
parent
10c2806e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c53334471.lua
c53334471.lua
+1
-1
c90846359.lua
c90846359.lua
+1
-1
No files found.
c53334471.lua
View file @
beabab1e
...
...
@@ -101,7 +101,7 @@ function c53334471.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
att
=
c53334471
.
getattribute
(
g2
)
if
not
c53334471
.
isonlyone
(
att
)
then
if
c53334471
[
1
-
tp
]
==
0
or
bit
.
band
(
c53334471
[
1
-
tp
],
att
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g2
:
SelectSubGroup
(
1
-
tp
,
c53334471
.
tgselect
,
false
,
1
,
#
g2
,
g2
)
if
not
sg
then
att
=
0
...
...
c90846359.lua
View file @
beabab1e
...
...
@@ -101,7 +101,7 @@ function c90846359.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
rac
=
c90846359
.
getrace
(
g2
)
if
bit
.
band
(
rac
,
rac
-
1
)
~=
0
then
if
c90846359
[
1
-
tp
]
==
0
or
bit
.
band
(
c90846359
[
1
-
tp
],
rac
)
==
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g2
:
SelectSubGroup
(
1
-
tp
,
c90846359
.
tgselect
,
false
,
1
,
#
g2
,
g2
)
if
not
sg
then
rac
=
0
...
...
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