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
Ai
ygopro-222DIY-cards
Commits
c6dcc1ab
Commit
c6dcc1ab
authored
Dec 16, 2020
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a53147c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
expansions/script/c33330411.lua
expansions/script/c33330411.lua
+6
-1
No files found.
expansions/script/c33330411.lua
View file @
c6dcc1ab
...
...
@@ -5,7 +5,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
local
e1
=
rsnm
.
SummonFun
(
c
,
m
,
true
,
false
,
true
)
local
e2
,
e3
=
rsnm
.
FilpFun2
(
c
,
m
,
"atk"
,
nil
,
rsop
.
target2
(
cm
.
fun
,{
cm
.
posfilter
,
"pos"
,
LOCATION_MZONE
}),
cm
.
op
)
local
e4
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
m
},
"sp"
,
nil
,
LOCATION_MZONE
,
nil
,
rscost
.
cost
(
cm
.
resfilter
,
"res"
,
LOCATION_MZONE
)
,
rsop
.
target
(
cm
.
spfilter
,
"sp"
,
LOCATION_HAND
+
LOCATION_GRAVE
),
cm
.
spop
)
local
e4
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
m
},
"sp"
,
nil
,
LOCATION_MZONE
,
nil
,
cm
.
cost
,
rsop
.
target
(
cm
.
spfilter
,
"sp"
,
LOCATION_HAND
+
LOCATION_GRAVE
),
cm
.
spop
)
end
function
cm
.
fun
(
g
,
e
,
tp
)
Duel
.
SetChainLimit
(
cm
.
chlimit
)
...
...
@@ -33,6 +33,11 @@ end
function
cm
.
resfilter
(
c
,
e
,
tp
)
return
c
:
IsReleasable
()
and
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
tp
,
c
,
tp
)
>
0
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
resfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
resfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x6552
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
end
...
...
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