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
9e4446a5
Commit
9e4446a5
authored
Jan 26, 2025
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ce23e394
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
expansions/script/c4202048.lua
expansions/script/c4202048.lua
+7
-2
No files found.
expansions/script/c4202048.lua
View file @
9e4446a5
...
@@ -14,13 +14,18 @@ function cm.initial_effect(c)
...
@@ -14,13 +14,18 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCondition
(
function
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
sg
=
cm
.
pickup
return
sg
and
sg
:
GetCount
()
>
0
end
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
sg
=
cm
.
pickup
local
sg
=
cm
.
pickup
if
sg
then
if
sg
then
sg
:
KeepAlive
()
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
e
:
SetLabelObject
(
sg
)
cm
.
pickup
=
nil
cm
.
pickup
=
nil
return
true
else
return
false
return
sg
:
GetCount
()
>
0
else
return
false
end
end
end
)
end
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -41,7 +46,7 @@ function cm.initial_effect(c)
...
@@ -41,7 +46,7 @@ function cm.initial_effect(c)
end
)
end
)
e3
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e3
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
SelectYesNo
(
c
:
GetOwner
(),
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
SelectYesNo
(
c
:
GetOwner
(),
aux
.
Stringid
(
m
,
0
))
then
cm
.
pickup
=
eg
:
Filter
(
Card
.
IsAbleToRemove
,
nil
)
cm
.
pickup
=
eg
:
Filter
(
Card
.
IsAbleToRemove
,
nil
)
Duel
.
SpecialSummonRule
(
c
:
GetOwner
(),
e
:
GetHandler
())
Duel
.
SpecialSummonRule
(
c
:
GetOwner
(),
e
:
GetHandler
())
end
end
end
)
end
)
...
...
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