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
0ccdc5a1
Commit
0ccdc5a1
authored
Aug 13, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c431405.lua
parent
4fa573de
Pipeline
#29182
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
script/c431405.lua
script/c431405.lua
+5
-6
No files found.
script/c431405.lua
View file @
0ccdc5a1
...
...
@@ -49,8 +49,8 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
op
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
fselect
(
g
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
g
,
tp
)
>
0
function
s
.
fselect
(
g
,
tp
,
sc
)
return
g
:
GetCount
()
==
2
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
sc
)
>
0
end
function
s
.
spfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
and
c
:
IsRace
(
RACE_FAIRY
)
...
...
@@ -59,12 +59,12 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
return
rg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
tp
)
return
rg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
tp
,
c
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
true
,
2
,
2
,
tp
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
true
,
2
,
2
,
tp
,
c
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
...
...
@@ -73,9 +73,8 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
Duel
.
Release
(
g
,
REASON_
COST
)
Duel
.
Release
(
g
,
REASON_
SPSUMMON
)
g
:
DeleteGroup
()
c
:
CompleteProcedure
()
end
--
function
s
.
filter1
(
c
,
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