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
22d4dcc0
Commit
22d4dcc0
authored
May 06, 2024
by
Crescent/毛虫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 亜空間物質回送装置
parent
d3ea9136
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
script/c101205066.lua
script/c101205066.lua
+20
-16
No files found.
script/c101205066.lua
View file @
22d4dcc0
...
...
@@ -38,6 +38,7 @@ function s.initial_effect(c)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e5
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e5
:
SetCondition
(
s
.
rmcon3
)
e5
:
SetOperation
(
s
.
rmop3
)
c
:
RegisterEffect
(
e5
)
end
...
...
@@ -78,13 +79,17 @@ function s.rmop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReturnToField
(
tc
)
end
end
function
s
.
rm
op
3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rm
con
3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
GetFlagEffect
(
FLAG_ID_CHAINING
)
==
0
then
return
end
if
ep
==
tp
then
return
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
if
c
:
GetFlagEffect
(
FLAG_ID_CHAINING
)
==
0
then
return
false
end
if
ep
==
tp
then
return
false
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
if
g
and
g
:
IsContains
(
c
)
then
if
not
g
or
not
g
:
IsContains
(
c
)
then
return
false
end
return
true
end
function
s
.
rmop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsAbleToRemove
()
and
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
c
:
GetOriginalCode
()
==
id
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -96,7 +101,6 @@ function s.rmop3(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
s
.
retop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
function
s
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetLabelObject
()
...
...
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