Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
3f04441f
Commit
3f04441f
authored
Apr 19, 2021
by
Chrono-Genex
Committed by
GitHub
Apr 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Skull Conductor (#1627)
parent
6ba46dc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
24 deletions
+15
-24
c62782218.lua
c62782218.lua
+15
-24
No files found.
c62782218.lua
View file @
3f04441f
...
@@ -36,39 +36,30 @@ function c62782218.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -36,39 +36,30 @@ function c62782218.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c62782218
.
spfilter
(
c
,
e
,
tp
,
satk
)
function
c62782218
.
spfilter
(
c
,
e
,
tp
)
local
atk
=
c
:
GetAttack
()
return
c
:
IsAttackBelow
(
2000
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
atk
>=
0
and
(
not
satk
or
atk
==
satk
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
function
c62782218
.
fselect
(
g
)
return
g
:
GetSum
(
Card
.
GetAttack
)
==
2000
end
end
function
c62782218
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62782218
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
math.min
((
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)),
2
)
if
ft
<=
0
then
return
false
end
if
ft
<=
0
then
return
false
end
if
ft
==
1
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
return
Duel
.
IsExistingMatchingCard
(
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
,
2000
)
local
g
=
Duel
.
GetMatchingGroup
(
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
(),
e
,
tp
)
else
return
g
:
CheckSubGroup
(
c62782218
.
fselect
,
1
,
ft
)
local
g
=
Duel
.
GetMatchingGroup
(
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
(),
e
,
tp
)
return
g
:
CheckWithSumEqual
(
Card
.
GetAttack
,
2000
,
1
,
2
)
end
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
end
function
c62782218
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62782218
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
math.min
((
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)),
2
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
if
ft
==
1
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
g
=
Duel
.
GetMatchingGroup
(
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
if
g
:
CheckSubGroup
(
c62782218
.
fselect
,
1
,
ft
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
,
2000
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
c62782218
.
fselect
,
false
,
1
,
ft
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
else
local
g
=
Duel
.
GetMatchingGroup
(
c62782218
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
if
g
:
CheckWithSumEqual
(
Card
.
GetAttack
,
2000
,
1
,
2
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
SelectWithSumEqual
(
tp
,
Card
.
GetAttack
,
2000
,
1
,
2
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
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