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
08bdcaef
Commit
08bdcaef
authored
Jan 20, 2025
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 0004#15 qp act
parent
63dc91a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
expansions/script/c4204015.lua
expansions/script/c4204015.lua
+4
-3
No files found.
expansions/script/c4204015.lua
View file @
08bdcaef
...
...
@@ -8,7 +8,8 @@ function cm.initial_effect(c)
.
e
(
"SetType"
,
EFFECT_TYPE_ACTIVATE
)
.
e
(
"SetCode"
,
EVENT_FREE_CHAIN
)
.
e
(
"SetTarget"
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
dishdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
dishdfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
else
...
...
@@ -29,12 +30,12 @@ function cm.initial_effect(c)
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_
TRA
P_ACT_IN_SET_TURN
)
e1
:
SetCode
(
EFFECT_
Q
P_ACT_IN_SET_TURN
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e1
:
SetCountLimit
(
7
)
e1
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetType
()
==
TYPE_QUICKPLAY
return
c
:
IsType
(
TYPE_QUICKPLAY
)
end
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
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