Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
nanahira
ygopro-scripts
Commits
286e4ce9
Commit
286e4ce9
authored
Jun 14, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into develop
parents
a3b89a20
a76cc0be
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
12 deletions
+19
-12
c17725109.lua
c17725109.lua
+1
-1
c34813545.lua
c34813545.lua
+1
-1
c35098357.lua
c35098357.lua
+1
-1
c38044854.lua
c38044854.lua
+4
-1
c48654323.lua
c48654323.lua
+2
-2
c5908650.lua
c5908650.lua
+4
-0
c62002838.lua
c62002838.lua
+2
-1
c66518509.lua
c66518509.lua
+2
-2
c82791472.lua
c82791472.lua
+1
-2
c87532344.lua
c87532344.lua
+1
-1
No files found.
c17725109.lua
View file @
286e4ce9
...
@@ -62,7 +62,7 @@ function s.filter2(c,e,tp,m,f,chkf)
...
@@ -62,7 +62,7 @@ function s.filter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
s
.
fcheck
(
tp
,
sg
,
fc
)
function
s
.
fcheck
(
tp
,
sg
,
fc
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0xdd
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0xdd
)
end
end
function
s
.
fsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
fsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c34813545.lua
View file @
286e4ce9
...
@@ -90,7 +90,7 @@ function c34813545.filter2(c,e,tp,m,f,chkf)
...
@@ -90,7 +90,7 @@ function c34813545.filter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
c34813545
.
fcheck
(
tp
,
sg
,
fc
)
function
c34813545
.
fcheck
(
tp
,
sg
,
fc
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x2a
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0x2a
)
end
end
function
c34813545
.
fstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c34813545
.
fstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c35098357.lua
View file @
286e4ce9
...
@@ -29,7 +29,7 @@ function c35098357.filter2(c,e,tp,m,f,chkf)
...
@@ -29,7 +29,7 @@ function c35098357.filter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
c35098357
.
fcheck
(
tp
,
sg
,
fc
)
function
c35098357
.
fcheck
(
tp
,
sg
,
fc
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x128
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0x128
)
end
end
function
c35098357
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c35098357
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c38044854.lua
View file @
286e4ce9
...
@@ -36,6 +36,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -36,6 +36,9 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
sg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
),
1
,
0
,
0
)
end
end
function
s
.
ovfilter
(
c
,
e
)
return
c
:
IsCanOverlay
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetTargetsRelateToChain
()
local
tg
=
Duel
.
GetTargetsRelateToChain
()
...
@@ -45,7 +48,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +48,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
sc
and
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
sc
:
CompleteProcedure
()
sc
:
CompleteProcedure
()
local
og
=
tg
:
Filter
(
Card
.
IsCanOverlay
,
nil
)
local
og
=
tg
:
Filter
(
s
.
ovfilter
,
nil
,
e
)
for
tc
in
aux
.
Next
(
og
)
do
for
tc
in
aux
.
Next
(
og
)
do
local
mg
=
tc
:
GetOverlayGroup
()
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
if
mg
:
GetCount
()
~=
0
then
...
...
c48654323.lua
View file @
286e4ce9
...
@@ -46,9 +46,9 @@ function c48654323.atktgfilter2(c)
...
@@ -46,9 +46,9 @@ function c48654323.atktgfilter2(c)
end
end
function
c48654323
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c48654323
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c48654323
.
atktgfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c48654323
.
atktgfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c48654323
.
atktgfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c48654323
.
atktgfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c48654323
.
atktgfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
g
)
Duel
.
SelectTarget
(
tp
,
c48654323
.
atktgfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
g
)
end
end
...
...
c5908650.lua
View file @
286e4ce9
...
@@ -9,6 +9,7 @@ function c5908650.initial_effect(c)
...
@@ -9,6 +9,7 @@ function c5908650.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c5908650
.
thcost
)
e1
:
SetCost
(
c5908650
.
thcost
)
e1
:
SetCondition
(
c5908650
.
thcon
)
e1
:
SetTarget
(
c5908650
.
thtg
)
e1
:
SetTarget
(
c5908650
.
thtg
)
e1
:
SetOperation
(
c5908650
.
thop
)
e1
:
SetOperation
(
c5908650
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -29,6 +30,9 @@ function c5908650.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,6 +30,9 @@ function c5908650.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c5908650
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c5908650
.
aclimit
(
e
,
re
,
tp
)
function
c5908650
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsNonAttribute
(
ATTRIBUTE_LIGHT
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsNonAttribute
(
ATTRIBUTE_LIGHT
)
end
end
...
...
c62002838.lua
View file @
286e4ce9
...
@@ -133,7 +133,8 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -133,7 +133,8 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
~=
c
and
s
.
atkfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
~=
c
and
s
.
atkfilter
(
chkc
)
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
500
)
and
c
:
IsDefenseAbove
(
500
)
and
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
if
chk
==
0
then
return
c
:
IsAttackAbove
(
500
)
and
c
:
IsDefenseAbove
(
500
)
and
Duel
.
IsExistingTarget
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
c
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
c
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c66518509.lua
View file @
286e4ce9
...
@@ -69,9 +69,9 @@ function s.exfilter(c,tp)
...
@@ -69,9 +69,9 @@ function s.exfilter(c,tp)
end
end
function
s
.
fcheck
(
tp
,
sg
,
fc
)
function
s
.
fcheck
(
tp
,
sg
,
fc
)
if
Duel
.
GetFlagEffect
(
tp
,
id
)
~=
0
then
if
Duel
.
GetFlagEffect
(
tp
,
id
)
~=
0
then
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1a1
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0x1a1
)
else
else
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1a1
)
and
not
sg
:
IsExists
(
s
.
exfilter
,
1
,
nil
,
tp
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0x1a1
)
and
not
sg
:
IsExists
(
s
.
exfilter
,
1
,
nil
,
tp
)
end
end
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c82791472.lua
View file @
286e4ce9
...
@@ -74,8 +74,7 @@ function c82791472.aclimit(e,re,tp)
...
@@ -74,8 +74,7 @@ function c82791472.aclimit(e,re,tp)
return
not
re
:
GetHandler
():
IsSetCard
(
0x137
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
return
not
re
:
GetHandler
():
IsSetCard
(
0x137
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
end
function
c82791472
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82791472
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
IsMainPhase
()
and
e
:
GetHandler
():
IsSetCard
(
0x137
)
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
end
function
c82791472
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82791472
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c87532344.lua
View file @
286e4ce9
...
@@ -126,7 +126,7 @@ function s.filter3(c,e)
...
@@ -126,7 +126,7 @@ function s.filter3(c,e)
return
c
:
IsOnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsOnField
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
s
.
fcheck
(
tp
,
sg
,
fc
)
function
s
.
fcheck
(
tp
,
sg
,
fc
)
return
sg
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1a5
)
return
sg
:
IsExists
(
Card
.
Is
Fusion
SetCard
,
1
,
nil
,
0x1a5
)
end
end
function
s
.
futg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
futg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
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