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
d06fb18e
Commit
d06fb18e
authored
Mar 17, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
e5f695ce
Pipeline
#10826
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
expansions/script/c16104424.lua
expansions/script/c16104424.lua
+3
-2
expansions/script/c81028023.lua
expansions/script/c81028023.lua
+3
-0
expansions/script/c9310054.lua
expansions/script/c9310054.lua
+3
-3
No files found.
expansions/script/c16104424.lua
View file @
d06fb18e
...
...
@@ -56,7 +56,8 @@ function cm.splimit(e,se,sp,st)
return
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
end
function
cm
.
condition
(
e
,
tp
)
return
Duel
.
GetCurrentChain
()
==
0
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentChain
()
==
0
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thcheck
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
@@ -85,7 +86,7 @@ function cm.thop(e,tp)
end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
if
tc
:
IsSummonPlayer
(
tp
)
and
tc
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
tc
:
IsSetCard
(
0xccb
)
and
c
:
IsFaceup
()
then
if
tc
:
IsSummonPlayer
(
tp
)
and
tc
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
and
tc
:
IsSetCard
(
0xccb
)
and
t
c
:
IsFaceup
()
then
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
end
...
...
expansions/script/c81028023.lua
View file @
d06fb18e
...
...
@@ -44,6 +44,9 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
synfilter
(
c
)
return
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
end
function
cm
.
imcon
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
...
...
expansions/script/c9310054.lua
View file @
d06fb18e
...
...
@@ -144,9 +144,9 @@ function c9310054.tgop(e,tp,eg,ep,ev,re,r,rp)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
)
Duel
.
ConfirmCards
(
tp
,
hg
)
if
not
Duel
.
IsExistingMatchingCard
(
c9310054
.
thfilter2
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
ShuffleHand
(
1
-
tp
)
return
end
local
kg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleTo
Deck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOHAND
)
if
not
Duel
.
IsExistingMatchingCard
(
c9310054
.
thfilter2
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
then
Duel
.
ShuffleHand
(
1
-
tp
)
return
end
local
kg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleTo
Hand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
R
TOHAND
)
if
kg
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
kg
)
Duel
.
SendtoHand
(
kg
,
nil
,
REASON_EFFECT
)
...
...
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