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
Ai
ygopro-222DIY-cards
Commits
3c0b4f5a
Commit
3c0b4f5a
authored
Jun 04, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c10970014.lua
parent
2fbfb816
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
expansions/script/c10970014.lua
expansions/script/c10970014.lua
+7
-7
No files found.
expansions/script/c10970014.lua
View file @
3c0b4f5a
...
...
@@ -83,7 +83,7 @@ function c10970014.cfilter(c,tp)
return
c
:
IsControler
(
1
-
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
end
function
c10970014
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsChainSolving
()
return
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
not
Duel
.
IsChainSolving
()
end
function
c10970014
.
drop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
10970014
)
...
...
@@ -96,7 +96,7 @@ function c10970014.regop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
tp
,
10970014
,
RESET_CHAIN
,
0
,
1
)
end
function
c10970014
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
10970014
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetFlagEffect
(
tp
,
10970014
)
>
0
end
function
c10970014
.
drop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFlagEffect
(
tp
,
10970014
)
...
...
@@ -105,20 +105,20 @@ function c10970014.drop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
ct
,
REASON_EFFECT
)
end
function
c10970014
.
condition0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsChainSolving
()
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
not
Duel
.
IsChainSolving
()
end
function
c10970014
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
Duel
.
Is
ExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
Is
ChainSolving
()
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
eg
:
IsExists
(
c10970014
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
and
Duel
.
IsChainSolving
()
end
function
c10970014
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
10970014
)
>
0
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
10970008
)
and
Duel
.
GetFlagEffect
(
tp
,
10970014
)
>
0
end
function
c10970014
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1233
)
end
function
c10970014
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
1
-
tp
and
Duel
.
GetCurrentChain
()
>=
2
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c10970014
.
dsfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c10970014
.
dsfilter
(
c
)
return
c
:
IsType
(
TYPE_FIELD
)
...
...
@@ -137,4 +137,4 @@ function c10970014.repop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
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