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
9b261142
You need to sign in or sign up before continuing.
Commit
9b261142
authored
May 01, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c3fe5ff0
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/script/c37564308.lua
expansions/script/c37564308.lua
+1
-1
expansions/script/c37564325.lua
expansions/script/c37564325.lua
+1
-1
expansions/script/c37564427.lua
expansions/script/c37564427.lua
+1
-1
expansions/script/c37564430.lua
expansions/script/c37564430.lua
+1
-1
No files found.
expansions/script/c37564308.lua
View file @
9b261142
...
@@ -33,7 +33,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
3
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
3
,
tp
,
LOCATION_HAND
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
math.min
(
Duel
.
GetMZoneCount
(
tp
),
3
)
local
ft
=
math.min
(
(
Duel
.
GetMZoneCount
(
tp
)
),
3
)
if
ft
<=
0
then
return
end
if
ft
<=
0
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
ft
=
1
end
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
...
...
expansions/script/c37564325.lua
View file @
9b261142
...
@@ -51,7 +51,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
rmfilter
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
rmfilter
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
local
ct
=
math.min
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
),
#
g
)
local
ct
=
math.min
(
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
),
#
g
)
if
ct
==
0
then
return
end
if
ct
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
fg
=
Group
.
CreateGroup
()
local
fg
=
Group
.
CreateGroup
()
...
...
expansions/script/c37564427.lua
View file @
9b261142
...
@@ -55,7 +55,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
local
rct
=
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
local
rct
=
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
local
tsg
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
tsg
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
minct
=
math.min
(
#
tsg
,
rct
)
local
minct
=
math.min
(
#
tsg
,
rct
)
minct
=
math.min
(
minct
,
Duel
.
GetMZoneCount
(
tp
,
nil
,
tp
,
LOCATION_REASON_TOFIELD
,
z
))
minct
=
math.min
(
minct
,
(
Duel
.
GetMZoneCount
(
tp
,
nil
,
tp
,
LOCATION_REASON_TOFIELD
,
z
)
))
if
minct
<=
0
then
return
end
if
minct
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g2
=
tsg
:
Select
(
tp
,
1
,
minct
,
nil
)
local
g2
=
tsg
:
Select
(
tp
,
1
,
minct
,
nil
)
...
...
expansions/script/c37564430.lua
View file @
9b261142
...
@@ -79,7 +79,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -79,7 +79,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
sfilter
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
ft
=
math.min
(
Duel
.
GetUsableMZoneCount
(
tp
),
ct
)
local
ft
=
math.min
(
Duel
.
GetUsableMZoneCount
(
tp
),
ct
)
local
mft
=
Duel
.
GetMZoneCount
(
tp
)
local
mft
=
Duel
.
GetMZoneCount
(
tp
)
local
eft
=
c29724053
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29724053
)
and
math.min
(
c29724053
[
tp
],
Duel
.
GetLocationCountFromEx
(
tp
))
or
Duel
.
GetLocationCountFromEx
(
tp
)
local
eft
=
c29724053
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29724053
)
and
math.min
(
c29724053
[
tp
],
(
Duel
.
GetLocationCountFromEx
(
tp
)
))
or
Duel
.
GetLocationCountFromEx
(
tp
)
local
tg
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_SPSUMMON
,
sg
,
cm
.
gcheck
,
nil
,
1
,
ft
,
mft
,
eft
)
local
tg
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_SPSUMMON
,
sg
,
cm
.
gcheck
,
nil
,
1
,
ft
,
mft
,
eft
)
local
etg
=
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
local
etg
=
tg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
tg
:
Sub
(
etg
)
tg
:
Sub
(
etg
)
...
...
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