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
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
八宫一月
ygopro-THC-cards
Commits
5d48b99d
Commit
5d48b99d
authored
Jun 26, 2022
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74563610.lua
parent
25ee815e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
script/c74563610.lua
script/c74563610.lua
+2
-10
No files found.
script/c74563610.lua
View file @
5d48b99d
...
@@ -73,22 +73,14 @@ function c74563610.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -73,22 +73,14 @@ function c74563610.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
count
=
sg
:
GetCount
()
local
count
=
sg
:
GetCount
()
local
count1
=
0
local
count1
=
0
if
count
%
3
~=
0
then
count1
=
math.ceil
(
count
/
3
*
2
)
count1
=
count
//
3
*
2
+
1
else
count1
=
count
//
3
*
2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
count1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
count1
,
0
,
0
)
end
end
function
c74563610
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74563610
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
count
=
sg
:
GetCount
()
local
count
=
sg
:
GetCount
()
local
count1
=
0
local
count1
=
0
if
count
%
3
~=
0
then
count1
=
math.ceil
(
count
/
3
*
2
)
count1
=
count
//
3
*
2
+
1
else
count1
=
count
//
3
*
2
end
local
sg1
=
sg
:
RandomSelect
(
1
-
tp
,
count1
)
local
sg1
=
sg
:
RandomSelect
(
1
-
tp
,
count1
)
Duel
.
Destroy
(
sg1
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg1
,
REASON_EFFECT
)
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