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
REIKAI
ygopro-222DIY-cards
Commits
45fec4f9
Commit
45fec4f9
authored
Dec 14, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c52700631.lua
parent
b40cd974
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
expansions/script/c52700631.lua
expansions/script/c52700631.lua
+7
-5
No files found.
expansions/script/c52700631.lua
View file @
45fec4f9
...
...
@@ -10,7 +10,7 @@ end
function
s
.
remove
(
c
)
--to hand
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
1
)
)
e5
:
SetDescription
(
1130
)
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -84,10 +84,12 @@ function s.ovop(e,tp,eg,ep,ev,re,r,rp)
local
sc2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
g
):
GetFirst
()
for
gc
in
aux
.
Next
(
g
)
do
local
og2
=
gc
:
GetOverlayGroup
()
if
og2
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og2
,
REASON_RULE
)
end
tc
:
CancelToGrave
()
if
og2
:
GetCount
()
>
0
then
bg
:
Merge
(
og2
)
end
end
Duel
.
Overlay
(
sc2
,
tc
)
if
bg
and
#
bg
>
0
then
Duel
.
SendtoGrave
(
bg
,
REASON_RULE
)
end
Duel
.
Overlay
(
sc2
,
g
)
end
end
...
...
@@ -99,7 +101,7 @@ end
function
s
.
search
(
c
)
--to hand
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
0
)
)
e5
:
SetDescription
(
1109
)
e5
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e5
:
SetType
(
EFFECT_TYPE_IGNITION
)
e5
:
SetRange
(
LOCATION_MZONE
)
...
...
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