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
c9ea7a26
Commit
c9ea7a26
authored
Apr 26, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 亜空間物質回送装置
parent
a9089451
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
script/c101205066.lua
script/c101205066.lua
+5
-5
No files found.
script/c101205066.lua
View file @
c9ea7a26
--
亚空间物质
回送装置
--
亜空間物質
回送装置
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -19,7 +19,7 @@ function s.initial_effect(c)
...
@@ -19,7 +19,7 @@ function s.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
rmcon2
)
e3
:
SetCondition
(
s
.
rmcon2
)
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e5
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e5
:
SetCountLimit
(
1
,
id
+
o
)
e5
:
SetCountLimit
(
1
,
id
+
o
*
2
)
e5
:
SetOperation
(
s
.
rmop3
)
e5
:
SetOperation
(
s
.
rmop3
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
...
@@ -53,7 +53,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -53,7 +53,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
not
tc
:
IsReason
(
REASON_REDIRECT
)
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
not
tc
:
IsReason
(
REASON_REDIRECT
)
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
ReturnToField
(
tc
)
Duel
.
ReturnToField
(
tc
)
end
end
...
@@ -73,7 +73,7 @@ function s.rmtg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -73,7 +73,7 @@ function s.rmtg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
rmop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rmop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
not
tc
:
IsReason
(
REASON_REDIRECT
)
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
Remove
(
tc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
not
tc
:
IsReason
(
REASON_REDIRECT
)
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
ReturnToField
(
tc
)
Duel
.
ReturnToField
(
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