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
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
Reinen
ygopro-scripts
Commits
dd6783d6
Commit
dd6783d6
authored
Jul 28, 2017
by
mercury233
Committed by
GitHub
Jul 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#905)
parent
615f12ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
c4709881.lua
c4709881.lua
+3
-7
No files found.
c4709881.lua
View file @
dd6783d6
...
...
@@ -43,6 +43,7 @@ function c4709881.atkval(e,c)
end
function
c4709881
.
cfilter
(
c
,
g
)
return
c
:
IsSetCard
(
0xfd
)
and
g
:
IsContains
(
c
)
and
(
g
:
GetCount
()
<
2
or
Duel
.
CheckLocation
(
c
:
GetControler
(),
LOCATION_MZONE
,
c
:
GetSequence
(),
true
))
end
function
c4709881
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
...
...
@@ -52,10 +53,7 @@ function c4709881.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabelObject
(
g
:
GetFirst
())
end
function
c4709881
.
spfilter1
(
c
,
e
,
tp
,
zone
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
,
zone
)
end
function
c4709881
.
spfilter0
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
tp
,
zone
,
true
)
end
function
c4709881
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
zone
=
e
:
GetHandler
():
GetLinkedZone
()
...
...
@@ -63,9 +61,7 @@ function c4709881.sptg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
chkc
~=
cc
and
c4709881
.
spfilter1
(
chkc
,
e
,
tp
,
zone
)
end
if
chk
==
0
then
return
zone
~=
0
and
(
Duel
.
IsExistingTarget
(
c4709881
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
cc
,
e
,
tp
,
zone
)
or
(
e
:
GetHandler
():
GetLinkedGroupCount
()
>=
2
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingTarget
(
c4709881
.
spfilter0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
cc
,
e
,
tp
)))
end
and
Duel
.
IsExistingTarget
(
c4709881
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
cc
,
e
,
tp
,
zone
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c4709881
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
cc
,
e
,
tp
,
zone
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
...
...
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