Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
5a496a4c
Commit
5a496a4c
authored
Mar 29, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
e1cc8abb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
script/c25331.lua
script/c25331.lua
+6
-6
No files found.
script/c25331.lua
View file @
5a496a4c
...
...
@@ -45,20 +45,20 @@ function c25331.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c25331
.
ntfilter1
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x226
)
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x226
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c25331
.
ntfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x259
)
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x259
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c25331
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
c
:
IsLevelAbove
(
5
)
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c25331
.
ntfilter1
,
c
:
GetControler
(),
LOCATION_
HAND
|
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c25331
.
ntfilter2
,
c
:
GetControler
(),
LOCATION_
HAND
|
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c25331
.
ntfilter1
,
c
:
GetControler
(),
LOCATION_
DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c25331
.
ntfilter2
,
c
:
GetControler
(),
LOCATION_
DECK
,
0
,
1
,
nil
)
end
function
c25331
.
ntop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c25331
.
ntfilter1
,
c
:
GetControler
(),
LOCATION_
HAND
|
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c25331
.
ntfilter2
,
c
:
GetControler
(),
LOCATION_
HAND
|
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c25331
.
ntfilter1
,
c
:
GetControler
(),
LOCATION_
DECK
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c25331
.
ntfilter2
,
c
:
GetControler
(),
LOCATION_
DECK
,
0
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
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