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
26fc5200
Commit
26fc5200
authored
Jan 29, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 25504
parent
b8f2217b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c25504.lua
script/c25504.lua
+3
-3
No files found.
script/c25504.lua
View file @
26fc5200
...
...
@@ -46,7 +46,7 @@ function c25504.initial_effect(c)
e5
:
SetValue
(
c25504
.
actlimit
)
c
:
RegisterEffect
(
e5
)
end
function
c25504
.
lkfilter
(
c
,
lc
)
function
c25504
.
lkfilter
(
c
,
lc
,
tp
)
return
c
:
IsSetCard
(
0x114
)
and
c
:
GetLevel
()
==
6
and
c
:
IsAbleToRemoveAsCost
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
lc
)
>
0
end
function
c25504
.
mdfilter
(
c
)
...
...
@@ -56,11 +56,11 @@ function c25504.lkcon(e,c)
if
c
==
nil
then
return
true
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsFaceup
()
then
return
false
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c25504
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25504
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
,
tp
)
return
mg
:
GetCount
()
>
0
and
Duel
.
IsExistingMatchingCard
(
c25504
.
mdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c25504
.
lkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25504
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c25504
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
mg
:
Select
(
tp
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c25504
.
mdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
...
...
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