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
xiaoye
ygopro-222DIY-cards
Commits
6f7b801b
Commit
6f7b801b
authored
Mar 01, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
47a1e3c9
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
31 additions
and
23 deletions
+31
-23
expansions/pics/1007002.jpg
expansions/pics/1007002.jpg
+0
-0
expansions/pics/16400601.jpg
expansions/pics/16400601.jpg
+0
-0
expansions/script/c10909007.lua
expansions/script/c10909007.lua
+1
-1
expansions/script/c13700043.lua
expansions/script/c13700043.lua
+1
-0
expansions/script/c13701024.lua
expansions/script/c13701024.lua
+2
-2
expansions/script/c16362052.lua
expansions/script/c16362052.lua
+2
-1
expansions/script/c24001258.lua
expansions/script/c24001258.lua
+1
-1
expansions/script/c33503600.lua
expansions/script/c33503600.lua
+9
-7
expansions/script/c33503615.lua
expansions/script/c33503615.lua
+7
-6
expansions/script/c81902093.lua
expansions/script/c81902093.lua
+8
-5
No files found.
expansions/pics/1007002.jpg
View replaced file @
47a1e3c9
View file @
6f7b801b
16 KB
|
W:
|
H:
140 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/pics/16400601.jpg
View replaced file @
47a1e3c9
View file @
6f7b801b
32.9 KB
|
W:
|
H:
90.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c10909007.lua
View file @
6f7b801b
...
...
@@ -58,7 +58,7 @@ function c10909007.dfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x23c
)
and
c
:
IsType
(
TYPE_FUSION
)
end
function
c10909007
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1090900
6
.
dfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c1090900
7
.
dfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c10909007
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
expansions/script/c13700043.lua
View file @
6f7b801b
...
...
@@ -142,6 +142,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
true
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Debug
.
Message
(
"轮转的世界,于此终结"
)
end
end
end
...
...
expansions/script/c13701024.lua
View file @
6f7b801b
...
...
@@ -45,7 +45,7 @@ function cm.burncost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
aux
.
Stringid
(
m
,
4
)},{
b2
,
aux
.
Stringid
(
m
,
5
)})
if
op
==
1
then
c
:
RemoveOverlayCard
(
c
,
tp
,
1
,
1
,
REASON_COST
)
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
elseif
op
==
2
then
Duel
.
PayLPCost
(
tp
,
1000
)
end
...
...
@@ -125,7 +125,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
c
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c16362052.lua
View file @
6f7b801b
...
...
@@ -114,6 +114,7 @@ function c16362052.op2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
c16362052
.
op2val
)
e1
:
SetLabelObject
(
ec
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
@@ -124,7 +125,7 @@ function c16362052.op2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c16362052
.
op2val
(
e
,
c
)
return
e
:
Get
Owner
()
==
c
return
e
:
Get
LabelObject
()
==
c
end
function
c16362052
.
lefilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
expansions/script/c24001258.lua
View file @
6f7b801b
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x3e8
)
and
c
:
IsAbleToHand
()
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsSetCard
(
0x3e8
)
and
c
:
IsAbleToHand
()
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
)
end
...
...
expansions/script/c33503600.lua
View file @
6f7b801b
...
...
@@ -18,32 +18,34 @@ end
function
Suyu_bh
.
changecode
(
tc
)
local
sidecode
=
tc
.
side_code
tc
:
SetEntityCode
(
sidecode
)
tc
:
ReplaceEffect
(
sidecode
,
RESET_EVENT
+
0x7e0000
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
,
true
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_ADD_SETCODE
)
e2
:
SetValue
(
0xa2c2
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
,
true
)
tc
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
tc
:
ReplaceEffect
(
sidecode
,
RESET_EVENT
+
0x7e0000
)
Duel
.
Readjust
(
)
end
function
Suyu_bh
.
changecode2
(
tc
)
local
sidecode
=
tc
.
code
tc
:
SetEntityCode
(
sidecode
)
tc
:
ReplaceEffect
(
sidecode
,
RESET_EVENT
+
0x7e0000
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetProperty
(
EFFECT_FLAG_
SINGLE_RANGE
+
EFFECT_FLAG_
CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
:
ResetFlagEffect
(
16100000
)
tc
:
ReplaceEffect
(
sidecode
,
RESET_EVENT
+
0x7e0000
)
Duel
.
Readjust
(
)
end
function
Suyu_bh
.
c_code
(
c
)
return
c
.
code
and
c
.
side_code
and
c
:
GetFlagEffect
(
16100000
)
==
0
...
...
expansions/script/c33503615.lua
View file @
6f7b801b
...
...
@@ -37,16 +37,17 @@ function cm.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
cm
.
spcfilter
(
c
,
tp
,
rp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousSetCard
(
0xa2c2
)
and
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
))
function
cm
.
spcfilter
(
c
,
rp
)
return
c
:
GetPreviousControler
()
==
c
:
GetControler
()
and
c
:
IsPreviousSetCard
(
0xa2c2
)
and
(
rp
==
1
-
c
:
GetControler
()
and
c
:
IsReason
(
REASON_EFFECT
))
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
eg
:
IsExists
(
cm
.
spcfilter
,
1
,
nil
,
tp
,
rp
)
if
g
then
Duel
.
RegisterFlagEffect
(
t
p
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
g
=
eg
:
Filter
(
cm
.
spcfilter
,
nil
,
rp
)
for
tc
in
aux
.
Next
(
g
)
do
Duel
.
RegisterFlagEffect
(
t
c
:
GetControler
()
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
f
=
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
)
...
...
expansions/script/c81902093.lua
View file @
6f7b801b
...
...
@@ -46,7 +46,7 @@ function cm.indecon(e,tp,eg,ep,ev,re,r,rp)
end
--negate
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsChainDisablable
(
ev
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
return
Duel
.
IsChainDisablable
(
ev
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
GetHandler
()
~=
e
:
GetHandler
()
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -106,20 +106,23 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_CHANGE_POSITION
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
token
:
RegisterEffect
(
e1
)
token
:
RegisterEffect
(
e1
,
true
)
--leave
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetLabel
(
1
-
tp
,
500
)
e3
:
SetOperation
(
cm
.
leave
)
token
:
RegisterEffect
(
e3
)
token
:
RegisterEffect
(
e3
,
true
)
Duel
.
SpecialSummonComplete
()
end
end
end
function
cm
.
leave
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Damage
(
tp
,
500
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_CARD
,
0
,
81900013
)
local
p
,
dam
=
e
:
GetLabel
()
Duel
.
Damage
(
p
,
dam
,
REASON_EFFECT
)
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