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
b40888b2
Commit
b40888b2
authored
Mar 17, 2024
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 19500019
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
dac2b926
Pipeline
#25918
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c19500019.lua
script/c19500019.lua
+2
-2
No files found.
script/c19500019.lua
View file @
b40888b2
...
...
@@ -49,9 +49,9 @@ function c19500019.discon(e,tp,eg,ep,ev,re,r,rp)
if
re
:
IsHasCategory
(
CATEGORY_NEGATE
)
and
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
):
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
false
end
local
ex1
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
local
res1
=
ex1
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c19500019
.
tfilter
,
1
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
local
res1
=
ex1
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c19500019
.
tfilter
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
local
ex2
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_REMOVE
)
local
res2
=
ex2
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c19500019
.
tfilter
,
1
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
local
res2
=
ex2
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c19500019
.
tfilter
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
return
res1
or
res2
end
function
c19500019
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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