Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-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
Soulgamer
ygopro-222DIY-cards
Commits
7696b5c3
Commit
7696b5c3
authored
Sep 15, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c16199990.lua
parent
5eb45d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+12
-3
No files found.
expansions/script/c16199990.lua
View file @
7696b5c3
...
...
@@ -44,7 +44,8 @@ local cate_table_for_reikai={
[
'ct'
]
=
CATEGORY_COUNTER
,
[
'des'
]
=
CATEGORY_DESTROY
,
}
rk
.
List_A_Counter
=
{
rk
.
List_A_Counter
=
rk
.
List_A_Counter
or
{
1487805
,
20985997
,
21768554
,
...
...
@@ -103,7 +104,15 @@ function rk.set(code,setcode,rkflag,excode)
end
function
Card
.
IsListedACounter
(
c
)
local
code
=
c
:
GetOriginalCode
()
return
aux
.
IsCounterAdded
(
c
,
0x100e
)
or
IsInTable
(
code
,
rk
.
List_A_Counter
)
or
rk
.
check
(
c
,
"Acounter"
)
return
aux
.
IsCounterAdded
(
c
,
0x100e
)
or
rk
.
IsInTable
(
code
,
rk
.
List_A_Counter
)
or
rk
.
check
(
c
,
"Acounter"
)
end
function
rk
.
IsInTable
(
parm
,
table
)
for
_
,
v
in
ipairs
(
table
)
do
if
v
==
parm
then
return
true
end
end
return
false
end
function
rk
.
rkcardcheck
(
c
)
return
c
.
rkcheck
==
true
...
...
@@ -399,4 +408,4 @@ function rk.indes1(c,code,att)
e2
:
SetRange
(
LOCATION_SZONE
)
tc
:
RegisterEffect
(
e2
)
return
e1
,
e2
end
end
\ No newline at end of file
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