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
a9475905
Commit
a9475905
authored
Dec 02, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
dda9df6c
Pipeline
#31517
passed with stages
in 1 minute and 54 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
91 additions
and
78 deletions
+91
-78
script/c100233011.lua
script/c100233011.lua
+91
-78
No files found.
script/c100233011.lua
View file @
a9475905
...
...
@@ -55,13 +55,26 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
c
:
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
2
,
c
)
g
:
KeepAlive
()
Duel
.
SetChainLimit
(
s
.
limit
(
g
))
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
RESET_CHAIN
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabelObject
(
g
)
e1
:
SetOperation
(
s
.
retop
)
e1
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
s
.
limit
(
g
)
return
function
(
e
,
lp
,
tp
)
return
not
g
:
IsContains
(
e
:
GetHandler
())
end
end
function
s
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
g
:
DeleteGroup
()
end
function
s
.
lfilter
(
c
,
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
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