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
b0a9dc63
Commit
b0a9dc63
authored
Oct 12, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
dedc45fb
Pipeline
#6231
passed with stages
in 38 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
expansions/script/c30553258.lua
expansions/script/c30553258.lua
+2
-1
expansions/script/c34501310.lua
expansions/script/c34501310.lua
+2
-1
No files found.
expansions/script/c30553258.lua
View file @
b0a9dc63
...
...
@@ -81,6 +81,7 @@ function cm.initial_effect(c)
Duel
.
Overlay
(
c
,
mg
)
mg
:
DeleteGroup
()
end
Duel
.
ShuffleHand
(
tp
)
end
)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -198,7 +199,7 @@ function cm.spzfilter(g,tp)
end
function
cm
.
XyzLevelFreeFilter
(
c
,
xyzc
,
f
)
if
c
:
IsLocation
(
LOCATION_HAND
)
and
not
c
:
IsSetCard
(
0x301
)
then
return
false
end
return
c
:
IsCanBeXyzMaterial
(
xyzc
)
and
c
:
IsXyzLevel
(
xyzc
,
3
)
and
(
not
f
or
f
(
c
,
xyzc
))
return
c
:
IsCanBeXyzMaterial
(
xyzc
)
and
c
:
IsXyzLevel
(
xyzc
,
3
)
and
(
not
f
or
f
(
c
,
xyzc
))
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
end
--e3
function
cm
.
tf3
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
...
...
expansions/script/c34501310.lua
View file @
b0a9dc63
...
...
@@ -17,6 +17,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_HAND
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCondition
(
cm
.
ddcon
)
e2
:
SetTarget
(
cm
.
ddtg
)
...
...
@@ -83,7 +84,7 @@ end
function
cm
.
ddtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
eg
:
Filter
(
cm
.
ddfilter
,
nil
,
tp
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
posfilter
(
chkc
)
and
rg
:
GetCount
()
~=
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
rg
:
GetCount
()
~=
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
1
,
0
,
0
)
...
...
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