Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Huangnan
no81cards
Commits
12267e54
Commit
12267e54
authored
Sep 01, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c11451800.lua
parent
152b2ddc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
expansions/script/c11451800.lua
expansions/script/c11451800.lua
+7
-3
No files found.
expansions/script/c11451800.lua
View file @
12267e54
...
@@ -62,7 +62,7 @@ function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
end
end
local
loc
=
LOCATION_DECK
local
loc
=
LOCATION_DECK
function
cm
.
synfilter
(
c
,
syncard
,
tuner
,
f
)
function
cm
.
synfilter
(
c
,
syncard
,
tuner
,
f
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
loc
)
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
,
tuner
)
and
(
f
==
nil
or
f
(
c
,
syncard
))
return
c
:
IsFaceupEx
(
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
,
tuner
)
and
(
f
==
nil
or
f
(
c
,
syncard
))
end
end
function
cm
.
syncheck
(
c
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
function
cm
.
syncheck
(
c
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
g
:
AddCard
(
c
)
g
:
AddCard
(
c
)
...
@@ -85,7 +85,9 @@ function cm.syntg(e,syncard,f,min,max)
...
@@ -85,7 +85,9 @@ function cm.syntg(e,syncard,f,min,max)
local
lv
=
syncard
:
GetLevel
()
local
lv
=
syncard
:
GetLevel
()
if
lv
<=
c
:
GetLevel
()
then
return
false
end
if
lv
<=
c
:
GetLevel
()
then
return
false
end
local
g
=
Group
.
FromCards
(
c
)
local
g
=
Group
.
FromCards
(
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
synfilter
,
tp
,
LOCATION_MZONE
+
loc
,
LOCATION_MZONE
,
c
,
syncard
,
c
,
f
)
local
mg
=
Duel
.
GetSynchroMaterial
(
tp
):
Filter
(
cm
.
synfilter
,
c
,
syncard
,
c
,
f
)
local
exg
=
Duel
.
GetMatchingGroup
(
cm
.
synfilter
,
tp
,
LOCATION_DECK
,
0
,
c
,
syncard
,
c
,
f
)
mg
:
Merge
(
exg
)
return
mg
:
IsExists
(
cm
.
syncheck
,
1
,
g
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
return
mg
:
IsExists
(
cm
.
syncheck
,
1
,
g
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
end
end
function
cm
.
synop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
syncard
,
f
,
min
,
max
)
function
cm
.
synop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
syncard
,
f
,
min
,
max
)
...
@@ -94,7 +96,9 @@ function cm.synop(e,tp,eg,ep,ev,re,r,rp,syncard,f,min,max)
...
@@ -94,7 +96,9 @@ function cm.synop(e,tp,eg,ep,ev,re,r,rp,syncard,f,min,max)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lv
=
syncard
:
GetLevel
()
local
lv
=
syncard
:
GetLevel
()
local
g
=
Group
.
FromCards
(
c
)
local
g
=
Group
.
FromCards
(
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
synfilter
,
tp
,
LOCATION_MZONE
+
loc
,
LOCATION_MZONE
,
c
,
syncard
,
c
,
f
)
local
mg
=
Duel
.
GetSynchroMaterial
(
tp
):
Filter
(
cm
.
synfilter
,
c
,
syncard
,
c
,
f
)
local
exg
=
Duel
.
GetMatchingGroup
(
cm
.
synfilter
,
tp
,
LOCATION_DECK
,
0
,
c
,
syncard
,
c
,
f
)
mg
:
Merge
(
exg
)
for
i
=
1
,
maxc
do
for
i
=
1
,
maxc
do
local
cg
=
mg
:
Filter
(
cm
.
syncheck
,
g
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
local
cg
=
mg
:
Filter
(
cm
.
syncheck
,
g
,
g
,
mg
,
tp
,
lv
,
syncard
,
minc
,
maxc
)
if
cg
:
GetCount
()
==
0
then
break
end
if
cg
:
GetCount
()
==
0
then
break
end
...
...
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