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
15d4a4bb
Commit
15d4a4bb
authored
Feb 07, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update lua
parent
7dedce69
Pipeline
#20000
passed with stages
in 27 minutes and 50 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
23 deletions
+26
-23
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c10174059.lua
expansions/script/c10174059.lua
+26
-23
No files found.
expansions/222DIY.cdb
View file @
15d4a4bb
No preview for this file type
expansions/script/c10174059.lua
View file @
15d4a4bb
...
@@ -13,7 +13,9 @@ function cm.desfilter(c)
...
@@ -13,7 +13,9 @@ function cm.desfilter(c)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsOnField
())
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsOnField
())
end
end
function
cm
.
desop
(
e
,
tp
)
function
cm
.
desop
(
e
,
tp
)
if
rsop
.
SelectDestroy
(
tp
,
cm
.
desfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
desfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
and
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
>
0
then
local
c
=
rscf
.
GetFaceUpSelf
(
e
)
local
c
=
rscf
.
GetFaceUpSelf
(
e
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
op
=
rsop
.
SelectOption
(
tp
,
true
,{
m
,
2
},
#
g
>
0
,{
m
,
3
},
c
and
true
or
false
,{
m
,
4
})
local
op
=
rsop
.
SelectOption
(
tp
,
true
,{
m
,
2
},
#
g
>
0
,{
m
,
3
},
c
and
true
or
false
,{
m
,
4
})
...
@@ -38,4 +40,5 @@ function cm.desop(e,tp)
...
@@ -38,4 +40,5 @@ function cm.desop(e,tp)
ce
:
SetValue
(
ct
)
ce
:
SetValue
(
ct
)
c
:
SetHint
(
CHINT_NUMBER
,
ct
)
c
:
SetHint
(
CHINT_NUMBER
,
ct
)
end
end
end
end
end
\ No newline at end of file
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