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
e3ace390
Commit
e3ace390
authored
Sep 05, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
12f05c42
Pipeline
#681
passed with stages
in 41 minutes and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
15 deletions
+3
-15
expansions/script/c65050221.lua
expansions/script/c65050221.lua
+1
-1
expansions/script/c65050231.lua
expansions/script/c65050231.lua
+2
-14
No files found.
expansions/script/c65050221.lua
View file @
e3ace390
...
...
@@ -51,7 +51,7 @@ function c65050221.tgfil(c,e,tp)
return
c
:
IsSetCard
(
0x5da9
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c65050221
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65050221
.
tgfil
,
tp
,
LOCATION_
GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetMZoneCount
(
tp
)
>
1
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65050221
.
tgfil
,
tp
,
LOCATION_
HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetMZoneCount
(
tp
)
>
1
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
...
...
expansions/script/c65050231.lua
View file @
e3ace390
...
...
@@ -10,20 +10,8 @@ function c65050231.initial_effect(c)
e1
:
SetTarget
(
c65050231
.
target
)
e1
:
SetOperation
(
c65050231
.
activate
)
c
:
RegisterEffect
(
e1
)
--RaiseEvent
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_LEVEL_UP
)
e3
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetOperation
(
c65050231
.
raop
)
c
:
RegisterEffect
(
e3
)
end
function
c65050231
.
raop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_CUSTOM
+
65050216
,
e
,
0
,
tp
,
0
,
0
)
end
end
function
c65050231
.
costfil
(
c
)
function
c65050231
.
costfil
(
c
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
c65050231
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
c
:
GetCode
())
and
c
:
IsSetCard
(
0x5da9
)
and
c
:
IsAbleToHand
()
end
function
c65050231
.
ccostfil
(
c
)
...
...
@@ -39,7 +27,7 @@ function c65050231.lvfil(c)
return
c
:
IsSetCard
(
0x5da9
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
3
)
end
function
c65050231
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c65050231
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c65050231
.
costfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
local
b01
=
Duel
.
IsExistingMatchingCard
(
c65050231
.
ccostfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c65050231
.
lvfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b02
=
Duel
.
IsExistingMatchingCard
(
c65050231
.
clvfil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
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