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
Ai
ygopro-222DIY-cards
Commits
ca52c334
Commit
ca52c334
authored
Apr 17, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
4d6ac5e8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12094012.lua
expansions/script/c12094012.lua
+1
-1
expansions/script/c30600003.lua
expansions/script/c30600003.lua
+1
-1
expansions/script/c30600006.lua
expansions/script/c30600006.lua
+6
-6
expansions/script/c30600010.lua
expansions/script/c30600010.lua
+2
-2
expansions/script/c64800042.lua
expansions/script/c64800042.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
ca52c334
No preview for this file type
expansions/script/c12094012.lua
View file @
ca52c334
...
@@ -54,7 +54,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,7 +54,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x6fbc
)
and
c
:
IsType
(
TYPE_
MONSTER
+
TYPE_
TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x6fbc
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c30600003.lua
View file @
ca52c334
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFunRep
(
c
,
30600001
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_
BEAST
+
RACE_BEASTWARRIOR
),
1
,
63
,
true
,
true
)
aux
.
AddFusionProcCodeFunRep
(
c
,
30600001
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_
AQUA
+
RACE_FISH
),
1
,
63
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
cm
.
cfilter
,
LOCATION_MZONE
,
LOCATION_MZONE
,
Duel
.
SendtoGrave
,
REASON_COST
)
aux
.
AddContactFusionProcedure
(
c
,
cm
.
cfilter
,
LOCATION_MZONE
,
LOCATION_MZONE
,
Duel
.
SendtoGrave
,
REASON_COST
)
--spsummon condition
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c30600006.lua
View file @
ca52c334
--匠心·汉堡煎蛋盖饭
--匠心·汉堡煎蛋盖饭
local
m
=
777785
local
m
=
30600006
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFunRep
(
c
,
777777
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_DINOSAUR
+
RACE_SEASERPENT
),
1
,
63
,
true
,
true
)
aux
.
AddFusionProcCodeFunRep
(
c
,
30600001
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_DINOSAUR
+
RACE_SEASERPENT
),
1
,
63
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
cm
.
cfilter
,
LOCATION_MZONE
,
LOCATION_MZONE
,
Duel
.
SendtoGrave
,
REASON_COST
)
aux
.
AddContactFusionProcedure
(
c
,
cm
.
cfilter
,
LOCATION_MZONE
,
LOCATION_MZONE
,
Duel
.
SendtoGrave
,
REASON_COST
)
--spsummon condition
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
@@ -22,12 +22,12 @@ function cm.initial_effect(c)
...
@@ -22,12 +22,12 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--leave
--leave
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
777785
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_RECOVER
)
e2
:
SetCategory
(
CATEGORY_RECOVER
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetCode
(
EVENT_LEAVE_FIELD
)
e2
:
SetCountLimit
(
1
,
777785
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetTarget
(
cm
.
rectg
)
e2
:
SetTarget
(
cm
.
rectg
)
e2
:
SetOperation
(
cm
.
recop
)
e2
:
SetOperation
(
cm
.
recop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--tohand
--tohand
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
777785
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
...
@@ -65,7 +65,7 @@ function cm.recop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function cm.recop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
1
-
p
,
d
,
REASON_EFFECT
)
Duel
.
Recover
(
1
-
p
,
d
,
REASON_EFFECT
)
end
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsCode
(
777777
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
30600001
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
thfilter
(
chkc
)
end
...
...
expansions/script/c30600010.lua
View file @
ca52c334
--匠心·板烧牛柳盖饭
--匠心·板烧牛柳盖饭
local
m
=
m
local
m
=
30600010
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--fusion material
--fusion material
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
recop
)
e2
:
SetOperation
(
cm
.
recop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
30600011
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
expansions/script/c64800042.lua
View file @
ca52c334
...
@@ -45,7 +45,7 @@ function cm.filter(c,tp,rp)
...
@@ -45,7 +45,7 @@ function cm.filter(c,tp,rp)
end
end
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
then
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
then
Duel
.
SetChainLimit
(
function
(
e
,
ep
,
tp
)
Duel
.
SetChainLimit
(
function
(
e
,
ep
,
tp
)
return
tp
==
ep
return
tp
==
ep
end
)
end
end
)
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