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
46888e1c
Commit
46888e1c
authored
May 11, 2018
by
Aephiex
Committed by
nanahira
May 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix missing must material check II (#1050)
* Update c76794549.lua * Update c12289247.lua * Update c74416026.lua
parent
73d856f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
c12289247.lua
c12289247.lua
+1
-1
c74416026.lua
c74416026.lua
+1
-0
c76794549.lua
c76794549.lua
+3
-2
No files found.
c12289247.lua
View file @
46888e1c
...
@@ -132,7 +132,7 @@ function c12289247.hncost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -132,7 +132,7 @@ function c12289247.hncost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c12289247
.
hntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12289247
.
hntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
a
nd
a
ux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_FMATERIAL
)
if
chk
==
0
then
return
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_FMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c12289247
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c12289247
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
...
...
c74416026.lua
View file @
46888e1c
...
@@ -29,6 +29,7 @@ end
...
@@ -29,6 +29,7 @@ end
function
c74416026
.
spfilter
(
c
,
e
,
tp
)
function
c74416026
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelAbove
(
8
)
and
c
:
IsSetCard
(
0xad
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelAbove
(
8
)
and
c
:
IsSetCard
(
0xad
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
()
end
end
function
c74416026
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74416026
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
Filter
(
c74416026
.
filter
,
nil
,
tp
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
Filter
(
c74416026
.
filter
,
nil
,
tp
)
...
...
c76794549.lua
View file @
46888e1c
...
@@ -162,11 +162,12 @@ function c76794549.hncost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -162,11 +162,12 @@ function c76794549.hncost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c76794549
.
hntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c76794549
.
hntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c76794549
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_FMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c76794549
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c76794549
.
hnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c76794549
.
hnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
or
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_FMATERIAL
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c76794549
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c76794549
.
hnfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
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