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
12bec6be
Commit
12bec6be
authored
Dec 31, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 2018
parents
c26ce76e
a3ed1374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
expansions/script/c37564816.lua
expansions/script/c37564816.lua
+2
-1
No files found.
expansions/script/c37564816.lua
View file @
12bec6be
...
@@ -47,6 +47,7 @@ function cm.filter2(c,e,tp,m,f,chkf,l)
...
@@ -47,6 +47,7 @@ function cm.filter2(c,e,tp,m,f,chkf,l)
end
end
function
cm
.
ReplaceLocationCount
(
f
,
ec
)
function
cm
.
ReplaceLocationCount
(
f
,
ec
)
return
function
(
tp
,
p
,
g
,
fc
)
return
function
(
tp
,
p
,
g
,
fc
)
local
g
=
g
or
Group
.
CreateGroup
()
if
g
:
IsContains
(
ec
)
then
return
f
(
tp
,
p
,
g
,
fc
)
end
if
g
:
IsContains
(
ec
)
then
return
f
(
tp
,
p
,
g
,
fc
)
end
g
:
AddCard
(
ec
)
g
:
AddCard
(
ec
)
local
res
=
f
(
tp
,
p
,
g
,
fc
)
local
res
=
f
(
tp
,
p
,
g
,
fc
)
...
@@ -130,4 +131,4 @@ function cm.hdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -130,4 +131,4 @@ function cm.hdop(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
RandomSelect
(
tp
,
1
)
local
sg
=
g
:
RandomSelect
(
tp
,
1
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
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