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
8053e1f4
Commit
8053e1f4
authored
Dec 04, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
90e39158
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c37007105.lua
c37007105.lua
+4
-1
No files found.
c37007105.lua
View file @
8053e1f4
...
@@ -25,6 +25,9 @@ function c37007105.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -25,6 +25,9 @@ function c37007105.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
c37007105
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetSequence
()
<
5
end
function
c37007105
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c37007105
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
...
@@ -33,7 +36,7 @@ function c37007105.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +36,7 @@ function c37007105.activate(e,tp,eg,ep,ev,re,r,rp)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
if
rc
and
Duel
.
Remove
(
rc
,
0
,
REASON_EFFECT
)
~=
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
if
rc
and
Duel
.
Remove
(
rc
,
0
,
REASON_EFFECT
)
~=
0
and
rc
:
IsLocation
(
LOCATION_REMOVED
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
bit
.
band
(
rc
:
GetOriginalRace
(),
RACE_CYBERSE
)
>
0
then
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
bit
.
band
(
rc
:
GetOriginalRace
(),
RACE_CYBERSE
)
>
0
then
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_SZONE
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c37007105
.
desfilter
,
tp
,
0
,
LOCATION_SZONE
,
nil
)
if
sg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
37007105
,
0
))
then
if
sg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
37007105
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
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