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
73b02c9f
Commit
73b02c9f
authored
Jan 21, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0a1091a5
Pipeline
#32697
passed with stages
in 44 minutes and 3 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
23 deletions
+22
-23
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c11600230.lua
expansions/script/c11600230.lua
+5
-6
expansions/script/c11600231.lua
expansions/script/c11600231.lua
+8
-8
expansions/script/c11600232.lua
expansions/script/c11600232.lua
+3
-3
expansions/script/c11600233.lua
expansions/script/c11600233.lua
+2
-2
expansions/script/c18700544.lua
expansions/script/c18700544.lua
+1
-1
expansions/script/c23100061.lua
expansions/script/c23100061.lua
+1
-1
expansions/script/c23100063.lua
expansions/script/c23100063.lua
+1
-1
expansions/script/c23100085.lua
expansions/script/c23100085.lua
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
73b02c9f
No preview for this file type
expansions/script/c11600230.lua
View file @
73b02c9f
...
...
@@ -3,7 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
s
.
m
filter
,
1
,
1
)
aux
.
AddLinkProcedure
(
c
,
s
.
lk
filter
,
1
,
1
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
@@ -11,7 +11,6 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
thcon
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
...
...
@@ -22,13 +21,13 @@ function s.initial_effect(c)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
,
id
+
o
)
e5
:
SetCountLimit
(
1
,
id
)
e5
:
SetCost
(
s
.
immcost
)
e5
:
SetTarget
(
s
.
immtg
)
e5
:
SetOperation
(
s
.
immop
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
m
filter
(
c
)
function
s
.
lk
filter
(
c
)
return
c
:
IsCode
(
11600024
)
end
--
...
...
@@ -36,7 +35,7 @@ function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9541
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x9541
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
...
...
@@ -78,7 +77,7 @@ function s.immop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Recover
(
tp
,
tc
:
GetAttack
(),
REASON_EFFECT
)
local
e1_1
=
Effect
.
CreateEffect
(
c
)
local
e1_1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1_1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1_1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1_1
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c11600231.lua
View file @
73b02c9f
--枫丹 发条机关·算力增幅器
local
s
,
id
,
o
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e3
:
SetCountLimit
(
1
,
id
+
0
)
e3
:
SetCountLimit
(
1
,
id
+
1000
0
)
e3
:
SetCost
(
s
.
sumcost
)
e3
:
SetTarget
(
s
.
sumtg
)
e3
:
SetOperation
(
s
.
sumop
)
...
...
@@ -49,7 +49,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
cost
=
te
:
GetCost
()
if
cost
then
cost
(
te
,
tep
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
RaiseEvent
(
tc
,
4179255
,
te
,
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
local
c
=
e
:
GetHandler
()
--activate cost
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
@@ -68,17 +68,17 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
pos
=
0
if
c
:
IsSummonable
(
true
,
nil
,
1
)
then
pos
=
pos
+
POS_FACEUP_ATTACK
end
if
c
:
IsMSetable
(
true
,
nil
,
1
)
then
pos
=
pos
+
POS_FACEDOWN_DEFENSE
end
if
c
:
IsSummonable
(
true
,
nil
)
then
pos
=
pos
+
POS_FACEUP_ATTACK
end
if
c
:
IsMSetable
(
true
,
nil
)
then
pos
=
pos
+
POS_FACEDOWN_DEFENSE
end
if
pos
==
0
then
return
end
if
Duel
.
SelectPosition
(
tp
,
c
,
pos
)
==
POS_FACEUP_ATTACK
then
Duel
.
PayLPCost
(
tp
,
800
)
Duel
.
Summon
(
tp
,
c
,
true
,
nil
,
1
)
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
else
Duel
.
PayLPCost
(
tp
,
800
)
Duel
.
MSet
(
tp
,
c
,
true
,
nil
,
1
)
Duel
.
MSet
(
tp
,
c
,
true
,
nil
)
end
end
end
...
...
expansions/script/c11600232.lua
View file @
73b02c9f
--枫丹 攻坚特化型发条机关
local
s
,
id
,
o
=
GetID
()
local
s
,
id
=
GetID
()
function
s
.
initial_effect
(
c
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
10000
)
e2
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e2
)
--
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_RELEASE
)
e3
:
SetCountLimit
(
1
,
id
+
2
*
o
)
e3
:
SetCountLimit
(
1
,
id
+
2
0000
)
e3
:
SetTarget
(
s
.
target2
)
e3
:
SetOperation
(
s
.
activate2
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c11600233.lua
View file @
73b02c9f
...
...
@@ -17,7 +17,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
10000
)
e2
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e2
)
--
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_RELEASE
)
e3
:
SetCountLimit
(
1
,
id
+
2
*
o
)
e3
:
SetCountLimit
(
1
,
id
+
2
0000
)
e3
:
SetTarget
(
s
.
target2
)
e3
:
SetOperation
(
s
.
activate2
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c18700544.lua
View file @
73b02c9f
...
...
@@ -115,7 +115,7 @@ function cm.effcon(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
thfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
...
...
expansions/script/c23100061.lua
View file @
73b02c9f
...
...
@@ -13,7 +13,7 @@ function c23100061.initial_effect(c)
end
c23100061
.
named_with_ZhanShuRenXing
=
true
function
c23100061
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
23100
060
,
23100094
,
23100095
,
23100101
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
23100
102
,
23100094
,
23100095
,
23100101
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c23100061
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c23100063.lua
View file @
73b02c9f
...
...
@@ -76,7 +76,7 @@ function c23100063.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c23100063
.
xthfilter
(
c
)
return
c
:
IsCode
(
2
440000
5
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
2
310006
5
)
and
c
:
IsAbleToHand
()
end
function
c23100063
.
thtg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c23100085.lua
View file @
73b02c9f
...
...
@@ -24,7 +24,7 @@ function c23100085.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
23100085
,
1
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
c23100085
.
xxcost
)
e2
:
SetTarget
(
c23100085
.
xxtg
)
...
...
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