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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
dd196eb7
Commit
dd196eb7
authored
Dec 27, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
ce3d3578
Pipeline
#8292
passed with stages
in 22 minutes and 24 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
11 deletions
+22
-11
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33200505.lua
expansions/script/c33200505.lua
+1
-0
expansions/script/c33200514.lua
expansions/script/c33200514.lua
+6
-4
expansions/script/c65020050.lua
expansions/script/c65020050.lua
+1
-1
expansions/script/c65020052.lua
expansions/script/c65020052.lua
+9
-1
expansions/script/c81901005.lua
expansions/script/c81901005.lua
+5
-5
No files found.
expansions/222DIY.cdb
View file @
dd196eb7
No preview for this file type
expansions/script/c33200505.lua
View file @
dd196eb7
...
...
@@ -38,5 +38,6 @@ function c33200505.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33200505
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
expansions/script/c33200514.lua
View file @
dd196eb7
...
...
@@ -41,6 +41,7 @@ function c33200514.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33200514
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
...
...
@@ -70,7 +71,7 @@ function c33200514.eqop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
c33200514
.
eqlimit
)
tc
:
RegisterEffect
(
e1
)
local
fid
=
e
:
GetHandler
():
GetFieldID
()
tc
:
RegisterFlagEffect
(
33200515
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
tc
:
RegisterFlagEffect
(
33200515
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
,
fid
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
...
...
@@ -88,9 +89,9 @@ function c33200514.eqop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCode
(
EFFECT_CHANGE_CODE
)
e3
:
SetValue
(
code
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
c
:
RegisterEffect
(
e3
)
local
cid2
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
,
1
)
local
cid2
=
c
:
CopyEffect
(
code
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_ADJUST
)
...
...
@@ -141,7 +142,7 @@ end
--ef
function
c33200514
.
rstfilter
(
c
)
return
c
:
GetFlagEffect
(
3320051
5
)
>=
1
return
c
:
GetFlagEffect
(
3320051
4
)
>=
1
end
function
c33200514
.
rstop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
eg
=
e
:
GetHandler
():
GetEquipGroup
()
...
...
@@ -155,6 +156,7 @@ function c33200514.rstop(e,tp,eg,ep,ev,re,r,rp)
end
local
e3
=
e
:
GetLabelObject
()
e3
:
Reset
()
e
:
Reset
()
end
--Destroy
...
...
expansions/script/c65020050.lua
View file @
dd196eb7
...
...
@@ -56,7 +56,7 @@ function c65020050.reacon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c65020050
.
reafil
,
1
,
nil
,
tp
)
end
function
c65020050
.
reatg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroup
(
tp
,
0
,
1
):
IsExists
(
c65020050
.
abletoremove
,
1
,
nil
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
0
,
0
)
end
function
c65020050
.
abletoremove
(
c
)
...
...
expansions/script/c65020052.lua
View file @
dd196eb7
...
...
@@ -24,7 +24,15 @@ function c65020052.tdfil(c)
return
c
:
IsFacedown
()
and
c
:
IsAbleToDeck
()
end
function
c65020052
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020052
.
tdfil
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c65020052
.
setfil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
num
=
0
local
tc
=
g
:
GetFirst
()
while
tc
do
local
lv
=
tc
:
GetLevel
()
num
=
num
+
lv
tc
=
g
:
GetNext
()
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65020052
.
tdfil
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
num
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_REMOVED
)
end
function
c65020052
.
setfil
(
c
)
...
...
expansions/script/c81901005.lua
View file @
dd196eb7
...
...
@@ -75,16 +75,16 @@ end
function
cm
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tt
=
Duel
.
GetFlagEffect
(
tp
,
m
)
local
tt1
=
(
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
+
1
)
*
4
local
tt1
=
(
Duel
.
GetFlagEffect
(
tp
,
m
+
100
)
+
1
)
*
7
if
tt
<
tt1
then
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
10
00
)
Duel
.
Recover
(
tp
,
10
00
,
REASON_EFFECT
)
Duel
.
SetTargetParam
(
7
00
)
Duel
.
Recover
(
tp
,
7
00
,
REASON_EFFECT
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
nil
,
0
,
1
)
elseif
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
10
00
)
Duel
.
Recover
(
tp
,
10
00
,
REASON_EFFECT
)
Duel
.
SetTargetParam
(
7
00
)
Duel
.
Recover
(
tp
,
7
00
,
REASON_EFFECT
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
...
...
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