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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
cba88c4a
Commit
cba88c4a
authored
Sep 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
2dedee68
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
8 deletions
+10
-8
expansions/script/c16138003.lua
expansions/script/c16138003.lua
+2
-2
expansions/script/c16138015.lua
expansions/script/c16138015.lua
+1
-1
expansions/script/c16372008.lua
expansions/script/c16372008.lua
+3
-3
expansions/script/c33503600.lua
expansions/script/c33503600.lua
+2
-0
expansions/script/c50218535.lua
expansions/script/c50218535.lua
+1
-1
expansions/script/c50218540.lua
expansions/script/c50218540.lua
+1
-1
No files found.
expansions/script/c16138003.lua
View file @
cba88c4a
...
@@ -163,14 +163,14 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -163,14 +163,14 @@ function s.tkop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetValue
(
s
.
efilter
)
e3
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e3
,
true
)
token
:
RegisterEffect
(
e3
,
true
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e4
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e4
,
true
)
token
:
RegisterEffect
(
e4
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
end
end
...
...
expansions/script/c16138015.lua
View file @
cba88c4a
...
@@ -53,7 +53,7 @@ function s.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -53,7 +53,7 @@ function s.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsPublic
()
end
end
end
function
s
.
th
(
c
)
function
s
.
th
(
c
)
return
c
:
IsFaceupEx
(
)
and
(
c
:
IsCode
(
16138001
)
or
aux
.
IsCodeListed
(
c
,
16138001
))
and
c
:
IsAbleToHand
()
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
()
)
and
(
c
:
IsCode
(
16138001
)
or
aux
.
IsCodeListed
(
c
,
16138001
))
and
c
:
IsAbleToHand
()
end
end
function
s
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
th
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
th
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c16372008.lua
View file @
cba88c4a
--玉桂·花信
--玉桂·花信
function
c16372008
.
initial_effect
(
c
)
function
c16372008
.
initial_effect
(
c
)
--
special summon/se
t
--
can not diseffec
t
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
@@ -60,7 +60,7 @@ function c16372008.con(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c16372008.con(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c16372008
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16372008
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleTo
Gra
veAsCost
()
if
chk
==
0
then
return
c
:
IsAbleTo
Remo
veAsCost
()
and
Duel
.
GetCustomActivityCount
(
16372008
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
and
Duel
.
GetCustomActivityCount
(
16372008
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -70,7 +70,7 @@ function c16372008.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -70,7 +70,7 @@ function c16372008.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c16372008
.
splimitoath
)
e1
:
SetTarget
(
c16372008
.
splimitoath
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
SendtoGrave
(
c
,
REASON_COST
)
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c16372008
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c16372008
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
16372008
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
16372008
)
==
0
end
...
...
expansions/script/c33503600.lua
View file @
cba88c4a
...
@@ -22,6 +22,7 @@ function Suyu_bh.changecode(tc)
...
@@ -22,6 +22,7 @@ function Suyu_bh.changecode(tc)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetValue
(
sidecode
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
...
@@ -37,6 +38,7 @@ function Suyu_bh.changecode2(tc)
...
@@ -37,6 +38,7 @@ function Suyu_bh.changecode2(tc)
local
e1
=
Effect
.
CreateEffect
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
sidecode
)
e1
:
SetValue
(
sidecode
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
expansions/script/c50218535.lua
View file @
cba88c4a
--伏龙王-瑟拉米
--伏龙王-瑟拉米
function
c50218535
.
initial_effect
(
c
)
function
c50218535
.
initial_effect
(
c
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
5
,
2
)
aux
.
AddXyzProcedure
(
c
,
nil
,
6
,
2
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--remove
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c50218540.lua
View file @
cba88c4a
--伏龙王-沃凯诺
--伏龙王-沃凯诺
function
c50218540
.
initial_effect
(
c
)
function
c50218540
.
initial_effect
(
c
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
5
,
2
)
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
2
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--atk
--atk
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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