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
177c81d1
Commit
177c81d1
authored
Aug 15, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
7ec177be
Pipeline
#15628
passed with stages
in 28 minutes and 55 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
expansions/script/c33500563.lua
expansions/script/c33500563.lua
+4
-4
expansions/script/c33500565.lua
expansions/script/c33500565.lua
+5
-4
expansions/script/c33500567.lua
expansions/script/c33500567.lua
+4
-4
No files found.
expansions/script/c33500563.lua
View file @
177c81d1
...
...
@@ -28,12 +28,12 @@ function cm.spfilter(c)
return
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToHand
()
and
c
:
IsLevelBelow
(
3
)
end
function
cm
.
gvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
ONFIELD
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
function
cm
.
gvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33500565.lua
View file @
177c81d1
...
...
@@ -30,11 +30,11 @@ function cm.gvfilter(c)
return
c
:
IsFaceup
()
and
c
:
GetType
()
==
TYPE_TRAP
+
TYPE_CONTINUOUS
and
c
:
IsSetCard
(
0x5a2
)
end
function
cm
.
gvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
ONFIELD
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
function
cm
.
gvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -55,6 +55,7 @@ function cm.gvop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsOnField
()
end
local
xg
=
nil
if
not
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
then
xg
=
e
:
GetHandler
()
end
...
...
expansions/script/c33500567.lua
View file @
177c81d1
...
...
@@ -25,11 +25,11 @@ function cm.gvfilter(c)
return
c
:
IsFaceup
()
and
c
:
GetType
()
==
TYPE_TRAP
+
TYPE_CONTINUOUS
and
c
:
IsSetCard
(
0x5a2
)
end
function
cm
.
gvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_
ONFIELD
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
)
and
cm
.
gvfilter
(
chkc
)
end
if
chk
==
0
then
return
ft
>
0
and
Duel
.
IsExistingTarget
(
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
gvfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
function
cm
.
gvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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