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
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
MyCard
ygopro-scripts
Commits
bfe912a7
Commit
bfe912a7
authored
Sep 19, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e8eb68a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
c23516703.lua
c23516703.lua
+1
-1
c29951323.lua
c29951323.lua
+1
-1
No files found.
c23516703.lua
View file @
bfe912a7
...
...
@@ -34,7 +34,7 @@ function c23516703.limittg(e,c,tp)
local
t1
,
t2
,
t3
=
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SUMMON
,
ACTIVITY_FLIPSUMMON
,
ACTIVITY_SPSUMMON
)
return
t1
+
t2
+
t3
>=
2
end
function
c23516703
.
countval
(
e
,
tp
)
function
c23516703
.
countval
(
e
,
re
,
tp
)
local
t1
,
t2
,
t3
=
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SUMMON
,
ACTIVITY_FLIPSUMMON
,
ACTIVITY_SPSUMMON
)
if
t1
+
t2
+
t3
>=
2
then
return
0
else
return
2
-
t1
-
t2
-
t3
end
end
c29951323.lua
View file @
bfe912a7
...
...
@@ -57,7 +57,7 @@ end
function
c29951323
.
countcon2
(
e
)
return
Duel
.
GetTurnPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
c29951323
.
countval
(
e
,
tp
)
function
c29951323
.
countval
(
e
,
re
,
tp
)
local
t1
=
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SPSUMMON
)
local
t2
=
Duel
.
GetBattledCount
(
tp
)
if
t1
>=
t2
then
return
0
else
return
t2
-
t1
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