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
7013f19c
Commit
7013f19c
authored
Jun 14, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3d12c312
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
5 deletions
+10
-5
script/c23440062.lua
script/c23440062.lua
+5
-0
script/c29455728.lua
script/c29455728.lua
+1
-1
script/c32441317.lua
script/c32441317.lua
+1
-1
script/c62560742.lua
script/c62560742.lua
+1
-1
script/c93912845.lua
script/c93912845.lua
+1
-1
script/c95286165.lua
script/c95286165.lua
+1
-1
No files found.
script/c23440062.lua
View file @
7013f19c
...
@@ -7,6 +7,7 @@ function c23440062.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c23440062.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCost
(
c23440062
.
cost
)
e1
:
SetTarget
(
c23440062
.
target
)
e1
:
SetTarget
(
c23440062
.
target
)
e1
:
SetOperation
(
c23440062
.
operation
)
e1
:
SetOperation
(
c23440062
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -25,6 +26,10 @@ function c23440062.initial_effect(c)
...
@@ -25,6 +26,10 @@ function c23440062.initial_effect(c)
e3
:
SetOperation
(
c23440062
.
desop2
)
e3
:
SetOperation
(
c23440062
.
desop2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c23440062
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
800
)
end
Duel
.
PayLPCost
(
tp
,
800
)
end
function
c23440062
.
filter
(
c
,
e
,
tp
)
function
c23440062
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
...
...
script/c29455728.lua
View file @
7013f19c
...
@@ -21,7 +21,7 @@ end
...
@@ -21,7 +21,7 @@ end
function
c29455728
.
mgfilter
(
c
,
e
,
tp
,
fusc
)
function
c29455728
.
mgfilter
(
c
,
e
,
tp
,
fusc
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
or
bit
.
band
(
c
:
GetReason
(),
0x40008
)
~=
0x40008
or
c
:
GetReasonCard
()
~=
fusc
or
bit
.
band
(
c
:
GetReason
(),
0x40008
)
~=
0x40008
or
c
:
GetReasonCard
()
~=
fusc
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c29455728
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c29455728
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
e
:
GetHandler
():
GetMaterial
()
local
g
=
e
:
GetHandler
():
GetMaterial
()
...
...
script/c32441317.lua
View file @
7013f19c
...
@@ -23,7 +23,7 @@ end
...
@@ -23,7 +23,7 @@ end
function
c32441317
.
mgfilter
(
c
,
e
,
tp
,
sync
)
function
c32441317
.
mgfilter
(
c
,
e
,
tp
,
sync
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
or
bit
.
band
(
c
:
GetReason
(),
0x80008
)
~=
0x80008
or
c
:
GetReasonCard
()
~=
sync
or
bit
.
band
(
c
:
GetReason
(),
0x80008
)
~=
0x80008
or
c
:
GetReasonCard
()
~=
sync
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c32441317
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c32441317
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c62560742.lua
View file @
7013f19c
...
@@ -27,7 +27,7 @@ end
...
@@ -27,7 +27,7 @@ end
function
c62560742
.
mgfilter
(
c
,
e
,
tp
,
sync
)
function
c62560742
.
mgfilter
(
c
,
e
,
tp
,
sync
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
or
not
c
:
IsType
(
TYPE_SYNCHRO
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
or
not
c
:
IsType
(
TYPE_SYNCHRO
)
or
bit
.
band
(
c
:
GetReason
(),
0x80008
)
~=
0x80008
or
c
:
GetReasonCard
()
~=
sync
or
bit
.
band
(
c
:
GetReason
(),
0x80008
)
~=
0x80008
or
c
:
GetReasonCard
()
~=
sync
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c62560742
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62560742
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c93912845.lua
View file @
7013f19c
...
@@ -27,7 +27,7 @@ end
...
@@ -27,7 +27,7 @@ end
function
c93912845
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93912845
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
_ATTACK
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
...
...
script/c95286165.lua
View file @
7013f19c
...
@@ -23,7 +23,7 @@ end
...
@@ -23,7 +23,7 @@ end
function
c95286165
.
mgfilter
(
c
,
e
,
tp
,
fusc
)
function
c95286165
.
mgfilter
(
c
,
e
,
tp
,
fusc
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
return
not
c
:
IsControler
(
tp
)
or
not
c
:
IsLocation
(
LOCATION_GRAVE
)
or
bit
.
band
(
c
:
GetReason
(),
0x40008
)
~=
0x40008
or
c
:
GetReasonCard
()
~=
fusc
or
bit
.
band
(
c
:
GetReason
(),
0x40008
)
~=
0x40008
or
c
:
GetReasonCard
()
~=
fusc
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c95286165
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c95286165
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
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