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
031b7e94
Commit
031b7e94
authored
Aug 10, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
1104ec71
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
26 deletions
+27
-26
expansions/script/c12400015.lua
expansions/script/c12400015.lua
+1
-2
expansions/script/c16114258.lua
expansions/script/c16114258.lua
+1
-1
expansions/script/c16120001.lua
expansions/script/c16120001.lua
+1
-0
expansions/script/c16400039.lua
expansions/script/c16400039.lua
+1
-1
expansions/script/c47390371.lua
expansions/script/c47390371.lua
+22
-22
expansions/script/c5084003.lua
expansions/script/c5084003.lua
+1
-0
No files found.
expansions/script/c12400015.lua
View file @
031b7e94
...
...
@@ -39,8 +39,7 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfil
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
if
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
7
end
function
s
.
tfilter
(
c
,
tp
)
...
...
expansions/script/c16114258.lua
View file @
031b7e94
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--fusion
c
:
EnableReviveLimit
()
--material
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xccf
),
s
.
matfilter
,
1
,
1
,
true
)
aux
.
AddFusionProcFunFunRep
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0xccf
),
cm
.
matfilter
,
1
,
1
,
true
)
--public
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c16120001.lua
View file @
031b7e94
--超龙帝 尼克·overlord
Duel
.
LoadScript
(
"c16199990.lua"
)
local
m
,
cm
=
rk
.
set
(
16120001
,
nil
,
1
)
function
c16120001
.
initial_effect
(
c
)
--xyz summon
...
...
expansions/script/c16400039.lua
View file @
031b7e94
...
...
@@ -3,7 +3,7 @@ local m=16400039
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c16199990.lua"
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,{
1
,
m
,
1
},
"se,th,tg"
,
nil
,
nil
,
nil
,
rsop
.
target
(
cm
.
thfilter
,
"th"
,
LOCATION_DECK
),
cm
.
thop
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,{
1
,
m
,
1
},
"se,th,tg"
,
nil
,
nil
,
nil
,
rsop
.
target
(
cm
.
thfilter
,
"th"
,
LOCATION_DECK
),
cm
.
thop
)
local
e2
=
rsef
.
I
(
c
,
nil
,{
1
,
m
+
100
},
"th"
,
nil
,
LOCATION_SZONE
,
nil
,
rsop
.
target
(
cm
.
thfilter1
,
"th"
,
LOCATION_DECK
+
LOCATION_GRAVE
),
cm
.
thop1
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
...
...
expansions/script/c47390371.lua
View file @
031b7e94
...
...
@@ -17,16 +17,16 @@ function s.spsummon(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetHintTiming
(
0
,
TIMING_MAIN_END
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetCost
(
s
.
bfgcost
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetCost
(
aux
.
bfgcost
)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -65,31 +65,31 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
spsummon2
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_REMOVED
)
e1
:
SetCountLimit
(
1
,
id
-
1000
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetTarget
(
s
.
sptg2
)
e1
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
spfilter
(
c
)
return
aux
.
IsCodeListed
(
c
,
47390371
)
and
c
:
IsAbleToRemove
()
return
aux
.
IsCodeListed
(
c
,
47390371
)
and
c
:
IsAbleToRemove
()
end
function
s
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
s
.
spfilter
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tg
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
tg
,
#
tg
,
0
,
0
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tg
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
tg
,
#
tg
,
0
,
0
)
end
function
s
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
...
...
@@ -97,11 +97,11 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
s
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
@@ -112,7 +112,7 @@ function s.splimit(e,c,sump,sumtype,sumpos,targetp,se)
end
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
47390371
)
s
.
spsummon
(
c
)
s
.
spsummon2
(
c
)
s
.
spsummon
(
c
)
s
.
spsummon2
(
c
)
end
expansions/script/c5084003.lua
View file @
031b7e94
--尤娜·希斯 偷闲ing
local
m
=
5084003
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
cm
.
YunaHeath
=
true
function
cm
.
initial_effect
(
c
)
Tenka
.
YunaHeath
(
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