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
d41c296e
Commit
d41c296e
authored
Oct 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
4f4829d1
Pipeline
#6070
passed with stages
in 29 minutes and 54 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/script/c9300004.lua
expansions/script/c9300004.lua
+4
-3
expansions/script/c9300010.lua
expansions/script/c9300010.lua
+3
-2
expansions/script/c9310011.lua
expansions/script/c9310011.lua
+1
-0
No files found.
expansions/script/c9300004.lua
View file @
d41c296e
...
...
@@ -13,7 +13,7 @@ function c9300004.initial_effect(c)
end
function
c9300004
.
filter1
(
c
,
e
,
tp
)
local
lv
=
c
:
GetLevel
()
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
2
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
2
)
and
lv
()
%
2
==
0
and
Duel
.
IsExistingMatchingCard
(
c9300004
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
,
lv
,
c
:
GetRace
(),
c
:
GetAttribute
())
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
end
...
...
@@ -31,10 +31,11 @@ function c9300004.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c9300004
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
return
end
local
lv
=
tc
:
GetLevel
()
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
or
not
lv
()
%
2
==
0
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9300004
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
,
tc
:
GetLevel
()
,
tc
:
GetRace
(),
tc
:
GetAttribute
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9300004
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
,
lv
,
tc
:
GetRace
(),
tc
:
GetAttribute
())
local
sc
=
g
:
GetFirst
()
if
sc
then
local
mg
=
tc
:
GetOverlayGroup
()
...
...
expansions/script/c9300010.lua
View file @
d41c296e
...
...
@@ -32,10 +32,11 @@ function c9300010.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c9300010
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
return
end
local
rk
=
tc
:
GetRank
()
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
or
not
rk
>
1
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9300010
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
,
tc
:
GetRank
()
,
tc
:
GetRace
(),
tc
:
GetAttribute
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9300010
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
,
rk
,
tc
:
GetRace
(),
tc
:
GetAttribute
())
local
sc
=
g
:
GetFirst
()
if
sc
then
local
mg
=
tc
:
GetOverlayGroup
()
...
...
expansions/script/c9310011.lua
View file @
d41c296e
--深土之物 人身单调鸥
function
c9310011
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddCodeList
(
c
,
30013000
)
--ritual summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
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