Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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
ygopro-scripts-888
Commits
8cbf204d
Commit
8cbf204d
authored
Feb 10, 2025
by
mercury233
Committed by
GitHub
Feb 10, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Reversal Quiz (#2842)
parent
48c8b61b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c5990062.lua
c5990062.lua
+5
-2
No files found.
c5990062.lua
View file @
8cbf204d
...
...
@@ -15,11 +15,14 @@ end
function
c5990062
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
)
g
:
RemoveCard
(
e
:
GetHandler
())
if
chk
==
0
then
return
g
:
GetCount
()
>
0
and
not
g
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
>
0
and
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_ONFIELD
)
>
0
and
not
g
:
IsExists
(
c5990062
.
cfilter
,
1
,
nil
)
end
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c5990062
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
if
chk
==
0
then
return
Duel
.
GetLP
(
tp
)
~=
Duel
.
GetLP
(
1
-
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
end
function
c5990062
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
...
...
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