Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
Commits
84366f2a
Commit
84366f2a
authored
Nov 23, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ForEach
parent
d611a471
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
c98905.lua
c98905.lua
+5
-8
No files found.
c98905.lua
View file @
84366f2a
...
...
@@ -18,17 +18,14 @@ function c98905.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c98905
.
c
filter
(
c
)
function
c98905
.
c
allback
(
c
)
local
tp
=
c
:
GetPreviousControler
()
return
c
:
IsSetCard
(
0xe5
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsControler
(
tp
)
and
c
:
GetOverlayCount
()
>
0
if
c
:
IsSetCard
(
0xe5
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsControler
(
tp
)
and
c
:
GetOverlayCount
()
>
0
then
c
:
RegisterFlagEffect
(
98905
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
end
end
function
c98905
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
eg
:
Filter
(
c98905
.
cfilter
,
nil
)
local
tc
=
sg
:
GetFirst
()
while
tc
do
tc
:
RegisterFlagEffect
(
98905
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
tc
=
sg
:
GetNext
()
end
eg
:
ForEach
(
c98905
.
callback
)
end
function
c98905
.
filter
(
c
,
e
,
tp
)
return
c
:
GetFlagEffect
(
98905
)
~=
0
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
...
...
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