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
9a567c66
Commit
9a567c66
authored
Nov 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
920f68b6
Pipeline
#7070
passed with stages
in 25 minutes and 27 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/script/c16101151.lua
expansions/script/c16101151.lua
+3
-1
expansions/script/c4210158.lua
expansions/script/c4210158.lua
+2
-2
expansions/script/c81024040.lua
expansions/script/c81024040.lua
+2
-1
expansions/script/c81024041.lua
expansions/script/c81024041.lua
+1
-1
No files found.
expansions/script/c16101151.lua
View file @
9a567c66
...
...
@@ -229,13 +229,15 @@ function aux.AddFusionProcMix(c,sub,insf,...)
end
function
aux
.
AddFusionProcMixRep
(
c
,
sub
,
insf
,
f1
,
min
,
max
,
...
)
local
code
=
c
:
GetOriginalCode
()
local
val
=
{
...
}
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
setmetatable
(
_G
[
"c"
..
code
],
Card
)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
end
local
ccodem
=
_G
[
"c"
..
code
]
local
num
=#
val
if
not
c
.
fst
then
ccodem
.
fst
=
min
ccodem
.
fst
=
min
+
num
end
return
_tmp_1_3
(
c
,
sub
,
insf
,
f1
,
min
,
max
,
...
)
end
...
...
expansions/script/c4210158.lua
View file @
9a567c66
...
...
@@ -41,7 +41,7 @@ function cm.initial_effect(c)
end
end
)
.
Return
()).
c
(
"RegisterEffect"
,
iFunc
(
c
)
.
e
(
"SetCategory"
,
CATEGORY_DESTROY
)
.
e
(
"SetType"
,
EFFECT_TYPE_TRIGGER_F
)
.
e
(
"SetType"
,
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_
TRIGGER_F
)
.
e
(
"SetProperty"
,
EFFECT_FLAG_CARD_TARGET
)
.
e
(
"SetCode"
,
EVENT_SPSUMMON_SUCCESS
)
.
e
(
"SetRange"
,
LOCATION_MZONE
)
...
...
@@ -49,7 +49,7 @@ function cm.initial_effect(c)
if
not
eg
then
return
false
end
local
tc
=
eg
:
GetFirst
()
if
chkc
then
return
chkc
==
tc
end
if
chk
==
0
then
return
ep
~=
tp
and
tc
:
IsFaceup
()
and
tc
:
GetBaseAttack
()
>=
2500
and
tc
:
IsOnField
()
and
tc
:
IsCanBeEffectTarget
(
e
)
end
if
chk
==
0
then
return
tc
:
IsFaceup
()
and
tc
:
GetBaseAttack
()
>=
2500
and
tc
:
IsOnField
()
and
tc
:
IsCanBeEffectTarget
(
e
)
end
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
end
)
.
e
(
"SetOperation"
,
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c81024040.lua
View file @
9a567c66
...
...
@@ -72,7 +72,8 @@ function cm.tgfilter(c,ty)
return
c
:
IsFaceup
()
and
c
:
IsType
(
ty
)
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
m
,
3
))
local
ac
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
0
),
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
))
local
ty
=
TYPE_MONSTER
...
...
expansions/script/c81024041.lua
View file @
9a567c66
...
...
@@ -84,7 +84,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
Step
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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