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
85307118
Commit
85307118
authored
Jan 31, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c0f8e5f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c37564046.lua
expansions/script/c37564046.lua
+2
-2
expansions/script/c37564214.lua
expansions/script/c37564214.lua
+1
-0
expansions/script/c37564846.lua
expansions/script/c37564846.lua
+1
-1
No files found.
expansions/script/c37564046.lua
View file @
85307118
...
@@ -202,9 +202,9 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -202,9 +202,9 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
local
cat
=
e
:
GetCategory
()
local
cat
=
e
:
GetCategory
()
if
(
g
:
GetFirst
():
GetOriginalType
()
&
TYPE_MONSTER
)
~=
0
then
if
(
g
:
GetFirst
():
GetOriginalType
()
&
TYPE_MONSTER
)
~=
0
then
e
:
SetCategory
(
(
cat
|
CATEGORY_SPECIAL_SUMMON
)
)
e
:
SetCategory
(
cat
|
CATEGORY_SPECIAL_SUMMON
)
else
else
e
:
SetCategory
(
(
cat
&
~
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
cat
&
~
CATEGORY_SPECIAL_SUMMON
)
end
end
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c37564214.lua
View file @
85307118
...
@@ -54,6 +54,7 @@ function cm.seqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,6 +54,7 @@ function cm.seqop(e,tp,eg,ep,ev,re,r,rp)
local
nseq
=
math.log
(
s
,
2
)
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
c
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
end
end
end
end
...
...
expansions/script/c37564846.lua
View file @
85307118
...
@@ -33,7 +33,7 @@ function cm.battlecheck(c,tp)
...
@@ -33,7 +33,7 @@ function cm.battlecheck(c,tp)
end
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
if
rp
==
tp
or
#
eg
~=
then
return
false
end
if
rp
==
tp
or
#
eg
~=
1
then
return
false
end
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
if
not
Senya
.
check_set_3L
(
tc
)
or
not
tc
:
IsType
(
TYPE_MONSTER
)
or
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
not
tc
:
IsAbleToRemove
()
or
not
cm
.
battlecheck
(
tc
,
tp
)
then
return
false
end
if
not
Senya
.
check_set_3L
(
tc
)
or
not
tc
:
IsType
(
TYPE_MONSTER
)
or
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
or
not
tc
:
IsAbleToRemove
()
or
not
cm
.
battlecheck
(
tc
,
tp
)
then
return
false
end
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
mfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
mfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
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