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
c98301ac
Commit
c98301ac
authored
Oct 10, 2022
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
54a71f0c
Pipeline
#17123
passed with stages
in 24 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
expansions/script/c33331709.lua
expansions/script/c33331709.lua
+7
-4
No files found.
expansions/script/c33331709.lua
View file @
c98301ac
...
@@ -78,6 +78,9 @@ end
...
@@ -78,6 +78,9 @@ end
function
cm
.
gcheck
(
g
,
fg
)
function
cm
.
gcheck
(
g
,
fg
)
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
#
g
and
fg
:
GetClassCount
(
Card
.
GetRace
)
==#
g
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
#
g
and
fg
:
GetClassCount
(
Card
.
GetRace
)
==#
g
end
end
function
cm
.
tgfil
(
c
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
fg
=
eg
:
Filter
(
cm
.
ex
,
nil
,
1
-
tp
)
local
fg
=
eg
:
Filter
(
cm
.
ex
,
nil
,
1
-
tp
)
...
@@ -112,12 +115,12 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -112,12 +115,12 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
local
num
=
og
:
GetCount
()
local
num
=
og
:
GetCount
()
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
ft
=
Duel
.
GetMatchingGroupCount
(
1
-
tp
,
LOCATION_HAND
)
--
local ft=Duel.GetMatchingGroupCount(1-tp,LOCATION_HAND)
if
ft
>
num
then
--
if ft>num then
ft
=
num
ft
=
num
end
--
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToGrave
,
1
-
tp
,
LOCATION_HAND
,
0
,
ft
,
ft
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
cm
.
tgfil
,
1
-
tp
,
LOCATION_HAND
,
0
,
ft
,
ft
,
nil
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
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