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
八宫一月
ygopro-scripts
Commits
da7a8ffc
You need to sign in or sign up before continuing.
Commit
da7a8ffc
authored
Sep 11, 2017
by
nekrozar
Committed by
mercury233
Sep 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#928)
parent
d0efd534
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c74640994.lua
c74640994.lua
+5
-5
No files found.
c74640994.lua
View file @
da7a8ffc
--
Subterror Final Battle
--
サブテラーの決戦
function
c74640994
.
initial_effect
(
c
)
function
c74640994
.
initial_effect
(
c
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -24,10 +24,10 @@ function c74640994.fdfilter(c)
...
@@ -24,10 +24,10 @@ function c74640994.fdfilter(c)
return
c74640994
.
filter
(
c
)
and
c
:
IsCanTurnSet
()
return
c74640994
.
filter
(
c
)
and
c
:
IsCanTurnSet
()
end
end
function
c74640994
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c74640994
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c74640994
.
fufilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b1
=
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
and
Duel
.
IsExistingMatchingCard
(
c74640994
.
fufilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c74640994
.
fdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b2
=
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
and
Duel
.
IsExistingMatchingCard
(
c74640994
.
fdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c74640994
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c74640994
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
local
b4
=
Duel
.
GetFlagEffect
(
tp
,
74640994
)
==
0
local
b4
=
Duel
.
Get
CurrentPhase
()
~=
PHASE_DAMAGE
and
Duel
.
Get
FlagEffect
(
tp
,
74640994
)
==
0
if
chk
==
0
then
return
b1
or
b2
or
b3
or
b4
end
if
chk
==
0
then
return
b1
or
b2
or
b3
or
b4
end
local
off
=
1
local
off
=
1
local
ops
=
{}
local
ops
=
{}
...
@@ -67,7 +67,7 @@ function c74640994.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function c74640994.activate(e,tp,eg,ep,ev,re,r,rp)
local
sel
=
e
:
GetLabel
()
local
sel
=
e
:
GetLabel
()
if
sel
==
1
then
if
sel
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74640994
.
fufilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74640994
.
fufilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
...
...
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