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
b1057ced
Commit
b1057ced
authored
Jun 19, 2023
by
songtongtong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
52fdb07f
Pipeline
#22301
passed with stages
in 23 minutes and 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
expansions/script/c16400094.lua
expansions/script/c16400094.lua
+5
-4
expansions/script/c16400095.lua
expansions/script/c16400095.lua
+1
-1
expansions/script/c16400096.lua
expansions/script/c16400096.lua
+2
-2
No files found.
expansions/script/c16400094.lua
View file @
b1057ced
...
...
@@ -53,13 +53,13 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matfilter1
(
c
,
syncard
)
return
(
c
:
IsTuner
(
syncard
)
or
c
:
IsSynchroType
(
TYPE_SYNCHRO
))
and
c
:
IsSetCard
(
3298
)
return
(
c
:
IsTuner
(
syncard
)
or
c
:
IsSynchroType
(
TYPE_SYNCHRO
))
and
c
:
IsSetCard
(
0xce2
)
end
function
cm
.
efilter
(
e
,
re
)
return
re
:
GetHandler
():
IsSetCard
(
3298
)
return
not
re
:
GetHandler
():
IsSetCard
(
0xce2
)
end
function
cm
.
check
(
c
)
return
c
:
IsSetCard
(
3298
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0xce2
)
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
end
function
cm
.
value
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
check
,
0
,
LOCATION_REMOVED
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_REMOVED
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
*
500
...
...
@@ -72,6 +72,7 @@ function cm.thtg1(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
function
cm
.
thop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -84,7 +85,7 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
3298
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xce2
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c16400095.lua
View file @
b1057ced
...
...
@@ -23,7 +23,7 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
check
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
3298
)
and
not
c
:
IsCode
(
m
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0xce2
)
and
not
c
:
IsCode
(
m
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
check
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
expansions/script/c16400096.lua
View file @
b1057ced
...
...
@@ -36,7 +36,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
3298
)
and
c
:
IsSummonPlayer
(
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xce2
)
and
c
:
IsSummonPlayer
(
tp
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
cfilter
,
1
,
nil
,
tp
)
...
...
@@ -58,7 +58,7 @@ function cm.sccon(e,tp,eg,ep,ev,re,r,rp)
return
ph
==
PHASE_MAIN1
or
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_MAIN2
end
function
cm
.
mfilter
(
c
)
return
c
:
IsSetCard
(
3298
)
return
c
:
IsSetCard
(
0xce2
)
end
function
cm
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
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