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
c0491ae4
Commit
c0491ae4
authored
Jan 08, 2018
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
36fad17a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
c42994702.lua
c42994702.lua
+4
-1
c52714670.lua
c52714670.lua
+4
-1
c59237154.lua
c59237154.lua
+5
-2
No files found.
c42994702.lua
View file @
c0491ae4
...
...
@@ -16,10 +16,13 @@ function c42994702.target(e,tp,eg,ep,ev,re,r,rp,chk)
c
:
RegisterFlagEffect
(
42994702
,
RESET_EVENT
+
0x1fc0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
c
,
1
,
0
,
0
)
end
function
c42994702
.
filter
(
c
)
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
<
5
end
function
c42994702
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN_DEFENSE
)
>
0
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c42994702
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g
)
end
end
c52714670.lua
View file @
c0491ae4
...
...
@@ -36,8 +36,11 @@ function c52714670.initial_effect(c)
e4
:
SetOperation
(
c52714670
.
rmop
)
c
:
RegisterEffect
(
e4
)
end
function
c52714670
.
cfilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
end
function
c52714670
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsControl
er
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
c52714670
.
cfilt
er
,
1
,
nil
,
1
-
tp
)
end
function
c52714670
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x105
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c59237154.lua
View file @
c0491ae4
...
...
@@ -19,11 +19,14 @@ function c59237154.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
300
)
end
Duel
.
PayLPCost
(
tp
,
300
)
end
function
c59237154
.
filter
(
c
)
return
c
:
IsFacedown
()
and
c
:
GetSequence
()
<
5
end
function
c59237154
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c59237154
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
end
end
function
c59237154
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c59237154
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
ShuffleSetCard
(
g
)
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