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
2f703e8e
Commit
2f703e8e
authored
Jul 24, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
09428720
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
c13536606.lua
c13536606.lua
+2
-6
c28776350.lua
c28776350.lua
+2
-6
No files found.
c13536606.lua
View file @
2f703e8e
...
@@ -26,12 +26,8 @@ end
...
@@ -26,12 +26,8 @@ end
function
c13536606
.
matfilter
(
c
)
function
c13536606
.
matfilter
(
c
)
return
not
c
:
IsLinkType
(
TYPE_TOKEN
)
return
not
c
:
IsLinkType
(
TYPE_TOKEN
)
end
end
function
c13536606
.
cfilter
(
c
,
mc
)
local
lg
=
c
:
GetLinkedGroup
()
return
lg
and
lg
:
IsContains
(
mc
)
end
function
c13536606
.
atkval
(
e
,
c
)
function
c13536606
.
atkval
(
e
,
c
)
return
c
:
Get
LinkedGroup
():
FilterCount
(
c13536606
.
cfilter
,
nil
,
c
)
*
300
return
c
:
Get
MutualLinkedGroupCount
(
)
*
300
end
end
function
c13536606
.
rfilter
(
c
,
tp
,
g
)
function
c13536606
.
rfilter
(
c
,
tp
,
g
)
local
lk
=
c
:
GetLink
()
local
lk
=
c
:
GetLink
()
...
@@ -41,7 +37,7 @@ function c13536606.rfilter(c,tp,g)
...
@@ -41,7 +37,7 @@ function c13536606.rfilter(c,tp,g)
end
end
function
c13536606
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c13536606
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lg
=
c
:
Get
LinkedGroup
():
Filter
(
c13536606
.
cfilter
,
nil
,
c
)
local
lg
=
c
:
Get
MutualLinkedGroup
(
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c13536606
.
rfilter
(
chkc
,
tp
,
lg
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c13536606
.
rfilter
(
chkc
,
tp
,
lg
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c13536606
.
rfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
lg
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c13536606
.
rfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
,
lg
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13536607
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_CYBERS
,
ATTRIBUTE_LIGHT
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13536607
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_CYBERS
,
ATTRIBUTE_LIGHT
)
end
...
...
c28776350.lua
View file @
2f703e8e
...
@@ -88,14 +88,10 @@ function c28776350.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,14 +88,10 @@ function c28776350.thop(e,tp,eg,ep,ev,re,r,rp)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
Card
.
IsAbleToHand
,
nil
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
Card
.
IsAbleToHand
,
nil
)
Duel
.
SendtoHand
(
lg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
lg
,
nil
,
REASON_EFFECT
)
end
end
function
c28776350
.
cfilter
(
c
,
mc
)
local
lg
=
c
:
GetLinkedGroup
()
return
lg
and
lg
:
IsContains
(
mc
)
end
function
c28776350
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c28776350
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lg
=
c
:
Get
LinkedGroup
():
Filter
(
c28776350
.
cfilter
,
nil
,
c
)
local
lg
=
c
:
Get
MutualLinkedGroup
(
)
local
ct
=
lg
:
GetSum
(
Card
.
GetLink
)
local
ct
=
lg
:
GetSum
(
Card
.
GetLink
)
if
ct
<=
0
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
then
return
false
end
if
ct
<=
0
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
then
return
false
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ct
)
...
@@ -112,7 +108,7 @@ function c28776350.thfilter(c,code)
...
@@ -112,7 +108,7 @@ function c28776350.thfilter(c,code)
end
end
function
c28776350
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28776350
.
acop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lg
=
c
:
Get
LinkedGroup
():
Filter
(
c28776350
.
cfilter
,
nil
,
c
)
local
lg
=
c
:
Get
MutualLinkedGroup
(
)
local
ct
=
lg
:
GetSum
(
Card
.
GetLink
)
local
ct
=
lg
:
GetSum
(
Card
.
GetLink
)
if
ct
<=
0
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
then
return
end
if
ct
<=
0
or
not
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
ct
)
Duel
.
ConfirmDecktop
(
tp
,
ct
)
...
...
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