Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
a16f2f14
Commit
a16f2f14
authored
Dec 21, 2023
by
Tang Xinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 冥神
parent
f4adc94e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
c98127546.lua
c98127546.lua
+10
-6
No files found.
c98127546.lua
View file @
a16f2f14
...
...
@@ -46,15 +46,19 @@ function c98127546.initial_effect(c)
e4
:
SetOperation
(
c98127546
.
negop
)
c
:
RegisterEffect
(
e4
)
end
function
c98127546
.
matfilter1
(
c
,
tp
)
return
c
:
GetFlagEffect
(
100200249
)
>
0
and
c
:
IsControler
(
tp
)
end
function
c98127546
.
matfilter2
(
c
,
tp
)
return
c
:
GetFlagEffect
(
100200249
)
==
0
and
c
:
IsControler
(
tp
)
function
c98127546
.
exmatcheck
(
c
,
lc
,
tp
)
if
not
c
:
IsControler
(
1
-
tp
)
then
return
false
end
local
le
=
{
c
:
IsHasEffect
(
EFFECT_EXTRA_LINK_MATERIAL
,
tp
)}
for
_
,
te
in
pairs
(
le
)
do
local
f
=
te
:
GetValue
()
local
related
,
valid
=
f
(
te
,
lc
,
nil
,
c
,
tp
)
if
related
and
not
te
:
GetHandler
():
IsCode
(
98127546
)
then
return
false
end
end
return
true
end
function
c98127546
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
if
e
:
GetHandler
()
~=
lc
then
return
false
,
nil
end
return
true
,
not
mg
or
(
mg
:
IsExists
(
c98127546
.
matfilter1
,
1
,
nil
,
1
-
tp
)
and
not
mg
:
IsExists
(
c98127546
.
matfilter2
,
1
,
nil
,
1
-
tp
))
or
(
not
mg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
-
tp
)
)
return
true
,
not
mg
or
not
mg
:
IsExists
(
c98127546
.
exmatcheck
,
1
,
nil
,
lc
,
tp
)
end
function
c98127546
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
...
...
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