Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
15516710
Commit
15516710
authored
Oct 30, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c626816e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
c53334471.lua
c53334471.lua
+1
-2
c90846359.lua
c90846359.lua
+1
-2
No files found.
c53334471.lua
View file @
15516710
...
@@ -49,8 +49,7 @@ function c53334471.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,8 +49,7 @@ function c53334471.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c53334471
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c53334471
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
if
sumpos
and
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
then
return
false
end
if
sumpos
and
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
then
return
false
end
local
at
=
c53334471
[
sump
]
local
at
=
c53334471
.
getattribute
(
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
targetp
or
sump
,
LOCATION_MZONE
,
0
,
nil
))
if
targetp
then
at
=
c53334471
[
targetp
]
end
if
at
==
0
then
return
false
end
if
at
==
0
then
return
false
end
return
c
:
GetAttribute
()
~=
at
return
c
:
GetAttribute
()
~=
at
end
end
...
...
c90846359.lua
View file @
15516710
...
@@ -50,8 +50,7 @@ function c90846359.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,8 +50,7 @@ function c90846359.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c90846359
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
function
c90846359
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
if
sumpos
and
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
then
return
false
end
if
sumpos
and
bit
.
band
(
sumpos
,
POS_FACEDOWN
)
>
0
then
return
false
end
local
rc
=
c90846359
[
sump
]
local
rc
=
c53334471
.
getrace
(
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
targetp
or
sump
,
LOCATION_MZONE
,
0
,
nil
))
if
targetp
then
rc
=
c90846359
[
targetp
]
end
if
rc
==
0
then
return
false
end
if
rc
==
0
then
return
false
end
return
c
:
GetRace
()
~=
rc
return
c
:
GetRace
()
~=
rc
end
end
...
...
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