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
08d9c33c
Commit
08d9c33c
authored
Feb 25, 2021
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1f06955d
Pipeline
#2502
passed with stages
in 44 minutes and 55 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
expansions/script/c33331101.lua
expansions/script/c33331101.lua
+4
-4
expansions/script/c33331103.lua
expansions/script/c33331103.lua
+1
-1
expansions/script/c33331108.lua
expansions/script/c33331108.lua
+4
-4
expansions/script/c33331109.lua
expansions/script/c33331109.lua
+1
-1
No files found.
expansions/script/c33331101.lua
View file @
08d9c33c
...
...
@@ -6,10 +6,10 @@ function cm.initial_effect(c)
rslf
.
SpecialSummonFunction
(
c
,
m
,
cm
.
con
,
cm
.
op
,
cm
.
buff
)
end
function
cm
.
con
(
e
,
tp
)
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x
a
553
)
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x
2
553
)
end
function
cm
.
op
(
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x
a
553
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x
2
553
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
buff
(
c
)
...
...
@@ -24,14 +24,14 @@ function cm.lcon(e,tp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
end
function
cm
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsAbleToGrave
()
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
a
553
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
c
:
IsAbleToGrave
()
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
553
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
end
function
cm
.
cfilter2
(
c
,
e
,
tp
,
rc
)
local
g
=
Group
.
FromCards
(
c
,
rc
)
return
c
:
IsAbleToGrave
()
and
c
:
IsFaceup
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
g
,
e
,
tp
)
end
function
cm
.
spfilter
(
c
,
g
,
e
,
tp
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
and
(
not
g
or
g
:
FilterCount
(
Card
.
IsCanBeLinkMaterial
,
nil
,
c
)
==
2
)
and
c
:
IsSetCard
(
0x
a
553
)
and
c
:
GetLink
()
==
2
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
false
)
and
(
not
g
or
g
:
FilterCount
(
Card
.
IsCanBeLinkMaterial
,
nil
,
c
)
==
2
)
and
c
:
IsSetCard
(
0x
2
553
)
and
c
:
GetLink
()
==
2
end
function
cm
.
ltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c33331103.lua
View file @
08d9c33c
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
rslf
.
SpecialSummonFunction
(
c
,
m
,
cm
.
con
,
cm
.
op
,
cm
.
buff
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsAbleToDeckAsCost
()
and
c
:
IsSetCard
(
0x
a
553
)
return
c
:
IsAbleToDeckAsCost
()
and
c
:
IsSetCard
(
0x
2
553
)
end
function
cm
.
con
(
e
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
...
...
expansions/script/c33331108.lua
View file @
08d9c33c
...
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
end
function
cm
.
val
(
e
,
c
)
local
f
=
function
(
rc
)
return
rc
:
IsFaceup
()
and
rc
:
IsSetCard
(
0x
a
553
)
return
rc
:
IsFaceup
()
and
rc
:
IsSetCard
(
0x
2
553
)
end
return
Duel
.
GetMatchingGroupCount
(
f
,
e
:
GetHandlerPlayer
(),
LOCATION_EXTRA
,
0
,
nil
)
*
500
end
...
...
@@ -43,10 +43,10 @@ function cm.imval(e,re)
return
re
:
GetOwnerPlayer
()
~=
e
:
GetOwnerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
cm
.
dfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0xa
553
)
return
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
2
553
)
end
function
cm
.
repfilter
(
c
)
return
c
:
IsSetCard
(
0x
a
553
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
2
553
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
dfilter
,
1
,
nil
,
tp
)
...
...
@@ -54,7 +54,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
return
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
end
function
cm
.
value
(
e
,
c
)
return
c
:
IsControler
(
e
:
GetHandlerPlayer
())
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0x
a
553
)
return
c
:
IsControler
(
e
:
GetHandlerPlayer
())
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0x
2
553
)
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
expansions/script/c33331109.lua
View file @
08d9c33c
...
...
@@ -28,7 +28,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
op
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
mat
=
c
:
GetMaterial
():
Filter
(
Card
.
IsSetCard
,
nil
,
0x
a
553
)
local
mat
=
c
:
GetMaterial
():
Filter
(
Card
.
IsSetCard
,
nil
,
0x
2
553
)
if
#
mat
<=
0
then
return
end
for
tc
in
aux
.
Next
(
mat
)
do
local
buff
=
tc
.
lflist
...
...
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