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
60d4525b
Commit
60d4525b
authored
Jun 04, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
670933ca
Pipeline
#22101
passed with stages
in 35 minutes and 45 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c66915007.lua
expansions/script/c66915007.lua
+1
-1
expansions/script/c66915038.lua
expansions/script/c66915038.lua
+1
-0
expansions/script/c66915073.lua
expansions/script/c66915073.lua
+2
-2
No files found.
expansions/script/c66915007.lua
View file @
60d4525b
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
...
@@ -37,7 +37,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e33
)
c
:
RegisterEffect
(
e33
)
end
end
function
cm
.
spfilter
(
c
)
function
cm
.
spfilter
(
c
)
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsSetCard
(
0x374
)
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
or
c
:
IsType
(
TYPE_TRAP
))
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsSetCard
(
0x374
)
and
(
(
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
)
or
c
:
IsType
(
TYPE_TRAP
))
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
if
not
StarLight_from_K
then
return
false
end
if
not
StarLight_from_K
then
return
false
end
...
...
expansions/script/c66915038.lua
View file @
60d4525b
...
@@ -53,6 +53,7 @@ function c66915038.recop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,6 +53,7 @@ function c66915038.recop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
count
=
c
:
GetOverlayCount
()
local
count
=
c
:
GetOverlayCount
()
if
count
<=
20
then
if
count
<=
20
then
if
not
c
:
IsType
(
TYPE_XYZ
)
then
return
end
local
ct
=
10
local
ct
=
10
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsCanOverlay
),
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsCanOverlay
),
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
...
...
expansions/script/c66915073.lua
View file @
60d4525b
...
@@ -75,7 +75,7 @@ end
...
@@ -75,7 +75,7 @@ end
cm
.
toss_dice
=
true
cm
.
toss_dice
=
true
function
cm
.
operation
(
e
,
tp
)
function
cm
.
operation
(
e
,
tp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
or
e
:
GetHandler
():
IsFacedown
()
then
return
false
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
or
e
:
GetHandler
():
IsFacedown
()
then
return
false
end
local
dice_for_it_half
=
Duel
.
TossDice
(
tp
,
1
)
/
2
local
dice_for_it_half
=
math.ceil
(
Duel
.
TossDice
(
tp
,
1
)
/
2
)
Duel
.
Hint
(
HINT_MESSAGE
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_MESSAGE
,
tp
,
HINTMSG_XMATERIAL
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
xfilter2
),
tp
,
LOCATION_DECK
+
LOCATION_SZONE
,
0
,
dice_for_it_half
,
dice_for_it_half
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
xfilter2
),
tp
,
LOCATION_DECK
+
LOCATION_SZONE
,
0
,
dice_for_it_half
,
dice_for_it_half
,
nil
)
if
not
tg
or
tg
:
GetCount
()
<
1
then
return
end
if
not
tg
or
tg
:
GetCount
()
<
1
then
return
end
...
@@ -92,7 +92,7 @@ function cm.operation1(e,tp)
...
@@ -92,7 +92,7 @@ function cm.operation1(e,tp)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
xfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
xfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
if
not
tg
or
tg
:
GetCount
()
<
1
then
return
end
if
not
tg
or
tg
:
GetCount
()
<
1
then
return
end
Duel
.
Overlay
(
e
:
GetHandler
(),
tg
)
Duel
.
Overlay
(
e
:
GetHandler
(),
tg
)
local
dice_for_it_half
=
Duel
.
TossDice
(
tp
,
1
)
/
2
local
dice_for_it_half
=
math.ceil
(
Duel
.
TossDice
(
tp
,
1
)
/
2
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
ft
=
dice_for_it_half
local
ft
=
dice_for_it_half
if
ft
>
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
then
if
ft
>
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
then
...
...
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