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
d238928f
Commit
d238928f
authored
Jan 25, 2017
by
mercury233
Committed by
DailyShana
Jan 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Zoodiac Xiangke (#778)
* fix * fix
parent
a67468cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
c98918572.lua
c98918572.lua
+5
-1
No files found.
c98918572.lua
View file @
d238928f
...
@@ -60,11 +60,15 @@ function c98918572.xyztg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -60,11 +60,15 @@ function c98918572.xyztg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c98918572
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98918572
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
~=
2
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
g
:
GetCount
()
~=
2
then
return
end
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
xc
=
g
:
GetNext
()
local
xc
=
g
:
GetNext
()
if
xc
==
e
:
GetLabelObject
()
then
tc
,
xc
=
xc
,
tc
end
if
xc
==
e
:
GetLabelObject
()
then
tc
,
xc
=
xc
,
tc
end
if
not
tc
:
IsImmuneToEffect
(
e
)
then
if
not
tc
:
IsImmuneToEffect
(
e
)
then
local
og
=
xc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
xc
))
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
xc
))
end
end
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