Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
43f28795
Commit
43f28795
authored
Aug 13, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c23246.lua 回档
parent
1aae5d8f
Pipeline
#29167
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c23246.lua
script/c23246.lua
+2
-2
No files found.
script/c23246.lua
View file @
43f28795
...
@@ -34,7 +34,7 @@ function c23246.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,7 +34,7 @@ function c23246.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
c
:
GetOverlayGroup
()
local
g
=
c
:
GetOverlayGroup
()
if
chk
==
0
then
return
g
:
IsExists
(
Card
.
IsAbleToDeckAsCost
,
1
,
nil
)
end
if
chk
==
0
then
return
g
:
IsExists
(
Card
.
IsAbleToDeckAsCost
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToDeckAsCost
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
sg
,
nil
,
1
,
REASON_COST
)
Duel
.
SendtoDeck
(
sg
,
nil
,
1
,
REASON_COST
)
end
end
function
c23246
.
tfilter2
(
c
)
function
c23246
.
tfilter2
(
c
)
...
@@ -59,7 +59,7 @@ end
...
@@ -59,7 +59,7 @@ end
function
c23246
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c23246
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
cg
=
e
:
GetHandler
():
GetOverlayGroup
()
local
cg
=
e
:
GetHandler
():
GetOverlayGroup
()
if
chk
==
0
then
return
cg
:
IsExists
(
c23246
.
cfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
cg
:
IsExists
(
c23246
.
cfilter
,
1
,
nil
)
end
local
g
=
cg
:
Select
(
tp
,
1
,
1
,
nil
)
local
g
=
cg
:
FilterSelect
(
tp
,
c23246
.
cfilter
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
e
:
SetLabelObject
(
g
:
GetFirst
())
e
:
SetLabelObject
(
g
:
GetFirst
())
end
end
...
...
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