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
八宫一月
ygopro-scripts
Commits
5b4b6014
Commit
5b4b6014
authored
Feb 20, 2021
by
mallu11
Committed by
GitHub
Feb 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix サイバネット・バックドア (#1566)
parent
bf563d3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c43839002.lua
c43839002.lua
+5
-5
No files found.
c43839002.lua
View file @
5b4b6014
...
...
@@ -13,11 +13,11 @@ function c43839002.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c43839002
.
rmfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsAbleToRemove
()
and
c
:
Get
BaseAttack
()
>
0
and
Duel
.
IsExistingMatchingCard
(
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsAbleToRemove
()
and
c
:
Get
TextAttack
()
>
0
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
and
Duel
.
IsExistingMatchingCard
(
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetTextAttack
()
)
end
function
c43839002
.
thfilter
(
c
,
rc
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
Get
Attack
()
>=
0
and
c
:
GetAttack
()
<
rc
:
GetBaseAttack
()
and
c
:
IsAbleToHand
()
function
c43839002
.
thfilter
(
c
,
atk
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
Get
TextAttack
()
>=
0
and
c
:
GetAttack
()
<
atk
and
c
:
IsAbleToHand
()
end
function
c43839002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c43839002
.
rmfilter
(
chkc
,
tp
)
end
...
...
@@ -52,7 +52,7 @@ function c43839002.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
tc
:
IsFacedown
()
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c43839002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
:
GetTextAttack
()
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
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