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
7e25a7c4
Commit
7e25a7c4
authored
Jun 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
4253ddfe
Pipeline
#13455
passed with stages
in 28 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
3 deletions
+31
-3
expansions/script/c12037052.lua
expansions/script/c12037052.lua
+26
-0
expansions/script/c51300131.lua
expansions/script/c51300131.lua
+5
-3
No files found.
expansions/script/c12037052.lua
View file @
7e25a7c4
...
...
@@ -15,6 +15,10 @@ function cm.initial_effect(c)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
if
not
cm
.
check_for_overlay
then
cm
.
check_for_overlay
=
true
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_WINDBEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -114,6 +118,28 @@ function cm.xop(e,tp,eg,ep,ev,re,r,rp)
if
g
then
Duel
.
HintSelection
(
g
)
Duel
.
Overlay
(
tc
,
g
)
local
func_overlay
=
Duel
.
Overlay
function
Duel
.
Overlay
(
card
,
ocard
)
if
aux
.
GetValueType
(
ocard
)
==
"Card"
then
if
ocard
:
GetOverlayCount
()
>
0
then
local
mg
=
ocard
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
card
,
mg
)
end
end
else
for
tc
in
aux
.
Next
(
ocard
)
do
if
tc
:
GetOverlayCount
()
>
0
then
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
card
,
mg
)
end
end
end
end
Duel
.
Overlay
=
func_overlay
return
func_overlay
(
card
,
ocard
)
end
end
end
end
\ No newline at end of file
expansions/script/c51300131.lua
View file @
7e25a7c4
...
...
@@ -5,6 +5,7 @@ function cm.initial_effect(c)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
cm
.
ffilter
,
2
,
true
)
--aux.AddFusionProcFun2(c,cm.ffilter1,cm.ffilter2,true)
--atkup
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -15,6 +16,7 @@ function cm.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_CONTROL
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
--e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_DUEL
)
e3
:
SetCondition
(
cm
.
condition
)
...
...
@@ -29,8 +31,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
c
:
IsFusionSetCard
(
0xa01
)
and
c
:
IsLevelAbove
(
1
)
and
(
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
sg
:
IsExists
(
Card
.
IsLevelAbove
,
1
,
c
,
10
-
c
:
GetLevel
()))
return
not
sg
or
sg
:
FilterCount
(
aux
.
TRUE
,
c
)
==
0
or
(
c
:
IsSetCard
(
0xa01
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
sg
:
IsExists
(
Card
.
IsLevelAbove
,
1
,
c
,
10
-
c
:
GetLevel
()))
end
function
cm
.
ffilter2
(
c
)
return
c
:
IsFusionSetCard
(
0xa01
)
...
...
@@ -52,7 +54,7 @@ end
--ntr
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsLevelAbove
,
1
,
nil
,
8
)
then
if
g
:
IsExists
(
Card
.
IsLevelAbove
,
1
,
nil
,
10
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
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