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
d154c3dc
Commit
d154c3dc
authored
Jan 09, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c22024.lua
parent
6a6cba0d
Pipeline
#19267
passed with stage
in 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
script/c22024.lua
script/c22024.lua
+11
-11
No files found.
script/c22024.lua
View file @
d154c3dc
...
...
@@ -85,21 +85,21 @@ function c22024.operation(e,tp,eg,ep,ev,re,r,rp)
local
seq
=
c
:
GetSequence
()
local
g
=
Group
.
CreateGroup
()
if
(
c
:
IsLocation
(
LOCATION_SZONE
)
or
c
:
IsLocation
(
LOCATION_MZONE
))
and
seq
<
5
then
g
=
c
:
GetColumnGroup
()
g
:
Remove
(
c22024
.
remfilter
,
nil
,
tp
)
g
=
c
:
GetColumnGroup
()
g
:
Remove
(
c22024
.
remfilter
,
nil
,
tp
)
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
seq
>=
5
then
g
=
c
:
GetColumnGroup
()
g
:
Remove
(
c22024
.
remfilter2
,
nil
,
tp
)
g
=
c
:
GetColumnGroup
()
g
:
Remove
(
c22024
.
remfilter2
,
nil
,
tp
)
end
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
seqing
=
c
:
GetColumnGroup
():
Filter
(
c22024
.
seqfilter
,
nil
,
tp
)
if
seqing
:
GetCount
()
>
0
then
Duel
.
Destroy
(
seqing
,
REASON_EFFECT
)
else
Duel
.
Damage
(
1
-
tp
,
1200
,
REASON_EFFECT
)
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
seqing
=
c
:
GetColumnGroup
():
Filter
(
c22024
.
seqfilter
,
nil
,
tp
)
if
seqing
:
GetCount
()
>
0
then
Duel
.
Destroy
(
seqing
,
REASON_EFFECT
)
else
Duel
.
Damage
(
1
-
tp
,
1200
,
REASON_EFFECT
)
end
end
end
function
c22024
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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