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
c4bab603
Commit
c4bab603
authored
Feb 11, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
e39c4e89
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
9 deletions
+13
-9
expansions/script/c23003016.lua
expansions/script/c23003016.lua
+1
-1
expansions/script/c30553303.lua
expansions/script/c30553303.lua
+2
-1
expansions/script/c33200112.lua
expansions/script/c33200112.lua
+2
-2
expansions/script/c33200263.lua
expansions/script/c33200263.lua
+1
-0
expansions/script/c9310027.lua
expansions/script/c9310027.lua
+1
-4
expansions/script/c9310057.lua
expansions/script/c9310057.lua
+6
-1
No files found.
expansions/script/c23003016.lua
View file @
c4bab603
...
...
@@ -59,5 +59,5 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
3
))
end
function
cm
.
val3
(
e
,
re
)
return
not
re
:
GetOwner
()
=
=
e
:
GetOwner
()
return
re
:
GetOwner
()
~
=
e
:
GetOwner
()
end
\ No newline at end of file
expansions/script/c30553303.lua
View file @
c4bab603
...
...
@@ -33,9 +33,10 @@ function cm.tg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
aux
.
NegateAnyFilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
NegateAnyFilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
NegateAnyFilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
nil
)
c
:
RegisterFlagEffect
(
m
,
RESET_CHAIN
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
...
...
expansions/script/c33200112.lua
View file @
c4bab603
...
...
@@ -123,11 +123,11 @@ function c33200112.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c33200112
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
or
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
0
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
1
)
local
dg
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
dgc
=
dg
:
GetFirst
()
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
dgc
:
IsSetCard
(
0x324
)
then
if
dgc
:
IsSetCard
(
0x324
)
then
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c33200263.lua
View file @
c4bab603
...
...
@@ -3,6 +3,7 @@ function c33200263.initial_effect(c)
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
33200263
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
expansions/script/c9310027.lua
View file @
c4bab603
...
...
@@ -60,11 +60,8 @@ function c9310027.initial_effect(c)
e6
:
SetOperation
(
c9310027
.
scop
)
c
:
RegisterEffect
(
e6
)
end
function
c9310027
.
cfilter
(
c
)
return
not
c
:
IsType
(
TYPE_TUNER
)
end
function
c9310027
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
c9310027
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
TYPE_TUNER
)
end
function
c9310027
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
(
c
:
IsType
(
TYPE_TUNER
)
or
(
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
GetOriginalType
(
TYPE_TUNER
)))
...
...
expansions/script/c9310057.lua
View file @
c4bab603
...
...
@@ -56,8 +56,13 @@ function c9310057.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
if
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
then
if
e
:
GetLabel
()
==
1
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
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