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
eac91028
Commit
eac91028
authored
Jul 29, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7b1ae4f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
expansions/script/c30000231.lua
expansions/script/c30000231.lua
+10
-3
expansions/script/c30000236.lua
expansions/script/c30000236.lua
+8
-1
No files found.
expansions/script/c30000231.lua
View file @
eac91028
...
@@ -20,9 +20,9 @@ end
...
@@ -20,9 +20,9 @@ end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
i
=
0
,
1
do
for
i
=
0
,
1
do
if
rp
==
i
and
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
,
rp
)
then
if
rp
==
i
and
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
,
rp
)
then
local
flag
=
0
for
tc
in
aux
.
Next
(
eg
)
do
for
tc
in
aux
.
Next
(
eg
)
do
if
cm
.
cfilter
(
tc
,
rp
)
then
if
cm
.
cfilter
(
tc
,
rp
)
then
local
flag
=
0
if
not
flag
then
flag
=
0
end
if
not
flag
then
flag
=
0
end
if
tc
:
IsOriginalComplexType
(
TYPE_SPELL
)
then
if
tc
:
IsOriginalComplexType
(
TYPE_SPELL
)
then
flag
=
TYPE_SPELL
flag
=
TYPE_SPELL
...
@@ -69,7 +69,14 @@ function cm.spfilter(c,e,tp)
...
@@ -69,7 +69,14 @@ function cm.spfilter(c,e,tp)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
)
function
cm
.
spop
(
e
,
tp
,
eg
)
local
c
=
rscf
.
GetSelf
(
e
)
local
c
=
rscf
.
GetSelf
(
e
)
if
not
c
or
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
<=
0
then
return
end
if
not
c
then
return
end
local
res
=
false
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
res
=
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
,
nil
,{
"leave"
,
LOCATION_REMOVED
})
<=
0
else
res
=
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
<=
0
end
if
not
res
then
return
end
c
:
CompleteProcedure
()
c
:
CompleteProcedure
()
local
flaglist
=
{
Duel
.
GetFlagEffectLabel
(
tp
,
m
)}
local
flaglist
=
{
Duel
.
GetFlagEffectLabel
(
tp
,
m
)}
local
flag
=
0
local
flag
=
0
...
@@ -90,7 +97,7 @@ function cm.tgop(e,tp)
...
@@ -90,7 +97,7 @@ function cm.tgop(e,tp)
rsop
.
SelectToGrave
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,{})
rsop
.
SelectToGrave
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,{})
end
end
function
cm
.
thop
(
e
,
tp
)
function
cm
.
thop
(
e
,
tp
)
rsop
.
SelectToHand
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,{
})
rsop
.
SelectToHand
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_
GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,{
tp
})
end
end
function
cm
.
drop
(
e
,
tp
)
function
cm
.
drop
(
e
,
tp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
...
...
expansions/script/c30000236.lua
View file @
eac91028
...
@@ -52,7 +52,14 @@ function cm.spfilter(c,e,tp)
...
@@ -52,7 +52,14 @@ function cm.spfilter(c,e,tp)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
)
function
cm
.
spop
(
e
,
tp
,
eg
)
local
c
=
rscf
.
GetSelf
(
e
)
local
c
=
rscf
.
GetSelf
(
e
)
if
not
c
or
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
<=
0
then
return
end
if
not
c
then
return
end
local
res
=
false
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
res
=
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
,
nil
,{
"leave"
,
LOCATION_REMOVED
})
<=
0
else
res
=
rssf
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
<=
0
end
if
not
res
then
return
end
c
:
CompleteProcedure
()
c
:
CompleteProcedure
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
if
#
g
>
0
then
if
#
g
>
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