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
72b205df
Commit
72b205df
authored
Oct 31, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
556f6748
Pipeline
#6587
passed with stages
in 30 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
expansions/script/c26826009.lua
expansions/script/c26826009.lua
+6
-5
expansions/script/c33200018.lua
expansions/script/c33200018.lua
+1
-1
No files found.
expansions/script/c26826009.lua
View file @
72b205df
...
...
@@ -40,14 +40,15 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x601
)
or
Duel
.
IsEnvironment
(
26826000
))
function
cm
.
filter
(
c
,
thchk
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x601
)
or
(
thchk
and
c
:
IsType
(
TYPE_MONSTER
)
))
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
thchk
=
Duel
.
IsEnvironment
(
26826000
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
filter
(
chkc
,
thchk
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
thchk
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
thchk
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RACE
)
local
rc
=
Duel
.
AnnounceRace
(
tp
,
1
,
RACE_ALL
-
g
:
GetFirst
():
GetRace
())
e
:
SetLabel
(
rc
)
...
...
expansions/script/c33200018.lua
View file @
72b205df
...
...
@@ -102,7 +102,7 @@ function c33200018.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33200018
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
,
tp
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33200018
.
filter
,
tp
,
0
,
LOCATION_
MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33200018
.
filter
,
tp
,
0
,
LOCATION_
ONFIELD
,
1
,
1
,
nil
)
end
function
c33200018
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
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