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
4d7f7a0f
Commit
4d7f7a0f
authored
Feb 04, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c34045.lua
parent
852768a8
Pipeline
#32960
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
script/c34045.lua
script/c34045.lua
+3
-10
No files found.
script/c34045.lua
View file @
4d7f7a0f
...
...
@@ -46,16 +46,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SendtoDeck
(
sg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
==
0
then
return
end
-- 分类统计
local
code_count
=
0
local
rock_count
=
0
for
tc
in
aux
.
Next
(
sg
)
do
if
tc
:
IsSetCard
(
0x830
)
then
code_count
=
code_count
+
1
end
if
tc
:
IsRace
(
RACE_ROCK
)
then
rock_count
=
rock_count
+
1
end
end
local
sg2
=
Duel
.
GetOperatedGroup
()
local
code_count
=
sg2
:
FilterCount
(
Card
.
IsSetCard
,
nil
,
0x830
)
local
rock_count
=
sg2
:
FilterCount
(
Card
.
IsRace
,
nil
,
RACE_ROCK
)
-- 抽卡效果
local
draw_count
=
math.floor
(
code_count
/
4
)
...
...
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