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
3c4f90ca
Commit
3c4f90ca
authored
Nov 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
f5e26b86
Pipeline
#6672
failed with stages
in 47 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
expansions/script/c85402430.lua
expansions/script/c85402430.lua
+6
-6
No files found.
expansions/script/c85402430.lua
View file @
3c4f90ca
...
...
@@ -86,9 +86,7 @@ function c85402430.xyzop(e,tp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
85402430
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c85402430
.
fl
(
c
)
return
(
c
:
IsSetCard
(
0x3e45
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeXyzMaterial
(
nil
)
-- and not c:IsExtraDeckMonster()
)
or
c
:
IsSetCard
(
0x6e45
)
return
(
c
:
IsSetCard
(
0x3e45
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeXyzMaterial
(
nil
)
and
not
c
:
IsExtraDeckMonster
())
or
c
:
IsSetCard
(
0x6e45
)
end
function
c85402430
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -291,7 +289,6 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
ng
=
Duel
.
GetOperatedGroup
()
ng
:
KeepAlive
()
e
:
SetLabelObject
(
ng
)
e
:
SetLabel
(
ng
:
GetFirst
():
GetCode
())
elseif
Duel
.
GetMatchingGroupCount
(
c85402430
.
fllll2
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
)
<=
0
then
g
:
Remove
(
c85402430
.
chk2
,
nil
)
local
mg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -305,8 +302,11 @@ function c85402430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
mg
,
REASON_COST
)
local
ng
=
Duel
.
GetOperatedGroup
()
ng
:
KeepAlive
()
e
:
SetLabelObject
(
ng
)
e
:
SetLabel
(
ng
:
GetFirst
():
GetCode
())
e
:
SetLabelObject
(
ng
)
local
nc
=
ng
:
GetFirst
()
if
nc
:
IsType
(
TYPE_MONSTER
)
then
e
:
SetLabel
(
nc
:
GetCode
())
end
end
end
function
c85402430
.
filter1
(
c
,
e
,
tp
)
...
...
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