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
e35283ad
Commit
e35283ad
authored
Apr 01, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null
parent
fb861c07
Pipeline
#26199
passed with stages
in 21 minutes and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
expansions/script/c31300035.lua
expansions/script/c31300035.lua
+1
-1
expansions/script/c81046035.lua
expansions/script/c81046035.lua
+14
-16
No files found.
expansions/script/c31300035.lua
View file @
e35283ad
...
@@ -44,7 +44,7 @@ function s.initial_effect(c)
...
@@ -44,7 +44,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetBaseAttack
(
35
)
return
c
:
IsFaceup
()
and
c
:
GetBaseAttack
(
)
==
35
end
end
function
s
.
handcon
(
e
)
function
s
.
handcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
expansions/script/c81046035.lua
View file @
e35283ad
...
@@ -24,30 +24,28 @@ function cm.initial_effect(c)
...
@@ -24,30 +24,28 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
cm
.
rfilter
(
c
,
tp
)
return
c
:
IsLevelAbove
(
1
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
c
:
GetLevel
())
end
function
cm
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
100
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
nil
,
tp
)
end
return
true
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
())
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
cm
.
rfilter
(
c
,
tp
)
function
cm
.
rfilter
(
c
,
tp
)
return
c
:
IsLevelAbove
(
1
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
c
:
GetLevel
())
return
c
:
IsLevelAbove
(
1
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
c
:
GetLevel
())
end
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
ct
=
e
:
GetLabel
()
if
e
:
GetLabel
()
~=
100
then
e
:
SetLabel
(
0
)
return
false
end
if
chk
==
0
then
return
ct
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
ct
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
end
e
:
SetLabel
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
ct
)
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
cm
.
rfilter
,
1
,
nil
,
tp
)
end
e
:
SetLabel
(
0
)
e
:
SetValue
(
0
)
local
tc
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
rfilter
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
lv
=
tc
:
GetLevel
()
e
:
SetValue
(
lv
)
Duel
.
Release
(
tc
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
lv
)
end
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lv
=
e
:
GetValue
()
local
ct
=
e
:
GetLabel
()
Duel
.
DiscardDeck
(
tp
,
lv
,
REASON_EFFECT
)
if
ct
>
0
then
Duel
.
DiscardDeck
(
tp
,
ct
,
REASON_EFFECT
)
end
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x344c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x344c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
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