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
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
Vee4
ygopro-scripts-888
Commits
cec203e4
Commit
cec203e4
authored
Jul 04, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add レアル・ジェネクス・チューリング and ミラー・リゾネーター
parent
d1180d96
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
c38354937.lua
c38354937.lua
+4
-0
c61052897.lua
c61052897.lua
+8
-0
procedure.lua
procedure.lua
+14
-2
No files found.
c38354937.lua
View file @
cec203e4
...
@@ -2,6 +2,10 @@
...
@@ -2,6 +2,10 @@
function
c38354937
.
initial_effect
(
c
)
function
c38354937
.
initial_effect
(
c
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x2
),
aux
.
NonTuner
(
Card
.
IsAttribute
,
ATTRIBUTE_DARK
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x2
),
aux
.
NonTuner
(
Card
.
IsAttribute
,
ATTRIBUTE_DARK
),
1
)
Synchro
.
AddSynchroProcedure
(
c
,{
tuner_filter
=
function
(
mc
,
tc
)
return
mc
:
IsSetCard
(
0x2
)
and
Synchro
.
DefaultTunerFilter
(
mc
,
tc
)
end
,
non_tuner_filter
=
function
(
mc
,
tc
)
return
mc
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
Synchro
.
DefaultNonTunerFilter
(
mc
,
tc
)
end
,
})
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--control
--control
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c61052897.lua
View file @
cec203e4
...
@@ -28,6 +28,7 @@ function s.initial_effect(c)
...
@@ -28,6 +28,7 @@ function s.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
id
)
e3
:
SetCode
(
id
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
s
.
slevel
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
cardiansynlevel
(
c
,
sc
)
function
s
.
cardiansynlevel
(
c
,
sc
)
...
@@ -114,3 +115,10 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -114,3 +115,10 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
function
s
.
slevel
(
e
,
tc
)
if
tc
:
IsSetCard
(
0x2
)
then
return
{
1
,
3
}
else
return
{}
end
end
procedure.lua
View file @
cec203e4
...
@@ -3835,6 +3835,7 @@ end
...
@@ -3835,6 +3835,7 @@ end
function Synchro.DefaultLevelMapper(card,tc)
function Synchro.DefaultLevelMapper(card,tc)
local level_dict={}
local level_dict={}
local mandatory=false
local effs={card:IsHasEffect(EFFECT_SYNCHRO_LEVEL)}
local effs={card:IsHasEffect(EFFECT_SYNCHRO_LEVEL)}
if #effs>0 then
if #effs>0 then
local val=effs[1]:GetValue()(effs[1],tc)
local val=effs[1]:GetValue()(effs[1],tc)
...
@@ -3845,13 +3846,24 @@ function Synchro.DefaultLevelMapper(card,tc)
...
@@ -3845,13 +3846,24 @@ function Synchro.DefaultLevelMapper(card,tc)
elseif type(val)=="number" then
elseif type(val)=="number" then
if val>=(1<<16) then -- compatibility
if val>=(1<<16) then -- compatibility
val=val>>16
val=val>>16
else
mandatory=true
end
end
level_dict[val]=true
level_dict[val]=true
end
end
end
end
effs={card:IsHasEffect(61052897)} --- レアル・ジェネクス・チューリング
if #effs>0 then
local val=effs[1]:GetValue()(effs[1],tc)
for _, v in ipairs(val) do
level_dict[v]=true
end
end
-- Always include original level
if not mandatory then
-- include original level
level_dict[card:GetLevel()]=true
level_dict[card:GetLevel()]=true
end
-- Convert dictionary keys back to array
-- Convert dictionary keys back to array
local levels={}
local levels={}
...
...
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