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
781cc115
Commit
781cc115
authored
Oct 10, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7eac1f37
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
14 deletions
+13
-14
c30494314.lua
c30494314.lua
+4
-1
c59644958.lua
c59644958.lua
+3
-6
c69176131.lua
c69176131.lua
+3
-6
c85839825.lua
c85839825.lua
+3
-1
No files found.
c30494314.lua
View file @
781cc115
...
@@ -25,7 +25,10 @@ function c30494314.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -25,7 +25,10 @@ function c30494314.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SelectTarget
(
tp
,
c30494314
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c30494314
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
function
c30494314
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30494314
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
RemoveOverlayCard
(
tp
,
1
,
1
,
1
,
1
,
REASON_EFFECT
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c59644958.lua
View file @
781cc115
...
@@ -19,12 +19,9 @@ function c59644958.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,12 +19,9 @@ function c59644958.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
end
end
function
c59644958
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59644958
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
,
1
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
if
sg
:
GetCount
()
==
0
then
return
end
if
sg
:
GetCount
()
>
1
then
Duel
.
HintSelection
(
sg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
sg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
end
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
end
c69176131.lua
View file @
781cc115
...
@@ -12,12 +12,9 @@ function c69176131.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -12,12 +12,9 @@ function c69176131.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
1
,
1
,
REASON_EFFECT
)
end
end
end
function
c69176131
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69176131
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
,
1
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
,
1
,
REASON_EFFECT
)
if
sg
:
GetCount
()
==
0
then
return
end
if
sg
:
GetCount
()
==
0
then
return
end
if
sg
:
GetCount
()
>
1
then
Duel
.
HintSelection
(
sg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
sg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
end
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
end
end
c85839825.lua
View file @
781cc115
...
@@ -13,7 +13,9 @@ function c85839825.initial_effect(c)
...
@@ -13,7 +13,9 @@ function c85839825.initial_effect(c)
end
end
function
c85839825
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c85839825
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_COST
)
end
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
1
,
1
,
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
532
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
CheckRemoveOverlayCard
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
1
,
REASON_COST
)
sg
:
GetFirst
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c85839825
.
filter
(
c
)
function
c85839825
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
...
...
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