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
Crescent/毛虫
pre-release-database-cdb
Commits
11d1ab1c
Commit
11d1ab1c
authored
May 06, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-1' into 'master'
Fix 亜空間物質回送装置 See merge request
mycard/pre-release-database-cdb!24
parents
d3ea9136
22d4dcc0
Changes
1
Hide 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 @
11d1ab1c
...
@@ -38,6 +38,7 @@ function s.initial_effect(c)
...
@@ -38,6 +38,7 @@ function s.initial_effect(c)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e5
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e5
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e5
:
SetCondition
(
s
.
rmcon3
)
e5
:
SetOperation
(
s
.
rmop3
)
e5
:
SetOperation
(
s
.
rmop3
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
...
@@ -78,24 +79,27 @@ function s.rmop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,24 +79,27 @@ function s.rmop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReturnToField
(
tc
)
Duel
.
ReturnToField
(
tc
)
end
end
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
()
local
c
=
e
:
GetHandler
()
if
c
:
GetFlagEffect
(
FLAG_ID_CHAINING
)
==
0
then
return
end
if
c
:
GetFlagEffect
(
FLAG_ID_CHAINING
)
==
0
then
return
false
end
if
ep
==
tp
then
return
end
if
ep
==
tp
then
return
false
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
)
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
if
c
:
IsAbleToRemove
()
and
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
c
:
GetOriginalCode
()
==
id
then
return
true
local
e1
=
Effect
.
CreateEffect
(
c
)
end
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
function
s
.
rmop3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
local
c
=
e
:
GetHandler
()
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
if
c
:
IsAbleToRemove
()
and
Duel
.
Remove
(
c
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
c
:
GetOriginalCode
()
==
id
then
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetLabelObject
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetOperation
(
s
.
retop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
end
e1
:
SetLabelObject
(
c
)
e1
:
SetCountLimit
(
1
)
e1
:
SetOperation
(
s
.
retop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
function
s
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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