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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
ea4de8a0
Commit
ea4de8a0
authored
Oct 07, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c12835106.lua
parent
daa7a173
Pipeline
#30246
passed with stages
in 43 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
expansions/script/c12835106.lua
expansions/script/c12835106.lua
+8
-10
No files found.
expansions/script/c12835106.lua
View file @
ea4de8a0
...
...
@@ -125,16 +125,16 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
s
.
cfilter1
(
c
)
function
s
.
cfilter1
(
c
,
tp
)
local
seq
=
c
:
GetSequence
()
return
c
:
IsCode
(
12835101
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
seq
==
c
:
GetPreviousSequence
()
-
1
and
seq
<=
3
return
c
:
IsCo
ntroler
(
tp
)
and
c
:
IsCo
de
(
12835101
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
seq
==
c
:
GetPreviousSequence
()
-
1
and
seq
<=
3
end
function
s
.
mcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter1
,
1
,
nil
)
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
return
eg
:
IsExists
(
s
.
cfilter1
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
end
function
s
.
mtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
mc
=
eg
:
Filter
(
s
.
cfilter1
,
nil
):
GetFirst
()
local
mc
=
eg
:
Filter
(
s
.
cfilter1
,
nil
,
tp
):
GetFirst
()
if
not
mc
then
return
false
end
local
tg
=
mc
:
GetColumnGroup
():
Filter
(
Card
.
IsAbleToHand
,
nil
)
if
chk
==
0
then
return
tg
:
GetCount
()
>
0
and
c
:
GetFlagEffect
(
id
+
100
)
==
0
end
...
...
@@ -142,7 +142,6 @@ function s.mtg1(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
mc
)
mc
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_ONFIELD
)
return
eg
:
IsExists
(
s
.
cfilter1
,
1
,
nil
)
end
function
s
.
mop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -166,12 +165,12 @@ function s.mop1(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
,
true
)
c
:
SetTurnCounter
(
3
)
end
function
s
.
cfilter2
(
c
)
function
s
.
cfilter2
(
c
,
tp
)
local
seq
=
c
:
GetSequence
()
return
c
:
IsCode
(
12835101
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
seq
==
c
:
GetPreviousSequence
()
+
1
and
seq
<=
4
return
c
:
IsCo
ntroler
(
tp
)
and
c
:
IsCo
de
(
12835101
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
seq
==
c
:
GetPreviousSequence
()
+
1
and
seq
<=
4
end
function
s
.
mcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
)
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
end
function
s
.
desfilter
(
c
,
s
,
tp
)
local
seq
=
c
:
GetSequence
()
...
...
@@ -181,7 +180,7 @@ function s.desfilter(c,s,tp)
end
function
s
.
mtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
mc
=
eg
:
Filter
(
s
.
cfilter2
,
nil
):
GetFirst
()
local
mc
=
eg
:
Filter
(
s
.
cfilter2
,
nil
,
tp
):
GetFirst
()
if
not
mc
then
return
false
end
local
seq
=
mc
:
GetPreviousSequence
()
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
mc
,
seq
,
mc
:
GetControler
())
...
...
@@ -190,7 +189,6 @@ function s.mtg2(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
mc
)
mc
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
tp
,
LOCATION_ONFIELD
)
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
)
end
function
s
.
mop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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