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
b8fdd20e
Commit
b8fdd20e
authored
May 14, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
93eb814d
Pipeline
#12718
passed with stages
in 32 minutes and 55 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
11 deletions
+19
-11
expansions/script/c12300720.lua
expansions/script/c12300720.lua
+1
-1
expansions/script/c33400437.lua
expansions/script/c33400437.lua
+1
-1
expansions/script/c33400636.lua
expansions/script/c33400636.lua
+9
-3
expansions/script/c33400707.lua
expansions/script/c33400707.lua
+2
-1
expansions/script/c33400711.lua
expansions/script/c33400711.lua
+3
-2
expansions/script/c81044012.lua
expansions/script/c81044012.lua
+1
-1
expansions/script/c81044018.lua
expansions/script/c81044018.lua
+2
-2
No files found.
expansions/script/c12300720.lua
View file @
b8fdd20e
...
...
@@ -35,7 +35,7 @@ end
function
c12300720
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c12300720
.
filth
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
12300720
)
==
0
local
b2
=
Duel
.
IsExistingMatchingCard
(
c12300720
.
filcg
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c12300720
.
filsp
,
tp
,
LOCATION_HAND
+
LOCATION_
DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
c12300720
.
chkcp
(
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c12300720
.
filcg
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c12300720
.
filsp
,
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
c12300720
.
chkcp
(
tp
)
if
chk
==
0
then
return
b1
or
b2
end
local
sel
=
1
if
b1
and
b2
then
...
...
expansions/script/c33400437.lua
View file @
b8fdd20e
...
...
@@ -72,7 +72,7 @@ function cm.cfilter2(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x6343
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_EQUIP
)
end
function
cm
.
atkval2
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
cfilter2
,
e
:
GetHandlerPlayer
()
,
LOCATION_ONFIELD
,
0
,
nil
)
end
function
cm
.
con3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33400636.lua
View file @
b8fdd20e
...
...
@@ -44,6 +44,7 @@ function cm.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCountLimit
(
2
,
m
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
cm
.
con
)
e4
:
SetCost
(
cm
.
discost
)
e4
:
SetTarget
(
cm
.
target
)
e4
:
SetOperation
(
cm
.
activate
)
...
...
@@ -55,6 +56,7 @@ function cm.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCountLimit
(
2
,
m
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCondition
(
cm
.
con
)
e5
:
SetCost
(
cm
.
discost
)
e5
:
SetTarget
(
cm
.
target
)
e5
:
SetOperation
(
cm
.
activate
)
...
...
@@ -66,6 +68,7 @@ function cm.initial_effect(c)
e6
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e6
:
SetCountLimit
(
2
,
m
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCondition
(
cm
.
con
)
e6
:
SetCost
(
cm
.
discost
)
e6
:
SetTarget
(
cm
.
target
)
e6
:
SetOperation
(
cm
.
activate
)
...
...
@@ -117,6 +120,9 @@ function cm.aclimit(e,re,tp)
return
re
:
GetActivateLocation
()
==
LOCATION_REMOVED
end
function
cm
.
tdcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
end
function
cm
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
0
if
e
:
GetHandler
():
GetFlagEffect
(
33401301
)
>
0
then
ft
=
1
end
...
...
@@ -125,11 +131,11 @@ function cm.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
cm
.
filter
(
c
)
return
c
:
IsAbleToRemove
()
function
cm
.
filter
(
c
,
mc
)
return
c
:
IsAbleToRemove
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
e
:
GetHandler
()
)
end
local
g
=
eg
:
Filter
(
cm
.
filter
,
nil
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
expansions/script/c33400707.lua
View file @
b8fdd20e
...
...
@@ -171,7 +171,8 @@ function cm.activate2(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
setfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
return
c
:
IsFaceup
()
and
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanTurnSet
())
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
())
end
function
cm
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
expansions/script/c33400711.lua
View file @
b8fdd20e
...
...
@@ -38,10 +38,11 @@ end
function
cm
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
Duel
.
SSet
(
tp
,
tc
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
ckfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
if
tc
:
IsType
(
TYPE_TRAP
)
then
if
tc
:
IsType
(
TYPE_TRAP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
expansions/script/c81044012.lua
View file @
b8fdd20e
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--tograve
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetCategory
(
CATEGORY_HANDES
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
...
...
expansions/script/c81044018.lua
View file @
b8fdd20e
...
...
@@ -37,8 +37,8 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--tograve
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e4
:
SetCategory
(
CATEGORY_TO
DECK
+
CATEGORY_SEARCH
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetCategory
(
CATEGORY_TO
HAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCode
(
EVENT_PAY_LPCOST
)
...
...
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