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
87757019
Commit
87757019
authored
Apr 23, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
4f84ae90
Pipeline
#12014
passed with stages
in 26 minutes and 23 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
expansions/script/c16104407.lua
expansions/script/c16104407.lua
+1
-1
expansions/script/c16104425.lua
expansions/script/c16104425.lua
+1
-1
expansions/script/c33503606.lua
expansions/script/c33503606.lua
+5
-0
expansions/script/c4212334.lua
expansions/script/c4212334.lua
+3
-0
No files found.
expansions/script/c16104407.lua
View file @
87757019
...
...
@@ -45,7 +45,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--Effect 3
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetCategory
(
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_EXTRA
)
e4
:
SetCountLimit
(
1
,
m
)
...
...
expansions/script/c16104425.lua
View file @
87757019
...
...
@@ -44,7 +44,7 @@ function cm.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
check
(
c
)
return
c
:
IsAbleToExtra
()
and
c
:
IsSetCard
(
0xcc
d
)
return
c
:
IsAbleToExtra
()
and
c
:
IsSetCard
(
0xcc
b
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33503606.lua
View file @
87757019
...
...
@@ -31,6 +31,11 @@ function cm.initial_effect(c)
e4
:
SetTarget
(
cm
.
sptg
)
e4
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e4
)
--
if
not
rk
.
Side_Check
then
rk
.
Side_Check
=
true
local
ce
=
rk
.
side_do
(
c
)
end
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x92c2
,
0x3a8b
,
0x5a8b
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
expansions/script/c4212334.lua
View file @
87757019
...
...
@@ -91,6 +91,9 @@ function cm.drop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
cm
.
sgfilter
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
function
cm
.
sdcon
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
sdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
iFunc
(
c
,
x
)
local
__this
=
(
aux
.
GetValueType
(
c
)
==
"Card"
and
{(
x
==
nil
and
{
Effect
.
CreateEffect
(
c
)}
or
{
x
})[
1
]}
or
{
x
})[
1
]
local
fe
=
function
(
name
,
...
)
if
name
==
"RegisterEffect"
then
c
:
RegisterEffect
(
__this
:
Clone
())
else
(
type
(
__this
[
name
])
==
"function"
and
{
__this
[
name
]}
or
{
""
})[
1
](
__this
,
...
)
end
return
iFunc
(
c
,
__this
)
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