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
a37beee4
Commit
a37beee4
authored
Aug 12, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into new
parents
a9c9f4cb
bc6fcf7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
expansions/script/c37564234.lua
expansions/script/c37564234.lua
+1
-1
expansions/script/c37564308.lua
expansions/script/c37564308.lua
+7
-1
expansions/script/c37564701.lua
expansions/script/c37564701.lua
+9
-2
No files found.
expansions/script/c37564234.lua
View file @
a37beee4
...
@@ -50,7 +50,7 @@ end
...
@@ -50,7 +50,7 @@ end
function
cm
.
cfilter
(
c
,
tp
)
function
cm
.
cfilter
(
c
,
tp
)
local
ty
=
c
:
GetSummonType
()
local
ty
=
c
:
GetSummonType
()
if
c
:
GetSummonPlayer
()
==
tp
or
c
:
GetMaterialCount
()
<=
0
then
return
false
end
if
c
:
GetSummonPlayer
()
==
tp
or
c
:
GetMaterialCount
()
<=
0
then
return
false
end
for
i
,
tty
in
pairs
({
SUMMON_TYPE_FUSION
+
SUMMON_TYPE_SYNCHRO
+
SUMMON_TYPE_XYZ
+
SUMMON_TYPE_LINK
})
do
for
i
,
tty
in
pairs
({
SUMMON_TYPE_FUSION
,
SUMMON_TYPE_SYNCHRO
,
SUMMON_TYPE_XYZ
,
SUMMON_TYPE_LINK
})
do
if
(
ty
&
tty
)
==
tty
then
return
true
end
if
(
ty
&
tty
)
==
tty
then
return
true
end
end
end
return
false
return
false
...
...
expansions/script/c37564308.lua
View file @
a37beee4
...
@@ -61,5 +61,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,5 +61,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
end
end
Duel
.
SpecialSummon
(
sg
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
#
sg
<=
0
then
return
end
for
tc
in
aux
.
Next
(
sg
)
do
local
bool
=
aux
.
PendulumSummonableBool
(
tc
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
bool
,
bool
,
POS_FACEUP
)
end
Duel
.
SpecialSummonComplete
()
for
tc
in
aux
.
Next
(
sg
)
do
tc
:
CompleteProcedure
()
end
end
end
\ No newline at end of file
expansions/script/c37564701.lua
View file @
a37beee4
...
@@ -150,7 +150,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -150,7 +150,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
PConditionFilter
(
c
,
e
,
tp
)
function
cm
.
PConditionFilter
(
c
,
e
,
tp
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
(
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_PENDULUM
,
tp
,
false
,
false
)
local
bool
=
aux
.
PendulumSummonableBool
(
c
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
(
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_PENDULUM
,
tp
,
bool
,
bool
)
and
not
c
:
IsForbidden
()
and
not
c
:
IsForbidden
()
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -226,7 +227,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -226,7 +227,13 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
end
end
Duel
.
SpecialSummon
(
sg
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
#
sg
<=
0
then
return
end
for
tc
in
aux
.
Next
(
sg
)
do
local
bool
=
aux
.
PendulumSummonableBool
(
tc
)
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_PENDULUM
,
tp
,
tp
,
bool
,
bool
,
POS_FACEUP
)
end
Duel
.
SpecialSummonComplete
()
for
tc
in
aux
.
Next
(
sg
)
do
tc
:
CompleteProcedure
()
end
end
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
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