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
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-scripts
Commits
8ab553b7
Commit
8ab553b7
authored
Mar 07, 2020
by
mallu11
Committed by
GitHub
Mar 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix シューティング・スター・ドラゴン・TG-EX (#1355)
parent
10747df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
c63180841.lua
c63180841.lua
+6
-4
No files found.
c63180841.lua
View file @
8ab553b7
...
...
@@ -32,6 +32,7 @@ function c63180841.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
63180842
)
e3
:
SetCondition
(
c63180841
.
spcon
)
e3
:
SetCost
(
c63180841
.
spcost
)
...
...
@@ -77,15 +78,16 @@ function c63180841.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
NegateAttack
()
end
function
c63180841
.
spfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
c63180841
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
function
c63180841
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c63180841
.
spfilter
,
2
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c63180841
.
spfilter
,
2
,
2
,
nil
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c63180841
.
spfilter
,
nil
,
tp
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
mzctcheckrel
,
2
,
2
,
tp
)
end
local
rg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheckrel
,
false
,
2
,
2
,
tp
)
Duel
.
Release
(
rg
,
REASON_COST
)
end
function
c63180841
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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