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
cd715248
Commit
cd715248
authored
Oct 16, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7525055d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
c11501629.lua
c11501629.lua
+6
-2
c48716527.lua
c48716527.lua
+1
-1
No files found.
c11501629.lua
View file @
cd715248
...
...
@@ -35,8 +35,12 @@ function c11501629.ctfilter(c,tp)
end
function
c11501629
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
c11501629
.
ctfilter
,
nil
,
tp
)
e
:
SetLabel
(
ct
)
return
ct
>
0
and
e
:
GetHandler
():
IsCanAddCounter
(
0x2d
,
ct
)
if
ct
>
0
and
e
:
GetHandler
():
IsCanAddCounter
(
0x2d
,
ct
)
then
e
:
SetLabel
(
ct
)
return
true
else
return
false
end
end
function
c11501629
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x2d
,
e
:
GetLabel
())
...
...
c48716527.lua
View file @
cd715248
...
...
@@ -35,6 +35,6 @@ function c48716527.distg(e,c)
end
function
c48716527
.
tgcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_END
and
not
Duel
.
IsExistingMatchingCard
(
c48716527
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
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