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
Reinen
ygopro-scripts
Commits
3a7c8906
Commit
3a7c8906
authored
Jan 09, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ドラグニティナイト-ヴァジュランダ
parent
3c969b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c21249921.lua
c21249921.lua
+5
-2
No files found.
c21249921.lua
View file @
3a7c8906
...
@@ -57,11 +57,14 @@ end
...
@@ -57,11 +57,14 @@ end
function
c21249921
.
eqlimit
(
e
,
c
)
function
c21249921
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
return
e
:
GetOwner
()
==
c
end
end
function
c21249921
.
atkfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c21249921
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21249921
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetEquipGroup
():
IsExists
(
Card
.
IsAbleToGraveAsCost
,
1
,
nil
)
end
if
chk
==
0
then
return
c
:
GetEquipGroup
():
IsExists
(
c21249921
.
atkfilter
,
1
,
nil
,
e
:
GetHandlerPlayer
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
c
:
GetEquipGroup
():
FilterSelect
(
tp
,
Card
.
IsAbleToGraveAsCost
,
1
,
1
,
nil
)
local
g
=
c
:
GetEquipGroup
():
FilterSelect
(
tp
,
c21249921
.
atkfilter
,
1
,
1
,
nil
,
e
:
GetHandlerPlayer
()
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
function
c21249921
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21249921
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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