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
cb79fb35
Commit
cb79fb35
authored
Aug 06, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
35947432
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
21 deletions
+14
-21
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c16114233.lua
expansions/script/c16114233.lua
+1
-1
expansions/script/c16114237.lua
expansions/script/c16114237.lua
+1
-1
expansions/script/c16120011.lua
expansions/script/c16120011.lua
+1
-1
expansions/script/c16400109.lua
expansions/script/c16400109.lua
+1
-3
expansions/script/c30900660.lua
expansions/script/c30900660.lua
+4
-9
expansions/script/c30901007.lua
expansions/script/c30901007.lua
+2
-2
expansions/script/c75646546.lua
expansions/script/c75646546.lua
+4
-4
No files found.
expansions/FiNALE.cdb
View file @
cb79fb35
No preview for this file type
expansions/script/c16114233.lua
View file @
cb79fb35
...
...
@@ -90,7 +90,7 @@ function cm.copyop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
local
code
=
tc
:
GetOriginalCodeRule
()
if
not
tc
:
IsType
(
TYPE_TRAPMONSTER
)
then
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
1
)
cid
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
,
1
)
end
end
end
...
...
expansions/script/c16114237.lua
View file @
cb79fb35
...
...
@@ -65,7 +65,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
0
,
1
)
e2
:
SetLabel
(
at
t
)
e2
:
SetLabel
(
at
k
)
e2
:
SetValue
(
cm
.
aclimit
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
...
...
expansions/script/c16120011.lua
View file @
cb79fb35
...
...
@@ -27,7 +27,7 @@ function cm.initial_effect(c)
e2
:
SetCondition
(
cm
.
spcon
)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
--
c:RegisterEffect(e2)
end
function
cm
.
lcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLinkAttribute
)
==
g
:
GetCount
()
and
g
:
GetClassCount
(
Card
.
GetLinkRace
)
==
1
...
...
expansions/script/c16400109.lua
View file @
cb79fb35
...
...
@@ -7,7 +7,6 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
...
...
@@ -17,7 +16,6 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetTarget
(
s
.
tdtg
)
e2
:
SetOperation
(
s
.
tdop
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -31,7 +29,7 @@ function s.filter1(c,e,tp)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
end
function
s
.
filter2
(
c
,
e
,
tp
,
mc
)
return
c
:
IsSetCard
(
0xce4
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
c
:
IsSetCard
(
0xce4
)
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c30900660.lua
View file @
cb79fb35
...
...
@@ -2,7 +2,7 @@
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_DISABLE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -18,11 +18,7 @@ function s.filter1(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TRAP
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
filter1
,
tp
,
0
,
LOCATION_SZONE
,
nil
)
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
ct
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
ct
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
ct
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
s
.
chainlm
)
end
...
...
@@ -46,8 +42,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Draw
(
p
,
ct
,
REASON_EFFECT
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
s
.
filter1
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Draw
(
tp
,
ct
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c30901007.lua
View file @
cb79fb35
...
...
@@ -3,7 +3,7 @@ local m=30901007
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_PLANT
),
2
,
cm
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_PLANT
),
2
,
99
,
cm
.
lcheck
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -35,7 +35,7 @@ function cm.atkfilter(c)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCode
(
30901007
)
end
function
cm
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
atkfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
*
5
00
return
Duel
.
GetMatchingGroupCount
(
cm
.
atkfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
*
10
00
end
function
cm
.
lcheck
(
g
,
lc
)
return
g
:
GetClassCount
(
Card
.
GetLinkCode
)
==
1
...
...
expansions/script/c75646546.lua
View file @
cb79fb35
...
...
@@ -63,11 +63,11 @@ end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsOriginalCodeRule
(
75646327
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
+
1
)
>
0
function
cm
.
con
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
()
,
m
+
1
)
>
0
end
function
cm
.
econ
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
m
+
1
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
function
cm
.
econ
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
m
+
1
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
tc
in
aux
.
Next
(
eg
)
do
...
...
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