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
c6ec1890
Commit
c6ec1890
authored
May 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
4e3fec51
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
16 deletions
+6
-16
expansions/script/c37900029.lua
expansions/script/c37900029.lua
+1
-1
expansions/script/c65010006.lua
expansions/script/c65010006.lua
+4
-14
expansions/script/c65010008.lua
expansions/script/c65010008.lua
+1
-1
No files found.
expansions/script/c37900029.lua
View file @
c6ec1890
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
...
@@ -8,7 +8,7 @@ function cm.initial_effect(c)
local
e3
=
rsef
.
STO
(
c
,
EVENT_TO_GRAVE
,
"sp"
,{
1
,
m
},
"sp"
,
"de"
,
cm
.
spcon
,
nil
,
rsop
.
target
(
rscf
.
spfilter2
(),
"sp"
),
cm
.
spop
)
local
e3
=
rsef
.
STO
(
c
,
EVENT_TO_GRAVE
,
"sp"
,{
1
,
m
},
"sp"
,
"de"
,
cm
.
spcon
,
nil
,
rsop
.
target
(
rscf
.
spfilter2
(),
"sp"
),
cm
.
spop
)
end
end
function
cm
.
spcon
(
e
)
function
cm
.
spcon
(
e
)
return
e
:
GetHandler
():
IsReason
(
REASON_
EFFECT
)
return
e
:
GetHandler
():
IsReason
(
REASON_
DESTROY
)
end
end
function
cm
.
spop
(
e
,
tp
)
function
cm
.
spop
(
e
,
tp
)
local
c
=
rscf
.
GetSelf
(
e
)
local
c
=
rscf
.
GetSelf
(
e
)
...
...
expansions/script/c65010006.lua
View file @
c6ec1890
...
@@ -10,21 +10,11 @@ function cm.initial_effect(c)
...
@@ -10,21 +10,11 @@ function cm.initial_effect(c)
local
f2
=
function
(
e
,
tp
)
local
f2
=
function
(
e
,
tp
)
return
not
Duel
.
IsExistingMatchingCard
(
f1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
f1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,{
1
,
m
,
1
},
"rm,dam,sp"
,
"tg"
,
f2
,
nil
,
cm
.
tg
,
cm
.
op
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,{
1
,
m
,
1
},
"rm,dam,sp,dd"
,
"tg"
,
f2
,
nil
,
rstg
.
target
(
Card
.
IsAbleToRemove
,
"rm"
,
0
,
LOCATION_MZONE
),
cm
.
op
)
rsef
.
SetChainLimit
(
e1
,
0
,
cm
.
limit
)
end
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
limit
(
e
,
rp
,
tp
,
tg
)
if
chk
==
0
or
chkc
then
return
return
not
tg
:
IsContains
(
e
:
GetHandler
())
rstg
.
TargetCheck
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
,{
Card
.
IsAbleToRemove
,
"rm"
,
0
,
LOCATION_MZONE
})
end
local
tc
=
rstg
.
TargetSelect
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,{
Card
.
IsAbleToRemove
,
"rm"
,
0
,
LOCATION_MZONE
}):
GetFirst
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetChainLimit
(
cm
.
limit
(
tc
))
end
function
cm
.
limit
(
c
)
return
function
(
e
,
lp
,
tp
)
return
e
:
GetHandler
()
~=
c
end
end
end
function
cm
.
op
(
e
,
tp
)
function
cm
.
op
(
e
,
tp
)
local
tc
=
rscf
.
GetTargetCard
()
local
tc
=
rscf
.
GetTargetCard
()
...
...
expansions/script/c65010008.lua
View file @
c6ec1890
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
65010001
)
aux
.
AddCodeList
(
c
,
65010001
)
local
e1
=
rsef
.
ACT
(
c
)
local
e1
=
rsef
.
ACT
(
c
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetCondition
(
cm
.
con
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
m
},
"eq,sp"
,
{
"tg"
,
EFFECT_FLAG_NO_TURN_RESET
}
,
LOCATION_SZONE
,
nil
,
nil
,
cm
.
tg
,
cm
.
op
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
m
},
"eq,sp"
,
"tg,ntr"
,
LOCATION_SZONE
,
nil
,
nil
,
cm
.
tg
,
cm
.
op
)
end
end
function
cm
.
con
(
e
,
tp
)
function
cm
.
con
(
e
,
tp
)
local
f
=
function
(
c
)
local
f
=
function
(
c
)
...
...
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