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
db609dba
Commit
db609dba
authored
Jun 11, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d7e81fe6
Pipeline
#37456
passed with stages
in 44 minutes and 43 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
13 deletions
+12
-13
expansions/script/c12400133.lua
expansions/script/c12400133.lua
+1
-0
expansions/script/c12400141.lua
expansions/script/c12400141.lua
+1
-0
expansions/script/c12847087.lua
expansions/script/c12847087.lua
+3
-3
expansions/script/c12847098.lua
expansions/script/c12847098.lua
+3
-3
expansions/script/c5012604.lua
expansions/script/c5012604.lua
+4
-7
No files found.
expansions/script/c12400133.lua
View file @
db609dba
--辉照万古的黄金之月
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
12400134
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1190
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c12400141.lua
View file @
db609dba
...
...
@@ -143,6 +143,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
s
.
bkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetCurrentChain
()
==
1
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
te
and
((
te
:
GetHandler
():
IsSetCard
(
0xa2a2
)
and
te
:
IsActiveType
(
TYPE_MONSTER
))
or
te
:
GetHandler
():
IsCode
(
12400134
))
and
p
==
tp
end
...
...
expansions/script/c12847087.lua
View file @
db609dba
...
...
@@ -113,7 +113,7 @@ function cm.backop(e,tp,eg,ep,ev,re,r,rp)
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
checkitside
,
tp
,
0x7f
,
0x7f
,
nil
)
for
c
in
aux
.
Next
(
dg
)
do
local
tcode
=
c
.
code
c
:
SetEntityCode
(
tcode
)
c
:
SetEntityCode
(
tcode
,
true
)
if
c
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
end
...
...
@@ -157,7 +157,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
c
:
GetFlagEffect
(
16100000
)
==
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
12847088
)
local
sidecode
=
c
.
side_code
c
:
SetEntityCode
(
sidecode
)
c
:
SetEntityCode
(
sidecode
,
true
)
c
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
+
1
,
0
))
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
m
,
re
,
r
,
rp
,
ep
,
0
)
...
...
@@ -200,7 +200,7 @@ function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
local
sidecode
=
c
.
code
c
:
SetEntityCode
(
code
)
c
:
SetEntityCode
(
code
,
true
)
c
:
ResetFlagEffect
(
16100000
)
Duel
.
RaiseSingleEvent
(
c
,
EVENT_CUSTOM
+
m
,
re
,
r
,
rp
,
ep
,
0
)
end
...
...
expansions/script/c12847098.lua
View file @
db609dba
...
...
@@ -113,7 +113,7 @@ function cm.backop(e,tp,eg,ep,ev,re,r,rp)
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
checkitside
,
tp
,
0x7f
,
0x7f
,
nil
)
for
c
in
aux
.
Next
(
dg
)
do
local
tcode
=
c
.
code
c
:
SetEntityCode
(
tcode
)
c
:
SetEntityCode
(
tcode
,
true
)
if
c
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
end
...
...
@@ -171,7 +171,7 @@ function cm.chop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
GetFlagEffect
(
16100000
)
==
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
12847099
)
local
sidecode
=
c
.
side_code
c
:
SetEntityCode
(
sidecode
)
c
:
SetEntityCode
(
sidecode
,
true
)
c
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
+
1
,
5
))
...
...
@@ -214,7 +214,7 @@ function cm.remop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
and
c
:
GetFlagEffect
(
16100000
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
12847098
)
local
sidecode
=
c
.
code
c
:
SetEntityCode
(
sidecode
)
c
:
SetEntityCode
(
sidecode
,
true
)
c
:
ResetFlagEffect
(
16100000
)
Duel
.
AdjustAll
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
...
...
expansions/script/c5012604.lua
View file @
db609dba
...
...
@@ -43,12 +43,13 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
--
e3:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN)
e3
:
SetCondition
(
s
.
gspcon
)
e3
:
SetTarget
(
s
.
gsptg
)
e3
:
SetOperation
(
s
.
gspop
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e4
:
SetCondition
(
s
.
gspcon2
)
e4
:
SetTarget
(
s
.
gsptg2
)
...
...
@@ -161,7 +162,7 @@ function s.gspcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
gspcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d
=
Duel
.
GetAttackTarget
()
return
d
:
IsFaceup
()
and
(
c
.
MoJin
or
c
:
IsSetCard
(
0x23c
))
and
d
:
IsControler
(
tp
)
return
d
and
d
:
IsFaceup
()
and
(
d
.
MoJin
or
d
:
IsSetCard
(
0x23c
))
and
d
:
IsControler
(
tp
)
and
Duel
.
GetMZoneCount
(
tp
,
d
,
tp
)
>
0
and
d
:
IsAbleToHand
()
end
function
s
.
gsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -187,12 +188,8 @@ function s.gspop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
sg
=
tg
:
Filter
(
s
.
gstfilter
,
nil
,
e
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
if
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
==
0
then
return
end
if
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
c
:
IsFaceupEx
()
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
--if Duel.SendtoHand(sg,nil,REASON_EFFECT)==0 then return end
--if c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and c:IsFaceupEx() and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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