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
Nguyễn Anh Kiệt
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
Changes
2
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)
c
:
RegisterEffect
(
e7
)
end
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetBaseAttack
(
35
)
return
c
:
IsFaceup
()
and
c
:
GetBaseAttack
(
)
==
35
end
function
s
.
handcon
(
e
)
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)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
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
)
e
:
SetLabel
(
100
)
return
true
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
rfilter
,
1
,
1
,
nil
,
tp
)
e
:
SetLabel
(
g
:
GetFirst
():
GetLevel
())
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
rfilter
(
c
,
tp
)
return
c
:
IsLevelAbove
(
1
)
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
c
:
GetLevel
())
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
e
:
SetLabel
(
0
)
return
false
end
e
:
SetLabel
(
0
)
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
)
local
ct
=
e
:
GetLabel
()
if
chk
==
0
then
return
ct
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
ct
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
ct
)
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lv
=
e
:
GetValue
()
Duel
.
DiscardDeck
(
tp
,
lv
,
REASON_EFFECT
)
local
ct
=
e
:
GetLabel
()
if
ct
>
0
then
Duel
.
DiscardDeck
(
tp
,
ct
,
REASON_EFFECT
)
end
end
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
)
...
...
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