Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
037a40e7
Commit
037a40e7
authored
Apr 06, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
80f67a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
script/c101009057.lua
script/c101009057.lua
+6
-6
No files found.
script/c101009057.lua
View file @
037a40e7
...
@@ -14,22 +14,22 @@ function c101009057.initial_effect(c)
...
@@ -14,22 +14,22 @@ function c101009057.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c101009057
.
cfilter
(
c
)
function
c101009057
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb3
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb3
)
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
end
end
function
c101009057
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101009057
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101009057
.
cfilter
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c101009057
.
cfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
3
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
3
end
end
function
c101009057
.
filter
(
c
)
function
c101009057
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb3
)
and
c
:
IsAbleToHand
()
return
c
101009057
.
cfilter
(
c
)
and
c
:
IsAbleToHand
()
end
end
function
c101009057
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101009057
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101009057
.
filter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101009057
.
filter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c101009057
.
filter
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c101009057
.
filter
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c101009057
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101009057
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c101009057
.
filter
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c101009057
.
filter
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
if
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
>
0
then
if
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
>
0
then
local
ct
=
5
-
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
local
ct
=
5
-
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
if
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
ct
)
if
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
ct
)
...
...
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