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
5a6879cd
Commit
5a6879cd
authored
Oct 30, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 原質の臨界超過
parent
6d74465b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
script/c101207074.lua
script/c101207074.lua
+0
-11
No files found.
script/c101207074.lua
View file @
5a6879cd
...
...
@@ -51,27 +51,19 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
rg
and
rg
:
FilterCount
(
s
.
ovfilter
,
nil
,
tp
)
>
0
then
Duel
.
BreakEffect
()
local
tc
=
rg
:
FilterSelect
(
tp
,
s
.
ovfilter
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ShuffleHand
(
tp
)
if
Duel
.
NegateActivation
(
ev
)
then
Duel
.
BreakEffect
()
local
res
=
0
if
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
then
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
res
=
1
end
if
tc
:
IsType
(
TYPE_SPELL
)
and
Duel
.
IsExistingMatchingCard
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
if
res
==
1
then
Duel
.
BreakEffect
()
else
res
=
1
end
for
ac
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -87,9 +79,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
and
(
tc
:
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
and
tc
:
IsSSetable
(
true
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
if
res
==
1
then
Duel
.
BreakEffect
()
end
Duel
.
SSet
(
tp
,
tc
)
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