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
5cc53c56
Commit
5cc53c56
authored
May 27, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
fd93fbd4
Pipeline
#13243
passed with stages
in 36 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
expansions/script/c64800042.lua
expansions/script/c64800042.lua
+5
-2
No files found.
expansions/script/c64800042.lua
View file @
5cc53c56
...
...
@@ -35,12 +35,15 @@ function cm.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
0
)
return
#
g
==
0
and
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
tp
,
rp
)
and
eg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
):
GetCount
()
==
1
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_
S
ZONE
,
0
)
==
0
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
0
)
:
Filter
(
cm
.
repfilter
,
nil
,
tp
)
return
#
g
==
0
and
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
tp
,
rp
)
and
eg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
):
GetCount
()
==
1
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_
M
ZONE
,
0
)
==
0
end
function
cm
.
filter
(
c
,
tp
,
rp
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
end
function
cm
.
repfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
GetSequence
()
<
5
and
c
:
IsControler
(
tp
)
end
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
then
...
...
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