Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
a987da61
Commit
a987da61
authored
Oct 29, 2022
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c17061020.lua
parent
a6caaf74
Pipeline
#17504
passed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
script/c17061020.lua
script/c17061020.lua
+2
-4
No files found.
script/c17061020.lua
View file @
a987da61
...
...
@@ -52,7 +52,6 @@ function cm.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetTarget
(
cm
.
reptg
)
e5
:
SetValue
(
cm
.
repval
)
c
:
RegisterEffect
(
e5
)
...
...
@@ -94,9 +93,8 @@ function cm.repfilter(c,tp)
end
function
cm
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
repfilter
,
1
,
nil
,
tp
)
end
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
local
Peg
=
eg
:
Filter
(
cm
.
repfilter
,
e
:
GetHandler
())
if
Peg
:
GetCount
()
<=
0
then
return
false
end
local
Peg
=
eg
:
Filter
(
cm
.
repfilter
,
e
:
GetHandler
(),
tp
)
if
Peg
:
GetCount
()
>
0
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
96
)
then
Duel
.
SendtoHand
(
Peg
,
nil
,
REASON_EFFECT
)
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
return
true
...
...
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