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
01072399
Commit
01072399
authored
Sep 05, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8ed0d9ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
script/c18634367.lua
script/c18634367.lua
+1
-1
script/c19163116.lua
script/c19163116.lua
+2
-1
script/c38495396.lua
script/c38495396.lua
+0
-1
script/c69293721.lua
script/c69293721.lua
+1
-1
script/c95515060.lua
script/c95515060.lua
+2
-1
No files found.
script/c18634367.lua
View file @
01072399
...
...
@@ -8,7 +8,7 @@ function c18634367.initial_effect(c)
--cannot attack
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e2
:
SetCode
(
EFFECT_CANNOT_ATTACK
_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
c
:
RegisterEffect
(
e2
)
...
...
script/c19163116.lua
View file @
01072399
...
...
@@ -20,7 +20,8 @@ function c19163116.filter(c,e,tp)
end
function
c19163116
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c19163116
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c19163116
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c19163116
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c19163116
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
script/c38495396.lua
View file @
01072399
...
...
@@ -49,7 +49,6 @@ function c38495396.xyzop(e,tp,eg,ep,ev,re,r,rp,c)
local
mg2
=
mg
:
GetFirst
():
GetOverlayGroup
()
Duel
.
Overlay
(
c
,
mg2
)
Duel
.
Overlay
(
c
,
mg
)
mg
:
Merge
(
mg2
)
c
:
SetMaterial
(
mg
)
c
:
RegisterFlagEffect
(
38495396
,
RESET_EVENT
+
0xfe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
...
...
script/c69293721.lua
View file @
01072399
...
...
@@ -25,7 +25,7 @@ function c69293721.filter(c,e,tp)
end
function
c69293721
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c69293721
.
filter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c69293721
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c69293721
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c95515060.lua
View file @
01072399
...
...
@@ -61,7 +61,8 @@ end
function
c95515060
.
distg
(
e
,
c
)
local
ec
=
e
:
GetHandler
()
if
c
==
ec
or
c
:
GetCardTargetCount
()
==
0
then
return
false
end
return
ec
:
GetEquipTarget
()
and
c
:
GetCardTarget
():
IsContains
(
ec
:
GetEquipTarget
())
local
eq
=
ec
:
GetEquipTarget
()
return
eq
and
c
:
GetCardTarget
():
IsContains
(
eq
)
and
c
:
IsType
(
TYPE_SPELL
)
end
function
c95515060
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsActiveType
(
TYPE_SPELL
)
then
return
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