Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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-THC-cards
Commits
cd412cd1
Commit
cd412cd1
authored
Jan 16, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c21066.lua
parent
53d9676f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
script/c21066.lua
script/c21066.lua
+4
-3
No files found.
script/c21066.lua
View file @
cd412cd1
...
...
@@ -33,12 +33,13 @@ function c21066.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c21066
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
Is
Controler
(
1
-
tp
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
return
c
:
IsFaceup
()
and
c
:
Is
SummonPlayer
(
1
-
tp
)
and
c
:
IsCanTurnSet
(
)
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
end
function
c21066
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
c21066
.
filter
,
1
,
nil
,
nil
,
tp
)
end
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
eg
,
eg
:
GetCount
(),
0
,
0
)
local
g
=
eg
:
Filter
(
c21066
.
filter
,
nil
,
nil
,
tp
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c21066
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
Filter
(
c21066
.
filter
,
nil
,
e
,
tp
)
...
...
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