Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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
MyCard
ygopro-scripts-888
Commits
c0e3f945
Commit
c0e3f945
authored
Jul 07, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 接触するG
parent
f246090a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
6 deletions
+26
-6
procedure.lua
procedure.lua
+26
-6
No files found.
procedure.lua
View file @
c0e3f945
...
...
@@ -3826,11 +3826,6 @@ function Synchro.SynCondition(tuner_race,tuner_level,tuner_filter,non_tuner_race
mg
=
mg
or
Synchro
.
GetSynchroMaterial
(
c
:
GetControler
(),
c
,
level_mapper
)
local
candidates
=
{}
for
mc
in
aux
.
Next
(
mg
)
do
if
mc
~=
smat
then
table.insert
(
candidates
,
mc
)
end
end
local
pre_selected_arr
=
{}
if
smat
~=
nil
then
...
...
@@ -3839,6 +3834,22 @@ function Synchro.SynCondition(tuner_race,tuner_level,tuner_filter,non_tuner_race
end
table.insert
(
pre_selected_arr
,
smat
)
end
--- 接触するG
local
must_be_materials
=
Duel
.
GetMustMaterial
(
c
:
GetControler
(),
EFFECT_MUST_BE_SMATERIAL
)
for
mc
in
aux
.
Next
(
must_be_materials
)
do
if
not
mg
:
IsContains
(
mc
)
then
return
false
end
table.insert
(
pre_selected_arr
,
mc
)
end
for
mc
in
aux
.
Next
(
mg
)
do
if
mc
~=
smat
and
not
must_be_materials
:
IsContains
(
mc
)
then
table.insert
(
candidates
,
mc
)
end
end
local
pre_selected_states
=
Synchro
.
BuildStatesFromSelection
(
pre_selected_arr
,
tuner_race
,
tuner_level
,
tuner_filter
,
non_tuner_race
,
non_tuner_level
,
non_tuner_filter
,
level_mapper
,
hand_count_mapper
,
c
,
math.huge
,
skip_hand_count_check
)
for
_
,
state
in
ipairs
(
pre_selected_states
)
do
...
...
@@ -3891,6 +3902,15 @@ function Synchro.SynTarget(tuner_race,tuner_level,tuner_filter,non_tuner_race,no
sg
:
AddCard
(
smat
)
end
--- 接触するG
local
must_be_materials
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_SMATERIAL
)
for
mc
in
aux
.
Next
(
must_be_materials
)
do
if
not
mg
:
IsContains
(
mc
)
then
return
false
end
sg
:
AddCard
(
mc
)
end
local
function
GroupToArray
(
group
)
local
arr
=
{}
for
card
in
aux
.
Next
(
group
)
do
table.insert
(
arr
,
card
)
end
...
...
@@ -3988,7 +4008,7 @@ function Synchro.SynTarget(tuner_race,tuner_level,tuner_filter,non_tuner_race,no
end
else
if
sg
:
IsContains
(
picked
)
then
if
picked
~=
smat
then
if
picked
~=
smat
and
not
must_be_materials
:
IsContains
(
picked
)
then
sg
:
RemoveCard
(
picked
)
end
else
...
...
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