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
924bd242
Commit
924bd242
authored
Feb 13, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379797.lua
parent
ac223dc5
Pipeline
#33200
passed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
script/c86379797.lua
script/c86379797.lua
+18
-12
No files found.
script/c86379797.lua
View file @
924bd242
...
...
@@ -5,9 +5,10 @@ function c86379797.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_
UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c86379797
.
spcon
)
e1
:
SetTarget
(
c86379797
.
sptg
)
e1
:
SetOperation
(
c86379797
.
spop
)
c
:
RegisterEffect
(
e1
)
--synchro effect
...
...
@@ -43,24 +44,29 @@ function c86379797.initial_effect(c)
end
--
function
c86379797
.
spfilter1
(
c
,
tp
)
return
c
:
IsSetCard
(
0x214a
)
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c86379797
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
end
function
c86379797
.
spfilter2
(
c
)
return
c
:
IsSetCard
(
0x514a
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x214a
,
0x514a
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c86379797
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
c86379797
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c86379797
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
and
g
:
CheckSubGroup
(
aux
.
gfcheck
,
2
,
2
,
Card
.
IsSetCard
,
0x214a
,
0x514a
)
end
function
c86379797
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c86379797
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
function
c86379797
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c86379797
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c86379797
.
spfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
g1
)
g1
:
Merge
(
g2
)
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_COST
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
true
,
2
,
2
,
Card
.
IsSetCard
,
0x214a
,
0x514a
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
return
true
else
return
false
end
end
function
c86379797
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_SPSUMMON
)
g
:
DeleteGroup
()
end
--
function
c86379797
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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