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
Soulgamer
ygopro-222DIY-cards
Commits
e5f695ce
Commit
e5f695ce
authored
Mar 16, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
0a0cfd04
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
5 deletions
+28
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16110001.lua
expansions/script/c16110001.lua
+26
-3
expansions/script/c16110050.lua
expansions/script/c16110050.lua
+1
-1
expansions/script/c19500018.lua
expansions/script/c19500018.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
e5f695ce
No preview for this file type
expansions/script/c16110001.lua
View file @
e5f695ce
...
@@ -16,7 +16,19 @@ function rkst.Tri(c)
...
@@ -16,7 +16,19 @@ function rkst.Tri(c)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_PROC
)
e2
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
return
e1
,
e2
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
5
))
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_SUMMON_PROC
)
e3
:
SetCondition
(
rkst
.
advcon2
)
e3
:
SetOperation
(
rkst
.
advop2
)
e3
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_SET_PROC
)
c
:
RegisterEffect
(
e4
)
return
e1
,
e2
,
e3
,
e4
end
end
function
rkst
.
otfilter
(
c
)
function
rkst
.
otfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
...
@@ -46,12 +58,10 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -46,12 +58,10 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
if
not
res
and
res1
then
if
not
res
and
res1
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
e1
:
Reset
()
return
return
end
end
if
res1
==
true
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
if
res1
==
true
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
e1
:
Reset
()
return
return
end
end
sinnte_check
=
true
sinnte_check
=
true
...
@@ -61,6 +71,19 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -61,6 +71,19 @@ function rkst.advop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
sinnte_check
=
false
sinnte_check
=
false
end
end
function
rkst
.
advcon2
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
res1
=
false
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
16110026
)
then
res1
=
Duel
.
IsPlayerCanDiscardDeckAsCost
(
tp
,
1
)
end
return
res1
end
function
rkst
.
advop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_COST
)
end
if
not
cm
then
return
end
if
not
cm
then
return
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--summon with 1 tribute
--summon with 1 tribute
...
...
expansions/script/c16110050.lua
View file @
e5f695ce
...
@@ -91,7 +91,7 @@ function cm.operation3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,7 +91,7 @@ function cm.operation3(e,tp,eg,ep,ev,re,r,rp)
end
end
--Effect 3
--Effect 3
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
not
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
cm
.
sumcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sumcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
...
...
expansions/script/c19500018.lua
View file @
e5f695ce
...
@@ -49,7 +49,7 @@ function c19500018.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function c19500018.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c19500018
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19500018
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
GetHandler
():
IsSetCard
(
0x3990
)
and
re
:
GetHandler
():
IsSetCard
(
0x3991
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
GetHandler
():
IsSetCard
(
0x3990
,
0x3991
)
end
end
function
c19500018
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19500018
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
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