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
Ruby
pre-release-database-cdb
Commits
d07ab329
Commit
d07ab329
authored
Aug 04, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 登竜華転生紋
parent
2273518f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
script/c100223036.lua
script/c100223036.lua
+10
-10
No files found.
script/c100223036.lua
View file @
d07ab329
...
@@ -34,13 +34,13 @@ function s.gcheck(g,tp)
...
@@ -34,13 +34,13 @@ function s.gcheck(g,tp)
and
g
:
IsExists
(
s
.
thfiter
,
1
,
nil
,
g
)
and
g
:
IsExists
(
s
.
thfiter
,
1
,
nil
,
g
)
end
end
function
s
.
thfiter
(
c
,
g
)
function
s
.
thfiter
(
c
,
g
)
return
c
:
IsAbleToHand
()
and
g
:
IsExists
(
s
.
tg
fiter
,
1
,
c
,
g
,
c
)
return
c
:
IsAbleToHand
()
and
g
:
IsExists
(
s
.
rm
fiter
,
1
,
c
,
g
,
c
)
end
end
function
s
.
tg
fiter
(
c
,
g
,
tc
)
function
s
.
rm
fiter
(
c
,
g
,
tc
)
return
c
:
IsAbleTo
Grave
()
and
g
:
IsExists
(
s
.
rm
fiter
,
1
,
Group
.
FromCards
(
c
,
tc
))
return
c
:
IsAbleTo
Remove
()
and
g
:
IsExists
(
s
.
tg
fiter
,
1
,
Group
.
FromCards
(
c
,
tc
))
end
end
function
s
.
rm
fiter
(
c
)
function
s
.
tg
fiter
(
c
)
return
c
:
IsAbleTo
Remo
ve
()
return
c
:
IsAbleTo
Gra
ve
()
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
hgrfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
hgrfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
@@ -56,14 +56,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,14 +56,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
sg
:
GetCount
()
>
2
then
if
sg
:
GetCount
()
>
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g1
=
sg
:
FilterSelect
(
tp
,
s
.
thfiter
,
1
,
1
,
nil
,
sg
)
local
g1
=
sg
:
FilterSelect
(
tp
,
s
.
thfiter
,
1
,
1
,
nil
,
sg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
sg
:
FilterSelect
(
tp
,
s
.
tgfiter
,
1
,
1
,
g1
,
sg
,
g1
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g3
=
sg
:
FilterSelect
(
tp
,
s
.
rmfiter
,
1
,
1
,
g1
+
g2
)
local
g2
=
sg
:
FilterSelect
(
tp
,
s
.
rmfiter
,
1
,
1
,
g1
,
sg
,
g1
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g3
=
sg
:
FilterSelect
(
tp
,
s
.
tgfiter
,
1
,
1
,
g1
+
g2
)
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
SendtoGrave
(
g2
,
REASON_EFFECT
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g3
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g3
,
REASON_EFFECT
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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