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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
e852a4bd
Commit
e852a4bd
authored
Oct 11, 2022
by
mercury233
Committed by
GitHub
Oct 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ヴァレルコード・ドラゴン
https://github.com/Fluorohydride/ygopro-scripts/pull/1821
parent
db367a6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
c67288539.lua
c67288539.lua
+10
-3
No files found.
c67288539.lua
View file @
e852a4bd
...
...
@@ -85,7 +85,7 @@ function c67288539.desop(e,tp,eg,ep,ev,re,r,rp)
end
function
c67288539
.
rmfilter
(
c
,
e
,
tp
,
check
)
return
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
3000
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
check
or
Duel
.
IsExistingMatchingCard
(
c67288539
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
))
and
(
check
or
not
c
:
IsImmuneToEffect
(
e
)
and
Duel
.
IsExistingMatchingCard
(
c67288539
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
))
end
function
c67288539
.
spfilter
(
c
,
e
,
tp
,
tc
)
if
not
(
c
:
IsSetCard
(
0x16e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
then
return
false
end
...
...
@@ -103,9 +103,16 @@ function c67288539.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c67288539
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c67288539
.
rmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
,
tp
,
tru
e
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c67288539
.
rmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
,
tp
,
fals
e
)
local
tc
=
tg
:
GetFirst
()
if
not
tc
then
return
end
if
not
tc
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
tg2
=
Duel
.
SelectMatchingCard
(
tp
,
c67288539
.
rmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
,
tp
,
true
)
if
#
tg2
>
0
then
Duel
.
Remove
(
tg2
,
POS_FACEUP
,
REASON_EFFECT
)
end
return
end
Duel
.
HintSelection
(
tg
)
if
Duel
.
Remove
(
tg
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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