Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Huangnan
no81cards
Commits
768413f1
Commit
768413f1
authored
Jul 19, 2020
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
65a697f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c30000230.lua
expansions/script/c30000230.lua
+2
-2
expansions/script/c30000231.lua
expansions/script/c30000231.lua
+2
-2
No files found.
expansions/script/c30000230.lua
View file @
768413f1
...
@@ -50,9 +50,9 @@ end
...
@@ -50,9 +50,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
...
@@ -120,5 +120,5 @@ function cm.tgop(e,tp)
...
@@ -120,5 +120,5 @@ 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_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,{})
rsop
.
SelectToHand
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,{
tp
})
end
end
\ No newline at end of file
expansions/script/c30000231.lua
View file @
768413f1
...
@@ -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
...
@@ -90,7 +90,7 @@ function cm.tgop(e,tp)
...
@@ -90,7 +90,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_GRAVE
,
LOCATION_GRAVE
,
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
)
...
...
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