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
d611a471
Commit
d611a471
authored
Nov 23, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
777bdeaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
c84869738.lua
c84869738.lua
+1
-6
c98905.lua
c98905.lua
+7
-6
No files found.
c84869738.lua
View file @
d611a471
...
@@ -80,12 +80,7 @@ function c84869738.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,12 +80,7 @@ function c84869738.activate(e,tp,eg,ep,ev,re,r,rp)
ft
=
ft
-
1
ft
=
ft
-
1
ct
=
ct
-
1
ct
=
ct
-
1
until
ct
==
0
or
sg
:
GetCount
()
==
0
or
ft
==
0
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
84869738
,
0
))
until
ct
==
0
or
sg
:
GetCount
()
==
0
or
ft
==
0
or
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
84869738
,
0
))
local
tc
=
rg
:
GetFirst
()
Duel
.
SpecialSummon
(
rg
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc
=
rg
:
GetNext
()
end
Duel
.
SpecialSummonComplete
()
end
end
function
c84869738
.
xyzfilter
(
c
)
function
c84869738
.
xyzfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20f8
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x20f8
)
and
c
:
IsType
(
TYPE_XYZ
)
...
...
c98905.lua
View file @
d611a471
...
@@ -18,15 +18,15 @@ function c98905.initial_effect(c)
...
@@ -18,15 +18,15 @@ function c98905.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
end
function
c98905
.
cfilter
(
c
,
tp
)
function
c98905
.
cfilter
(
c
)
local
tp
=
c
:
GetPreviousControler
()
return
c
:
IsSetCard
(
0xe5
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsControler
(
tp
)
and
c
:
GetOverlayCount
()
>
0
return
c
:
IsSetCard
(
0xe5
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsControler
(
tp
)
and
c
:
GetOverlayCount
()
>
0
end
end
function
c98905
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98905
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
eg
then
return
end
local
sg
=
eg
:
Filter
(
c98905
.
cfilter
,
nil
)
local
sg
=
eg
:
Filter
(
c98905
.
cfilter
,
nil
,
tp
)
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
while
tc
do
while
tc
do
tc
:
RegisterFlagEffect
(
98905
,
RESET_EVENT
+
0x1fe0000
-
RESET_TOGRAVE
,
0
,
1
)
tc
:
RegisterFlagEffect
(
98905
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
tc
=
sg
:
GetNext
()
tc
=
sg
:
GetNext
()
end
end
end
end
...
@@ -42,7 +42,8 @@ end
...
@@ -42,7 +42,8 @@ end
function
c98905
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c98905
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c98905
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
c98905
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
and
eg
:
IsExists
(
c98905
.
filter
,
1
,
nil
,
e
,
tp
)
end
and
eg
:
IsExists
(
c98905
.
filter
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
eg
:
FilterSelect
(
tp
,
c98905
.
filter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
eg
:
FilterSelect
(
tp
,
c98905
.
filter
,
1
,
1
,
nil
,
e
,
tp
)
...
@@ -51,7 +52,7 @@ function c98905.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -51,7 +52,7 @@ function c98905.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c98905
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98905
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
2
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
=
0
or
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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