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
1d96ef61
Commit
1d96ef61
authored
Jan 02, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
607795d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
script/c101104012.lua
script/c101104012.lua
+4
-3
script/c101104055.lua
script/c101104055.lua
+3
-3
No files found.
script/c101104012.lua
View file @
1d96ef61
...
...
@@ -63,8 +63,9 @@ function c101104012.thfilter(c,code)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x88
)
and
not
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
function
c101104012
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101104012
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101104012
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101104012
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101104012
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
...
...
@@ -74,7 +75,7 @@ function c101104012.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101104012
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
R
TOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101104012
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
code
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
...
...
script/c101104055.lua
View file @
1d96ef61
...
...
@@ -52,7 +52,7 @@ function c101104055.fcheck(tp,sg,fc)
if
sg
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
then
return
sg
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_DRAGON
)
else
return
sg
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_DRAGON
)
and
sg
:
FilterCount
(
c101104055
.
exfilter
,
nil
,
tp
)
<=
0
return
sg
:
IsExists
(
Card
.
IsRace
,
1
,
nil
,
RACE_DRAGON
)
and
not
sg
:
IsExists
(
c101104055
.
exfilter
,
1
,
nil
,
tp
)
end
end
function
c101104055
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -60,7 +60,7 @@ function c101104055.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c101104055
.
filter2
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c101104055
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
if
mg1
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
if
mg1
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
or
mg2
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
then
mg1
:
Merge
(
mg2
)
end
aux
.
FCheckAdditional
=
c101104055
.
fcheck
...
...
@@ -84,7 +84,7 @@ function c101104055.activate(e,tp,eg,ep,ev,re,r,rp)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c101104055
.
filter2
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c101104055
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
)
if
mg1
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
then
if
mg1
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
and
mg2
:
GetCount
()
>
0
or
mg2
:
IsExists
(
c101104055
.
chkfilter
,
1
,
nil
,
tp
)
then
mg1
:
Merge
(
mg2
)
end
aux
.
FCheckAdditional
=
c101104055
.
fcheck
...
...
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