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
3d022be6
Commit
3d022be6
authored
Jan 25, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
9bcca274
Pipeline
#8992
passed with stages
in 33 minutes and 59 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c16114249.lua
expansions/script/c16114249.lua
+4
-4
expansions/script/c16120004.lua
expansions/script/c16120004.lua
+1
-1
No files found.
expansions/script/c16114249.lua
View file @
3d022be6
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCondition
(
cm
.
lcon
)
e1
:
SetTarget
(
cm
.
ltg
)
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
nil
,
2
,
5
,
cm
.
gf
))
e1
:
SetOperation
(
Auxiliary
.
LinkOperation
(
nil
,
2
,
4
,
cm
.
gf
))
e1
:
SetValue
(
SUMMON_TYPE_LINK
)
c
:
RegisterEffect
(
e1
)
--direct attack
...
...
@@ -68,8 +68,8 @@ end
function
cm
.
Linkfilter2
(
c
,
lc
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeLinkMaterial
(
lc
)
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
cm
.
Linkfilter
,
lc
,
e
)
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
cm
.
Linkfilter
,
lc
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
cm
.
Linkfilter
,
lc
,
tp
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
Linkfilter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
lc
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
...
...
@@ -100,7 +100,7 @@ function cm.seacon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
tp
and
rk
.
check
(
re
:
GetHandler
(),
"FAIRY"
)
end
function
cm
.
seatgf
(
c
,
rc
)
return
rk
.
check
(
r
c
,
"FAIRY"
)
and
not
c
:
IsCode
(
rc
:
GetCode
())
and
c
:
IsAbleToHand
()
return
rk
.
check
(
c
,
"FAIRY"
)
and
not
c
:
IsCode
(
rc
:
GetCode
())
and
c
:
IsAbleToHand
()
end
function
cm
.
seatg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
seatgf
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
re
:
GetHandler
())
end
...
...
expansions/script/c16120004.lua
View file @
3d022be6
...
...
@@ -102,7 +102,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
end
function
cm
.
rmc
(
c
,
mc
)
return
(
c
:
IsType
(
TYPE_EFFECT
)
or
not
c
:
IsAttribute
(
mc
:
GetAttribute
())
)
and
(
c
:
IsRace
(
RACE_DRAGON
)
or
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetOriginalRace
()
&
RACE_DRAGON
~=
0
))
and
c
:
IsReleasable
()
return
(
c
:
GetOriginalType
()
&
TYPE_EFFECT
~=
0
or
c
:
GetOriginalAttribute
()
&
mc
:
GetAttribute
()
==
0
)
and
(
c
:
IsRace
(
RACE_DRAGON
)
or
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetOriginalRace
()
&
RACE_DRAGON
~=
0
))
and
c
:
IsReleasable
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
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