Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Nanahira-Cards
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
nanahira
Nanahira-Cards
Commits
9f4d679a
Commit
9f4d679a
authored
Apr 07, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Nanahira pendulum procedure
parent
f707368a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
expansions/script/c37564765.lua
expansions/script/c37564765.lua
+10
-6
No files found.
expansions/script/c37564765.lua
View file @
9f4d679a
...
@@ -1037,12 +1037,14 @@ function cm.PendConditionNanahira()
...
@@ -1037,12 +1037,14 @@ function cm.PendConditionNanahira()
return
#
g
>
0
return
#
g
>
0
end
end
end
end
function
cm
.
PendCheckNanahira
(
g
,
mft
,
maxlist
)
function
cm
.
PendCheckAdditionalNanahira
(
mft
,
maxlist
)
if
mft
>
0
and
g
:
IsExists
(
Card
.
IsLocation
,
mft
+
1
,
nil
,
0xbf
)
then
return
false
end
return
function
(
g
)
for
loc
,
lct
in
pairs
(
maxlist
)
do
if
mft
>
0
and
g
:
IsExists
(
Card
.
IsLocation
,
mft
+
1
,
nil
,
0xbf
)
then
return
false
end
if
lct
>
0
and
g
:
IsExists
(
Card
.
IsLocation
,
lct
+
1
,
nil
,
loc
)
then
return
false
end
for
loc
,
lct
in
pairs
(
maxlist
)
do
if
lct
>
0
and
g
:
IsExists
(
Card
.
IsLocation
,
lct
+
1
,
nil
,
loc
)
then
return
false
end
end
return
true
end
end
return
true
end
end
function
cm
.
PendOperationNanahira
()
function
cm
.
PendOperationNanahira
()
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
sg
,
og
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
sg
,
og
)
...
@@ -1122,7 +1124,9 @@ function cm.PendOperationNanahira()
...
@@ -1122,7 +1124,9 @@ function cm.PendOperationNanahira()
if
ce
then
if
ce
then
tg
=
tg
:
Filter
(
aux
.
PConditionExtraFilterSpecific
,
nil
,
e
,
tp
,
lscale
,
rscale
,
ce
)
tg
=
tg
:
Filter
(
aux
.
PConditionExtraFilterSpecific
,
nil
,
e
,
tp
,
lscale
,
rscale
,
ce
)
end
end
local
g
=
cm
.
SelectGroupWithCancel
(
tp
,
HINTMSG_SPSUMMON
,
tg
,
cm
.
PendCheckNanahira
,
nil
,
1
,
ft
,
mft
,
maxlist
)
Auxiliary
.
GCheckAdditional
=
cm
.
PendCheckAdditionalNanahira
(
mft
,
maxlist
)
local
g
=
cm
.
SelectGroupWithCancel
(
tp
,
HINTMSG_SPSUMMON
,
tg
,
aux
.
TRUE
,
nil
,
1
,
ft
)
Auxiliary
.
GCheckAdditional
=
nil
if
not
g
then
return
end
if
not
g
then
return
end
if
ce
then
if
ce
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ce
:
GetOwner
():
GetOriginalCode
())
Duel
.
Hint
(
HINT_CARD
,
0
,
ce
:
GetOwner
():
GetOriginalCode
())
...
...
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