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
zengshangxing
pre-release-database-cdb
Commits
e2f46b5e
Commit
e2f46b5e
authored
Jan 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 連慄砲固定式
parent
b8370d0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
script/c101204080.lua
script/c101204080.lua
+3
-2
No files found.
script/c101204080.lua
View file @
e2f46b5e
...
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_REMOVE
+
CATEGORY_TOEXTRA
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
Set
CountLimit
(
1
,
id
)
e1
:
Set
HintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -43,13 +43,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
rcheck
,
false
,
3
,
3
,
ct
)
if
not
sg
or
not
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
==
3
then
return
false
end
if
Duel
.
IsExistingMatchingCard
(
s
.
lrfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
AdjustAll
()
Duel
.
BreakEffect
()
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
lrfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
tg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsType
,
Card
.
IsFaceupEx
),
tp
,
LOCATION_REMOVED
,
0
,
nil
,
TYPE_FUSION
+
TYPE_XYZ
)
local
lr
=
0
if
tc
:
IsType
(
TYPE_XYZ
)
then
lr
=
tc
:
GetRank
()
else
lr
=
tc
:
GetLevel
()
end
local
rg
=
tg
:
SelectSubGroup
(
tp
,
s
.
lrcheck
,
false
,
2
,
2
,
lr
)
if
rg
and
Duel
.
SendtoDeck
(
rg
,
nil
,
1
,
REASON_EFFECT
)
==
2
then
Duel
.
BreakEffect
()
local
qg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
POS_FACEUP
)
Duel
.
Remove
(
qg
,
POS_FACEUP
,
REASON_EFFECT
)
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