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
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
f391c6a6
Commit
f391c6a6
authored
Jul 28, 2025
by
tsubaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.0a fix3
parent
6dea3231
Pipeline
#39656
passed with stage
in 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
script/c21145.lua
script/c21145.lua
+3
-3
script/c21146.lua
script/c21146.lua
+9
-9
No files found.
script/c21145.lua
View file @
f391c6a6
...
@@ -15,10 +15,10 @@ function c21145.filter(c)
...
@@ -15,10 +15,10 @@ function c21145.filter(c)
and
not
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsReleasable
()
and
not
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsReleasable
()
end
end
function
c21145
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21145
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
a
,
b
,
dot
=
DOT
.
DotCounter
.
Get
(
1
-
tp
)
local
LO
=
0x6
if
dot
>
0
then
LO
=
0x7
end
if
chk
==
0
then
if
chk
==
0
then
local
a
,
b
,
dot
=
DOT
.
DotCounter
.
Get
(
1
-
tp
)
local
LO
=
0x6
if
dot
>
0
then
LO
=
0x7
end
return
Duel
.
IsExistingMatchingCard
(
c21145
.
filter
,
tp
,
LO
,
0
,
1
,
nil
)
end
return
Duel
.
IsExistingMatchingCard
(
c21145
.
filter
,
tp
,
LO
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c21145
.
filter
,
tp
,
LO
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c21145
.
filter
,
tp
,
LO
,
0
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
...
...
script/c21146.lua
View file @
f391c6a6
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
function
c21146
.
initial_effect
(
c
)
function
c21146
.
initial_effect
(
c
)
-- Activate
-- Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
--
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
c21146
.
cost
)
e1
:
SetCost
(
c21146
.
cost
)
e1
:
SetTarget
(
c21146
.
target
)
e1
:
SetTarget
(
c21146
.
target
)
...
@@ -18,21 +18,21 @@ function c21146.filter(c)
...
@@ -18,21 +18,21 @@ function c21146.filter(c)
end
end
function
c21146
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21146
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
a
,
b
,
dot
=
DOT
.
DotCounter
.
Get
(
1
-
tp
)
local
a
,
b
,
dot
=
DOT
.
DotCounter
.
Get
(
1
-
tp
)
local
LO
=
0x6
local
LO
E
=
0x6
if
dot
>
0
then
LO
=
0x7
end
if
dot
>
0
then
LO
E
=
0x7
end
if
chk
==
0
then
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c21146
.
filter
,
tp
,
LO
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c21146
.
filter
,
tp
,
LO
E
,
0
,
1
,
nil
)
end
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c21146
.
filter
,
tp
,
LO
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c21146
.
filter
,
tp
,
LO
E
,
0
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c21146
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21146
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
1
-
tp
,
LOCATION_ONFIELD
)
end
end
function
c21146
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21146
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
1
,
e
:
GetHandler
())
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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