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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
a4071b50
Commit
a4071b50
authored
Jul 31, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
974bf711
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/script/c10909013.lua
expansions/script/c10909013.lua
+2
-2
expansions/script/c4210046.lua
expansions/script/c4210046.lua
+6
-6
No files found.
expansions/script/c10909013.lua
View file @
a4071b50
...
...
@@ -55,10 +55,10 @@ function c10909013.efop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetValue
(
1
)
e5
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
rc
:
RegisterEffect
(
e5
)
rc
:
RegisterEffect
(
e5
,
true
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
rc
:
RegisterEffect
(
e6
)
rc
:
RegisterEffect
(
e6
,
true
)
rc
:
RegisterFlagEffect
(
10909013
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
10909013
,
0
))
end
function
c10909013
.
filter
(
c
,
e
,
tp
)
...
...
expansions/script/c4210046.lua
View file @
a4071b50
...
...
@@ -60,10 +60,10 @@ end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa2f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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
,
...
)
(
type
(
__this
[
name
])
==
"function"
and
{
__this
[
name
]}
or
{
""
})[
1
](
__this
,
...
)
return
iFunc
(
c
,
__this
)
end
local
fc
=
function
(
name
,
...
)
this
=
(
type
(
c
[
name
])
==
"function"
and
{
c
[
name
]}
or
{
""
})[
1
](
c
,
...
)
return
iFunc
(
c
,
c
)
end
local
func
=
{
e
=
fe
,
c
=
fc
,
g
=
fc
,
v
=
function
()
return
this
end
,
Return
=
function
()
return
__this
:
Clone
()
end
}
return
func
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
local
fc
=
function
(
name
,
...
)
this
=
(
type
(
c
[
name
])
==
"function"
and
{
c
[
name
]}
or
{
""
})[
1
](
c
,
...
)
return
iFunc
(
c
,
c
)
end
local
func
=
{
e
=
fe
,
Clon
e
=
fe
,
c
=
fc
,
g
=
fc
,
v
=
function
()
return
this
end
,
Return
=
function
()
return
__this
:
Clone
()
end
}
return
func
end
\ No newline at end of file
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