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
6d8e0ea3
Commit
6d8e0ea3
authored
Nov 18, 2022
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cdb
parent
ee16bef5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
5 deletions
+10
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c71400030.lua
expansions/script/c71400030.lua
+1
-1
expansions/script/c71400058.lua
expansions/script/c71400058.lua
+0
-1
expansions/script/c71402001.lua
expansions/script/c71402001.lua
+6
-1
expansions/script/c71402003.lua
expansions/script/c71402003.lua
+2
-2
expansions/strings.conf
expansions/strings.conf
+1
-0
No files found.
expansions/222DIY.cdb
View file @
6d8e0ea3
No preview for this file type
expansions/script/c71400030.lua
View file @
6d8e0ea3
...
@@ -20,7 +20,7 @@ function c71400030.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c71400030.initial_effect(c)
--banish
--banish
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_
TRIGGER_F
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetDescription
(
aux
.
Stringid
(
71400030
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
71400030
,
0
))
...
...
expansions/script/c71400058.lua
View file @
6d8e0ea3
...
@@ -9,7 +9,6 @@ function c71400058.initial_effect(c)
...
@@ -9,7 +9,6 @@ function c71400058.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetRange
(
LOCATION_FZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetDescription
(
aux
.
Stringid
(
71400058
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
71400058
,
0
))
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
c71400058
.
tg1
)
e1
:
SetTarget
(
c71400058
.
tg1
)
...
...
expansions/script/c71402001.lua
View file @
6d8e0ea3
...
@@ -22,7 +22,7 @@ function c71402001.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c71402001.initial_effect(c)
e2
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e2
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
c71402001
.
cost2
)
e2
:
SetCost
(
c71402001
.
cost2
)
e2
:
SetTarget
(
c71402001
.
tg
3
)
e2
:
SetTarget
(
c71402001
.
tg
2
)
e2
:
SetOperation
(
c71402001
.
op2
)
e2
:
SetOperation
(
c71402001
.
op2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--double tuner check
--double tuner check
...
@@ -81,6 +81,11 @@ function c71402001.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -81,6 +81,11 @@ function c71402001.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c71402001
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
Duel
.
GetFirstTarget
(),
1
,
tp
,
LOCATION_HAND
)
end
function
c71402001
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71402001
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
...
...
expansions/script/c71402003.lua
View file @
6d8e0ea3
...
@@ -42,13 +42,13 @@ function c71402003.initial_effect(c)
...
@@ -42,13 +42,13 @@ function c71402003.initial_effect(c)
end
end
end
end
function
c71402003
.
mfilter
(
c
)
function
c71402003
.
mfilter
(
c
)
return
c
:
GetFlagEffect
(
71402003
)
==
0
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
return
c
:
GetFlagEffect
(
71402003
)
>
0
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsLinkType
(
TYPE_EFFECT
)
end
end
function
c71402003
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71402003
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
if
not
rc
:
IsRelateToEffect
(
re
)
or
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
end
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
loc
==
LOCATION_MZONE
and
rc
:
GetFlagEffect
(
71402003
)
==
0
then
if
loc
&
LOCATION_ONFIELD
~=
0
and
rc
:
GetFlagEffect
(
71402003
)
==
0
then
rc
:
RegisterFlagEffect
(
71402003
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
rc
:
RegisterFlagEffect
(
71402003
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
end
end
...
...
expansions/strings.conf
View file @
6d8e0ea3
...
@@ -671,6 +671,7 @@
...
@@ -671,6 +671,7 @@
!
setname
0
xc81
陆莲花
!
setname
0
xc81
陆莲花
!
setname
0
xc82
艾莎
!
setname
0
xc82
艾莎
!
setname
0
xc85
山海异兽
!
setname
0
xc85
山海异兽
!
setname
0
xc86
元素精灵
!
setname
0
xc8e
刻神指令
!
setname
0
xc8e
刻神指令
!
setname
0
xc8f
时刻喷射龙
!
setname
0
xc8f
时刻喷射龙
!
counter
0
xc8f
王之指示物
!
counter
0
xc8f
王之指示物
...
...
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