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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
fb6a7eb9
Commit
fb6a7eb9
authored
Feb 26, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
d84fa864
Pipeline
#10148
passed with stages
in 28 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
expansions/script/c23000400.lua
expansions/script/c23000400.lua
+15
-9
No files found.
expansions/script/c23000400.lua
View file @
fb6a7eb9
...
...
@@ -3,7 +3,7 @@ if c23000400 then return end
c23000400
=
c23000400
or
{}
local
m
=
23000400
local
bm
=
_G
[
"c"
..
m
]
local
Version_Number
=
202202
12
local
Version_Number
=
202202
26
local
tcode
=
0x364
--Instructions about how to use this
--[[
...
...
@@ -277,11 +277,16 @@ function bm.e.eqtg(loc,filter_func,target_type,oppos)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
0
)
end
end
function
bm
.
e
.
eqop
(
loc
,
filter_func
,
target_type
,
up_atk
,
oppos
,
up_def
)
function
bm
.
e
.
eqop
(
loc
,
filter_func
,
target_type
,
up_atk
,
oppos
,
up_def
,
eqt_filter_func
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
bm
.
eqcheck_e
(
e
,
tp
)
then
return
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
eqt_filter_func
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
c
=
Duel
.
SelectMatchingCard
(
tp
,
eqt_filter_func
,
tp
,
mz
,
0
,
1
,
1
,
nil
):
GetFirst
()
elseif
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
(
c
:
IsLocation
(
mz
)
or
bm
.
eqfilter_base
(
c
,
tp
))
then
return
end
local
tc
=
c
if
target_type
then
...
...
@@ -334,13 +339,14 @@ function bm.x.op(loc,filter_func)
g
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
local
gx
=
Group
.
CreateGroup
()
Group
.
AddCard
(
gx
,
c
)
tc
:
SetMaterial
(
gx
)
Duel
.
Overlay
(
tc
,
gx
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
tc
:
CompleteProcedure
()
local
mg
=
c
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
tc
,
mg
)
end
tc
:
SetMaterial
(
Group
.
FromCards
(
c
))
Duel
.
Overlay
(
tc
,
Group
.
FromCards
(
c
))
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
end
end
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