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
5a347a17
Commit
5a347a17
authored
Dec 25, 2015
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
37e0d251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c26556950.lua
c26556950.lua
+4
-4
No files found.
c26556950.lua
View file @
5a347a17
...
...
@@ -41,10 +41,10 @@ end
c26556950
.
xyz_number
=
84
function
c26556950
.
ovfilter
(
c
)
local
rk
=
c
:
GetRank
()
return
c
:
IsFaceup
()
and
c
:
GetOverlayCount
()
>=
2
and
c
:
IsType
(
TYPE_XYZ
)
and
rk
>=
8
and
rk
<=
10
return
c
:
IsFaceup
()
and
c
:
GetOverlayCount
()
>=
2
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
rk
>=
8
and
rk
<=
10
end
function
c26556950
.
defval
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
return
g
:
GetSum
(
Card
.
GetRank
)
*
200
end
function
c26556950
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -69,12 +69,12 @@ end
function
c26556950
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c26556950
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetDefence
())
end
local
g
=
Duel
.
GetMatchingGroup
(
c26556950
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
:
GetDefence
())
local
g
=
Duel
.
GetMatchingGroup
(
c26556950
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
c
:
GetDefence
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c26556950
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c26556950
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
c
:
GetDefence
())
local
g
=
Duel
.
GetMatchingGroup
(
c26556950
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
c
:
GetDefence
())
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
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