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
Mr.Tan
pre-release-database-cdb
Commits
973fdcf3
Commit
973fdcf3
authored
Apr 19, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
d8f5ec77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
script/c101205077.lua
script/c101205077.lua
+3
-2
No files found.
script/c101205077.lua
View file @
973fdcf3
...
@@ -50,9 +50,10 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -50,9 +50,10 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
Duel
.
Sendto
Deck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
Sendto
Hand
(
g
,
nil
,
REASON_EFFECT
)
local
tg
=
Duel
.
GetOperatedGroup
()
local
tg
=
Duel
.
GetOperatedGroup
()
local
sg
=
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
if
tg
:
GetCount
()
==
0
then
return
end
local
sg
=
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
+
LOCATION_EXTRA
)
local
atk
=
sg
:
GetSum
(
Card
.
GetAttack
)
local
atk
=
sg
:
GetSum
(
Card
.
GetAttack
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
atk
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
atk
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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