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
MyCard
pre-release-database-cdb
Commits
8399e05d
Commit
8399e05d
authored
Jun 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OToNaRiサンダー
parent
5b71268c
Pipeline
#27760
passed with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
script/c100200256.lua
script/c100200256.lua
+7
-5
No files found.
script/c100200256.lua
View file @
8399e05d
...
...
@@ -50,22 +50,24 @@ end
function
s
.
xfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
end
function
s
.
xyzfilter
(
c
)
return
c
:
Is
FaceupEx
()
and
c
:
IsLevel
(
4
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsCanOverlay
(
)
function
s
.
xyzfilter
(
c
,
tp
,
e
)
return
c
:
Is
Controler
(
tp
)
and
c
:
IsFaceupEx
()
and
c
:
IsLevel
(
4
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_THUNDER
)
and
c
:
IsCanOverlay
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
s
.
xtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
xfilter
(
chkc
)
and
chkc
~=
c
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
and
s
.
xyzfilter
(
c
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
s
.
xyzfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
c
)
end
and
s
.
xyzfilter
(
c
,
tp
,
e
)
and
Duel
.
IsExistingMatchingCard
(
s
.
xyzfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
c
,
tp
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
s
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
)
end
function
s
.
xop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
not
c
:
IsLocation
(
LOCATION_ONFIELD
)
or
not
s
.
xyzfilter
(
c
,
tp
,
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
xyzfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
c
)
if
g
:
GetCount
()
>
0
and
s
.
xyzfilter
(
c
)
and
c
:
IsControler
(
tp
)
and
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
xyzfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
c
,
tp
,
e
)
if
g
:
GetCount
()
>
0
then
local
mg
=
Group
.
__add
(
c
,
g
:
Select
(
tp
,
1
,
1
,
c
))
if
mg
:
GetCount
()
==
2
then
Duel
.
Overlay
(
tc
,
mg
)
end
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