Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Vury Leo
pre-release-database-cdb
Commits
1b71c7d8
Commit
1b71c7d8
authored
Jan 30, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update アブダクション
parent
561f3830
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
script/c101208080.lua
script/c101208080.lua
+9
-4
No files found.
script/c101208080.lua
View file @
1b71c7d8
...
...
@@ -17,12 +17,17 @@ function s.cfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
s
.
rmfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
end
function
s
.
rmfilter
(
c
,
ec
)
return
c
:
IsAbleToRemove
()
and
c
:
IsType
(
TYPE_MONSTER
)
local
eq
=
false
if
c
:
IsAllTypes
(
TYPE_LINK
+
TYPE_MONSTER
)
then
eq
=
ec
:
IsAllTypes
(
TYPE_LINK
+
TYPE_MONSTER
)
and
c
:
GetLink
()
==
ec
:
GetLink
()
elseif
c
:
IsAllTypes
(
TYPE_XYZ
+
TYPE_MONSTER
)
then
eq
=
ec
:
IsAllTypes
(
TYPE_XYZ
+
TYPE_MONSTER
)
and
c
:
GetOriginalRank
()
==
ec
:
GetOriginalRank
()
else
eq
=
c
:
GetOriginalLevel
()
==
ec
:
GetOriginalLevel
()
end
return
eq
and
c
:
IsAbleToRemove
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetOriginalRace
()
&
ec
:
GetOriginalRace
()
~=
0
and
c
:
GetOriginalAttribute
()
&
ec
:
GetOriginalAttribute
()
~=
0
and
(
c
:
GetLink
()
==
ec
:
GetLink
()
and
c
:
IsAllTypes
(
TYPE_LINK
+
TYPE_MONSTER
)
and
ec
:
IsAllTypes
(
TYPE_LINK
+
TYPE_MONSTER
)
or
c
:
GetOriginalRank
()
==
ec
:
GetOriginalRank
()
and
c
:
IsAllTypes
(
TYPE_XYZ
+
TYPE_MONSTER
)
and
ec
:
IsAllTypes
(
TYPE_XYZ
+
TYPE_MONSTER
)
or
c
:
GetOriginalLevel
()
==
ec
:
GetOriginalLevel
()
and
not
c
:
IsType
(
TYPE_LINK
+
TYPE_XYZ
)
and
not
ec
:
IsType
(
TYPE_LINK
+
TYPE_XYZ
))
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
s
.
cfilter
(
chkc
,
tp
)
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