Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Soulgamer
ygopro-222DIY-cards
Commits
e0294377
Commit
e0294377
authored
Mar 19, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
3fa8f360
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
21 deletions
+4
-21
expansions/script/c16104428.lua
expansions/script/c16104428.lua
+3
-20
expansions/script/c64800044.lua
expansions/script/c64800044.lua
+1
-1
No files found.
expansions/script/c16104428.lua
View file @
e0294377
...
...
@@ -36,29 +36,12 @@ function cm.initial_effect(c)
end
end
end
local
sg
=
Group
.
Clone
(
Group_fus
)
if
exg
:
GetCount
()
>
0
then
sg
:
Merge
(
exg
)
Group_fus
:
Merge
(
exg
)
end
return
_hack_fusion_check
(
card
,
sg
,
Card_g
,
int_chkf
,
not_mat
)
end
function
Duel
.
SelectFusionMaterial
(
player
,
card
,
Group_fus
,
int_chkf
,
not_mat
)
local
exc
=
Duel
.
GetMatchingGroup
(
cm
.
getexc
,
int_chkf
,
LOCATION_MZONE
,
0
,
nil
)
local
exg
=
Group
.
CreateGroup
()
if
exc
:
GetCount
()
>
0
then
for
tc
in
aux
.
Next
(
exc
)
do
local
exg_temp
=
tc
:
GetOverlayGroup
()
if
exg_temp
:
GetCount
()
>
0
then
exg
:
Merge
(
exg_temp
)
end
end
end
local
sg
=
Group
.
Clone
(
Group_fus
)
if
exg
:
GetCount
()
>
0
then
sg
:
Merge
(
exg
)
end
return
_hack_fusion_select
(
player
,
card
,
sg
,
int_chkf
,
not_mat
)
return
_hack_fusion_check
(
card
,
Group_fus
,
Card_g
,
int_chkf
,
not_mat
)
end
end
end
function
cm
.
advtg
(
e
,
c
)
...
...
expansions/script/c64800044.lua
View file @
e0294377
...
...
@@ -92,7 +92,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
end
--------
function
cm
.
cfilter2
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
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