Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
10e35135
Commit
10e35135
authored
May 16, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix DR02-C
parent
151894ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c30683373.lua
c30683373.lua
+2
-2
c674561.lua
c674561.lua
+1
-1
No files found.
c30683373.lua
View file @
10e35135
...
...
@@ -11,7 +11,7 @@ function c30683373.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c30683373
.
filter
(
c
)
return
not
c
:
IsAttack
Pos
()
return
c
:
IsDefense
Pos
()
end
function
c30683373
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_MZONE
and
c30683373
.
filter
(
chkc
)
end
...
...
@@ -22,7 +22,7 @@ function c30683373.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c30683373
.
activate
(
e
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsDefensePos
()
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
c674561.lua
View file @
10e35135
...
...
@@ -22,7 +22,7 @@ function c674561.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c674561
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsAttribute
(
ATTRIBUTE_DARK
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
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