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
5bc54f2c
Commit
5bc54f2c
authored
Apr 17, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
74ef1f29
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
expansions/script/c18018110.lua
expansions/script/c18018110.lua
+6
-5
expansions/script/c75011050.lua
expansions/script/c75011050.lua
+1
-1
expansions/script/c82000529.lua
expansions/script/c82000529.lua
+2
-2
No files found.
expansions/script/c18018110.lua
View file @
5bc54f2c
...
@@ -100,7 +100,7 @@ function s.cfilter(c)
...
@@ -100,7 +100,7 @@ function s.cfilter(c)
return
c
:
IsType
(
TYPE_TUNER
)
and
not
c
:
IsPublic
()
return
c
:
IsType
(
TYPE_TUNER
)
and
not
c
:
IsPublic
()
end
end
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
ct
,
nil
)
...
@@ -116,11 +116,12 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -116,11 +116,12 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
e
:
GetLabel
()
local
ct
=
e
:
GetLabel
()
if
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
<
ct
then
return
end
if
Duel
.
GetFieldGroup
Count
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
<
ct
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
):
Select
(
tp
,
ct
,
ct
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
#
g
>
0
then
local
sg
=
g
:
Select
(
tp
,
ct
,
ct
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
#
sg
>
0
then
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
...
...
expansions/script/c75011050.lua
View file @
5bc54f2c
...
@@ -18,7 +18,7 @@ function c75011050.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c75011050.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
c75011050
.
thcon1
)
e2
:
SetCondition
(
c75011050
.
thcon1
)
e2
:
SetCost
(
aux
.
bfgcost
)
--
e2:SetCost(aux.bfgcost)
e2
:
SetTarget
(
c75011050
.
thtg
)
e2
:
SetTarget
(
c75011050
.
thtg
)
e2
:
SetOperation
(
c75011050
.
thop
)
e2
:
SetOperation
(
c75011050
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c82000529.lua
View file @
5bc54f2c
...
@@ -3,7 +3,7 @@ function c82000529.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c82000529.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
2
,
82000529
*
2
)
e1
:
SetTarget
(
c82000529
.
settg
)
e1
:
SetTarget
(
c82000529
.
settg
)
e1
:
SetOperation
(
c82000529
.
setop
)
e1
:
SetOperation
(
c82000529
.
setop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -16,7 +16,7 @@ function c82000529.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c82000529.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetCountLimit
(
2
,
82000529
)
e4
:
SetCountLimit
(
1
,
82000529
*
3
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetRange
(
LOCATION_SZONE
)
e4
:
SetCondition
(
c82000529
.
sdescon
)
e4
:
SetCondition
(
c82000529
.
sdescon
)
e4
:
SetOperation
(
c82000529
.
sdesop
)
e4
:
SetOperation
(
c82000529
.
sdesop
)
...
...
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