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
efa4cb8f
Commit
efa4cb8f
authored
Dec 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
e04ef0f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
expansions/script/c60000146.lua
expansions/script/c60000146.lua
+4
-2
No files found.
expansions/script/c60000146.lua
View file @
efa4cb8f
...
...
@@ -50,11 +50,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_DECK
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
lkfil
,
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
nil
)
g
:
Merge
(
tg
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
lkfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
e
:
GetActivateLocation
()
~=
LOCATION_HAND
then
e
:
SetLabel
(
1
)
end
if
chk
==
0
then
return
e
:
GetLabel
()
~=
1
or
(
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
lkfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
100
)
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