Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
ygopro-scripts-888
Commits
7c315f38
Commit
7c315f38
authored
Mar 06, 2021
by
mercury233
Committed by
GitHub
Mar 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 異次元隔離マシーン
parent
ec0f161a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
c56460688.lua
c56460688.lua
+14
-12
No files found.
c56460688.lua
View file @
7c315f38
...
@@ -11,8 +11,9 @@ function c56460688.initial_effect(c)
...
@@ -11,8 +11,9 @@ function c56460688.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--return
--return
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_
CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_
TRIGGER_F
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCondition
(
c56460688
.
retcon
)
e2
:
SetOperation
(
c56460688
.
retop
)
e2
:
SetOperation
(
c56460688
.
retop
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -48,18 +49,19 @@ function c56460688.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,18 +49,19 @@ function c56460688.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
g
)
e
:
SetLabelObject
(
g
)
end
end
end
end
function
c56460688
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
56460688
)
~=
0
and
bit
.
band
(
r
,
REASON_DESTROY
)
~=
0
and
e
:
GetLabelObject
():
GetLabelObject
()
~=
nil
end
function
c56460688
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56460688
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetFlagEffect
(
56460688
)
==
0
then
return
end
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
if
bit
.
band
(
r
,
REASON_DESTROY
)
~=
0
then
local
tc
=
g
:
GetFirst
()
local
g
=
e
:
GetLabelObject
():
GetLabelObject
()
while
tc
do
local
tc
=
g
:
GetFirst
()
if
tc
:
GetFlagEffect
(
56460688
)
>
0
then
while
tc
do
Duel
.
ReturnToField
(
tc
)
if
tc
:
GetFlagEffect
(
56460688
)
>
0
then
Duel
.
ReturnToField
(
tc
)
end
tc
=
g
:
GetNext
()
end
end
g
:
DeleteGroup
()
tc
=
g
:
GetNext
()
e
:
GetLabelObject
():
SetLabelObject
(
nil
)
end
end
g
:
DeleteGroup
()
e
:
GetLabelObject
():
SetLabelObject
(
nil
)
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