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
7d41b634
You need to sign in or sign up before continuing.
Commit
7d41b634
authored
Feb 26, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rover
parent
3099146f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
expansions/script/c33310159.lua
expansions/script/c33310159.lua
+6
-7
expansions/script/c81010041.lua
expansions/script/c81010041.lua
+0
-3
No files found.
expansions/script/c33310159.lua
View file @
7d41b634
...
...
@@ -4,6 +4,7 @@ function c33310159.initial_effect(c)
aux
.
AddXyzProcedure
(
c
,
aux
.
TRUE
,
5
,
2
)
--linmo
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
...
...
@@ -23,16 +24,14 @@ function c33310159.initial_effect(c)
c33310159
[
c
]
=
e1
end
function
c33310159
.
ltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
0x55b
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
0
,
LOCATION_GRAVE
)
end
function
c33310159
.
lop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
0x55b
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
2
,
nil
)
if
g
then
Duel
.
HintSelection
(
g
)
Duel
.
Overlay
(
c
,
g
)
end
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
...
...
@@ -79,7 +78,7 @@ function c33310159.eftg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
e
:
GetLabel
()
==
0
then
return
false
end
e
:
SetLabel
(
0
)
return
og
:
IsExists
(
c33310159
.
filter
,
tp
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
og
:
IsExists
(
c33310159
.
filter
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
local
tc
=
og
:
FilterSelect
(
tp
,
c33310159
.
filter
,
1
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
):
GetFirst
()
Duel
.
SendtoGrave
(
tc
,
REASON_COST
)
...
...
expansions/script/c81010041.lua
View file @
7d41b634
...
...
@@ -87,9 +87,6 @@ function c81010041.initial_effect(c)
local
ec
=
ea
:
Clone
()
ec
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
c
:
RegisterEffect
(
ec
)
local
ed
=
ea
:
Clone
()
ed
:
SetCode
(
EFFECT_CANNOT_MSET
)
c
:
RegisterEffect
(
ed
)
end
function
c81010041
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToRemove
()
...
...
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