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
8fcae6eb
Commit
8fcae6eb
authored
Dec 30, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cbd6a909
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
c11221418.lua
c11221418.lua
+1
-1
c93671934.lua
c93671934.lua
+2
-1
No files found.
c11221418.lua
View file @
8fcae6eb
...
@@ -114,7 +114,7 @@ function c11221418.resetcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -114,7 +114,7 @@ function c11221418.resetcon(e,tp,eg,ep,ev,re,r,rp)
local
e4
=
e5
:
GetLabelObject
()
local
e4
=
e5
:
GetLabelObject
()
local
e3
=
e4
:
GetLabelObject
()
local
e3
=
e4
:
GetLabelObject
()
local
e2
=
e3
:
GetLabelObject
()
local
e2
=
e3
:
GetLabelObject
()
local
e1
:
e2
:
GetLabelObject
()
local
e1
=
e2
:
GetLabelObject
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
e1
:
GetLabel
()
==
2
return
Duel
.
GetTurnPlayer
()
==
tp
and
e1
:
GetLabel
()
==
2
end
end
function
c11221418
.
resetop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11221418
.
resetop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c93671934.lua
View file @
8fcae6eb
...
@@ -41,8 +41,9 @@ function c93671934.filter(c)
...
@@ -41,8 +41,9 @@ function c93671934.filter(c)
return
c
:
GetEquipTarget
()
~=
nil
or
c
:
IsReason
(
REASON_LOST_TARGET
)
return
c
:
GetEquipTarget
()
~=
nil
or
c
:
IsReason
(
REASON_LOST_TARGET
)
end
end
function
c93671934
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93671934
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
flag
=
0
local
g
=
eg
:
Filter
(
c93671934
.
filter
,
nil
)
local
g
=
eg
:
Filter
(
c93671934
.
filter
,
nil
)
if
g
:
GetCount
()
==
0
then
return
false
end
local
flag
=
0
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
0
)
then
flag
=
flag
+
1
end
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
0
)
then
flag
=
flag
+
1
end
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
)
then
flag
=
flag
+
2
end
if
g
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
)
then
flag
=
flag
+
2
end
e
:
SetLabel
(({
0
,
1
,
PLAYER_ALL
})[
flag
])
e
:
SetLabel
(({
0
,
1
,
PLAYER_ALL
})[
flag
])
...
...
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