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
b1d43928
Commit
b1d43928
authored
Aug 03, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c11621401.lua
parent
c0f2ff9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
expansions/script/c11621401.lua
expansions/script/c11621401.lua
+7
-9
No files found.
expansions/script/c11621401.lua
View file @
b1d43928
...
@@ -66,29 +66,27 @@ function cm.refilter2(c,tp)
...
@@ -66,29 +66,27 @@ function cm.refilter2(c,tp)
if
re
then
if
re
then
val
=
re
:
GetValue
()
val
=
re
:
GetValue
()
end
end
return
c
:
IsType
(
TYPE_TRAP
)
and
(
val
==
nil
or
val
(
re
,
c
)
~=
true
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
)
)
return
c
:
IsType
(
TYPE_TRAP
)
and
(
val
==
nil
or
val
(
re
,
c
)
~=
true
)
and
c
:
IsFaceup
(
)
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
refilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
refilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
true
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
if
chk
==
0
then
return
(
Duel
.
IsExistingMatchingCard
(
cm
.
refilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
refilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
true
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
aux
.
NecroValleyFilter
()(
c
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
refilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
refilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
tp
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
refilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
then
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
refilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
tp
)
local
dg
=
Duel
.
GetMatchingGroup
(
cm
.
refilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
tp
)
g
:
Merge
(
dg
)
g
:
Merge
(
dg
)
end
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
Release
(
sg
,
REASON_EFFECT
)
<
1
then
if
Duel
.
Release
(
sg
,
REASON_EFFECT
)
<
1
then
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
SpecialSummon
(
c
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
then
c
:
CompleteProcedure
()
c
:
CompleteProcedure
()
end
end
end
end
end
--02
--02
function
cm
.
setfilter
(
c
)
function
cm
.
setfilter
(
c
)
...
...
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