Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
41c2b725
Commit
41c2b725
authored
Jan 19, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e55c1204
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
8 deletions
+9
-8
script/c47766694.lua
script/c47766694.lua
+3
-2
script/c54578613.lua
script/c54578613.lua
+1
-1
script/c56399890.lua
script/c56399890.lua
+1
-1
script/c5975022.lua
script/c5975022.lua
+1
-1
script/c81510157.lua
script/c81510157.lua
+2
-2
script/c84766279.lua
script/c84766279.lua
+1
-1
No files found.
script/c47766694.lua
View file @
41c2b725
...
...
@@ -33,11 +33,12 @@ function c47766694.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c47766694
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
local
dp
=
tc
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSSetable
,
dp
,
LOCATION_HAND
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
dp
,
aux
.
Stringid
(
47766694
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
510
)
local
sg
=
g
:
Select
(
dp
,
1
,
1
,
nil
)
Duel
.
SSet
(
dp
,
sg
:
GetFirst
())
end
...
...
@@ -60,7 +61,7 @@ function c47766694.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c47766694
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
script/c54578613.lua
View file @
41c2b725
...
...
@@ -73,7 +73,7 @@ function c54578613.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c54578613
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
script/c56399890.lua
View file @
41c2b725
...
...
@@ -26,7 +26,7 @@ function c56399890.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c56399890
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
script/c5975022.lua
View file @
41c2b725
...
...
@@ -40,7 +40,7 @@ function c5975022.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c5975022
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
...
...
script/c81510157.lua
View file @
41c2b725
...
...
@@ -14,7 +14,7 @@ function c81510157.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
end
function
c81510157
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
~=
tp
and
chkc
:
GetLocation
()
==
LOCAITON_MZONE
and
c81510157
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCAITON_MZONE
)
and
c81510157
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c81510157
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c81510157
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
@@ -23,7 +23,7 @@ function c81510157.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c81510157
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
if
tc
and
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
Recover
(
1
-
tp
,
1000
,
REASON_EFFECT
)
end
...
...
script/c84766279.lua
View file @
41c2b725
...
...
@@ -37,7 +37,7 @@ function c84766279.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c84766279
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Faceup
()
and
tc
:
Is
RelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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