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
032c8082
Commit
032c8082
authored
Mar 16, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
7b5cfda1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
5 deletions
+7
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12035024.lua
expansions/script/c12035024.lua
+2
-1
expansions/script/c30005075.lua
expansions/script/c30005075.lua
+1
-0
expansions/script/c30005085.lua
expansions/script/c30005085.lua
+2
-2
expansions/script/c30007110.lua
expansions/script/c30007110.lua
+1
-1
expansions/script/c33711008.lua
expansions/script/c33711008.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
032c8082
No preview for this file type
expansions/script/c12035024.lua
View file @
032c8082
...
@@ -20,7 +20,8 @@ function cm.initial_effect(c)
...
@@ -20,7 +20,8 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
11819474
)
e2
:
SetCountLimit
(
1
,
11819474
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
expansions/script/c30005075.lua
View file @
032c8082
...
@@ -75,6 +75,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -75,6 +75,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tg
:
GetCount
()
<=
0
or
not
e
:
GetHandler
():
IsAbleToExtra
()
then
return
end
if
tg
:
GetCount
()
<=
0
or
not
e
:
GetHandler
():
IsAbleToExtra
()
then
return
end
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c30005085.lua
View file @
032c8082
...
@@ -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
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
cm
.
matfilter
,
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
cm
.
matfilter
,
1
,
1
)
--cannot be link material
--cannot be link material
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
...
@@ -24,7 +24,7 @@ function cm.initial_effect(c)
end
end
--link summon
--link summon
function
cm
.
matfilter
(
c
)
function
cm
.
matfilter
(
c
)
return
c
:
IsLinkType
(
TYPE_PENDULUM
)
and
c
:
IsLevelAbove
(
5
)
return
c
:
IsLinkType
(
TYPE_PENDULUM
)
and
c
:
IsLevelAbove
(
7
)
end
end
function
cm
.
repfilter
(
c
,
tp
)
function
cm
.
repfilter
(
c
,
tp
)
return
c
:
GetOwner
()
==
tp
and
c
:
GetDestination
()
==
LOCATION_GRAVE
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
GetOriginalType
()
&
TYPE_PENDULUM
~=
0
return
c
:
GetOwner
()
==
tp
and
c
:
GetDestination
()
==
LOCATION_GRAVE
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
GetOriginalType
()
&
TYPE_PENDULUM
~=
0
...
...
expansions/script/c30007110.lua
View file @
032c8082
...
@@ -69,4 +69,4 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,4 +69,4 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
cm
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_ZOMBIE
)
return
not
c
:
IsRace
(
RACE_ZOMBIE
)
end
end
\ No newline at end of file
expansions/script/c33711008.lua
View file @
032c8082
...
@@ -16,7 +16,7 @@ function c33711008.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c33711008.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
33711008
,
2
))
e2
:
SetDescription
(
aux
.
Stringid
(
33711008
,
2
))
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
F
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCondition
(
c33711008
.
thcon
)
e2
:
SetCondition
(
c33711008
.
thcon
)
...
...
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