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
cc5a347a
Commit
cc5a347a
authored
Jul 01, 2019
by
mercury233
Committed by
GitHub
Jul 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 一惜二跳 (#1196)
parent
251126fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
c6203182.lua
c6203182.lua
+2
-5
No files found.
c6203182.lua
View file @
cc5a347a
...
@@ -81,14 +81,11 @@ end
...
@@ -81,14 +81,11 @@ end
function
c6203182
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c6203182
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetPreviousEquipTarget
()
local
ec
=
c
:
GetPreviousEquipTarget
()
if
not
ec
then
return
false
end
return
ec
and
ec
:
GetReasonCard
()
and
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
:
IsReason
(
REASON_MATERIAL
)
local
rc
=
ec
:
GetReasonCard
()
return
rc
and
c
:
IsReason
(
REASON_LOST_TARGET
)
and
ec
:
IsReason
(
REASON_MATERIAL
)
and
(
ec
:
IsReason
(
REASON_FUSION
)
or
ec
:
IsReason
(
REASON_SYNCHRO
)
or
ec
:
IsReason
(
REASON_XYZ
)
or
ec
:
IsReason
(
REASON_LINK
))
and
(
ec
:
IsReason
(
REASON_FUSION
)
or
ec
:
IsReason
(
REASON_SYNCHRO
)
or
ec
:
IsReason
(
REASON_XYZ
)
or
ec
:
IsReason
(
REASON_LINK
))
and
(
rc
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
or
rc
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
or
rc
:
IsSummonType
(
SUMMON_TYPE_XYZ
)
or
rc
:
IsSummonType
(
SUMMON_TYPE_LINK
))
end
end
function
c6203182
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c6203182
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ec
=
c
:
GetPreviousEquipTarget
()
local
ec
=
e
:
GetHandler
()
:
GetPreviousEquipTarget
()
local
rc
=
ec
:
GetReasonCard
()
local
rc
=
ec
:
GetReasonCard
()
if
chk
==
0
then
return
rc
:
IsControlerCanBeChanged
()
end
if
chk
==
0
then
return
rc
:
IsControlerCanBeChanged
()
end
rc
:
CreateEffectRelation
(
e
)
rc
:
CreateEffectRelation
(
e
)
...
...
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